DashboardScene: First step to loading the current dashboard model and rendering it as a scene (#57012)

* Initial dashboard loading start

* loading dashboard works and shows something

* loading dashboard works and shows something

* Minor tweaks

* Add starred dashboards to scene list page

* Use new SceneGridLayout

* Allow switching directly from dashboard to a scene

* Migrate basic dashboard rows to scene based dashboard

* Review nit

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
This commit is contained in:
Torkel Ödegaard
2022-11-17 16:15:51 +01:00
committed by GitHub
parent c093a471e6
commit 0c4aa6d0d8
7 changed files with 302 additions and 8 deletions

View File

@@ -32,7 +32,7 @@ export class DashboardLoaderSrv {
};
}
loadDashboard(type: UrlQueryValue, slug: any, uid: any) {
loadDashboard(type: UrlQueryValue, slug: any, uid: any): Promise<DashboardDTO> {
let promise;
if (type === 'script') {