Dashboard: New EmbeddedDashboard runtime component (#78916)

* Embedding dashboards exploratino

* Update

* Update

* Added e2e test

* Update

* initial state, and onStateChange, only explore panel menu action and other fixes and tests

* fix e2e spec

* Fix url

* fixing test
This commit is contained in:
Torkel Ödegaard
2024-01-25 07:32:07 +01:00
committed by GitHub
parent 9da3db1ddf
commit e08700c1b5
19 changed files with 1770 additions and 320 deletions
+3
View File
@@ -33,6 +33,7 @@ import {
setRunRequest,
setPluginImportUtils,
setPluginExtensionGetter,
setEmbeddedDashboard,
setAppEvents,
type GetPluginExtensions,
} from '@grafana/runtime';
@@ -72,6 +73,7 @@ import { startMeasure, stopMeasure } from './core/utils/metrics';
import { initDevFeatures } from './dev';
import { initAuthConfig } from './features/auth-config';
import { getTimeSrv } from './features/dashboard/services/TimeSrv';
import { EmbeddedDashboardLazy } from './features/dashboard-scene/embedding/EmbeddedDashboardLazy';
import { initGrafanaLive } from './features/live';
import { PanelDataErrorView } from './features/panel/components/PanelDataErrorView';
import { PanelRenderer } from './features/panel/components/PanelRenderer';
@@ -134,6 +136,7 @@ export class GrafanaApp {
setPluginPage(PluginPage);
setPanelDataErrorView(PanelDataErrorView);
setLocationSrv(locationService);
setEmbeddedDashboard(EmbeddedDashboardLazy);
setTimeZoneResolver(() => config.bootData.user.timezone);
initGrafanaLive();