mirror of
https://github.com/grafana/grafana.git
synced 2026-09-05 04:40:13 -05:00
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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user