Commit Graph

11 Commits

Author SHA1 Message Date
Oscar Kilhed
bc7eacfcbd Dashboard Scenes: Add model to library panel inspect json (#83536)
* Add model to library panel inspect json

* Add missing information from library panel when inspecting its JSON

* minor refactor

* refactor inspect library panel model to show the model that was fetched from the api

* nit: improve comment

* fix library panel import path

---------

Co-authored-by: Alexandra Vargas <alexa1866@gmail.com>
2024-03-05 10:51:22 +01:00
kay delaney
519f965c8e Scenes/LibraryPanels: Fixes issue where repeat panel would disappear if dashboard didn't have variable used by lib panel (#83780) 2024-03-04 15:10:04 +02:00
kay delaney
10a55560df Scenes: Add support for repeated library panels (#83579) 2024-03-01 15:25:15 +02:00
Oscar Kilhed
19743a7fef Dashboard scenes: Change library panel to set dashboard key to panel instead of library panel. (#83420)
* change library panel so that the dashboard key is attached to the panel instead of the library panel

* make sure the save model gets the id from the panel and not the library panel

* do not reload everything when the library panel is already loaded

* Fix merge issue

* Clean up
2024-02-27 17:56:29 +01:00
Oscar Kilhed
b56f6ed0dc Dashboard scenes: Fixes inspect library panels (#82879)
* working except for links

* Make sure the links are present on the library panels

* add tests, add empty links before panel is loaded, refactor legacy representation

* Update

---------

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2024-02-19 15:25:45 +01:00
kay delaney
3a63311286 Scenes/LibraryPanels: Fix issue where library panels plugin type was not set correctly (#82917) 2024-02-16 16:46:10 +00:00
Dominik Prokop
bfde6f2c8a Dashboard interactions reporting refactor, DashboardScene interactions handling (#79078)
* Refactor dashboard interactions tracking

* Local scenes tmp

* Use latest scenes

* Review refactor

* Fix enterprise tests

* Reporting parity for panel description
2023-12-06 07:24:15 -08:00
Dominik Prokop
5015b5b2b0 DashboardScene: Add inspect submenu to panel menu (#78679)
* DashboardScene: Add inspect submenu to panel menu

* Test fix
2023-11-27 08:23:16 -08:00
Torkel Ödegaard
de8ab7efe7 DashboardScene: Support for dashboard PanelContext actions via state hook (#76192)
* DashboardScene: Support for dashboard PanelContext actions via state hook

* Update

* Progress

* Update

* Update

* update
2023-10-13 11:42:42 +02:00
Dominik Prokop
2cfbe087fc DashboardScene serialization: Handle variables and library panels (#76117)
* DashboardScene serialization: Library panels

* DashboardScene serialization: Variables

* TS fix

* Review

* betetrer -u
2023-10-06 05:32:29 -07:00
Torkel Ödegaard
eab6250142 DashboardScene: Move to new folder structure, some refactorings and progress on inspect (#73810)
* Progress refactoring

* Update

* Update

* Update

* DashboardScene: Folder struct propsal

* Rename loading to persistance

* Moving and renaming
2023-08-25 14:11:47 +02:00