grafana/public/app/features/library-panels
Victor Marin 4a4e3a4063
DashboardScenes: Use behavior for library panels (#90886)
* wip - refactor using libPanelBehavior

* wip

* wip

* wip

* migrate test

* wip

* nearly all tests done, except one commented which breaks

* migrate last test

* revert defaults.ini

* fix tests

* tests + fixes

* fix

* fix bug -- adding lib panel through CTA in empty dashboard didn't enter edit mode

* show unsaved lib panel changes modal

* fix height problems

* fix

* LibPanelBehavior: Fixes view panel and edit panel full page reload issues (alt fix)  (#92850)

* LibPanelsBehavior: Fixes view panel

* Sort of working except panel edit

* Got panel edit working

* LibraryPanelsBehavior: Simpler fix

* Cleanup

* Remove more stuff

* Update tests

* fix tests

* Work around timing issues

* remove log

* fix repeated panels not showing due to gridItem height not being set + translations

* remove log that affects tests

---------

Co-authored-by: Victor Marin <victor.marin@grafana.com>

* fix translations

* Fix save issue

---------

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2024-09-05 18:08:25 +03:00
..
components Share Panel: Library panels feature (#91419) 2024-08-20 09:56:10 -04:00
state DashboardScenes: Use behavior for library panels (#90886) 2024-09-05 18:08:25 +03:00
utils usePanelSave: Fix success/error notifications (#74454) 2023-09-08 16:57:07 +03:00
guard.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
LibraryPanelsPage.tsx React: Use new JSX transform (#88802) 2024-06-25 12:43:47 +01:00
styles.ts Chore: Replace deprecated usage of shape.borderRadius() (#72672) 2023-08-01 14:46:07 +01:00
types.ts Schema: Add schema for library panels (#62169) 2023-01-30 04:14:12 +00:00
utils.ts Chore: improve typings (#87306) 2024-05-03 17:21:37 +01:00