grafana/public/app/features/dashboard/components/SaveDashboard
Torkel Ödegaard e6f2b10a36
ChangeTracker: Unified unsaved changes handling with library panels (#34989)
* UnsavedChanges: Move Change tracker to use Prompt

* Fix a lot of race conditions and stacking of changes in onConfirm and onDismiss

* Listen to save event

* add missing delay argument

* migrated the change tracker unit tests

* Updated snapshot

* Removed unessary action

* removed updateSourcePanel

* Fix hiding save library panel modal prompt when clicking discard

* change saved libray panel title and buttons so they are a bit different as Prompt and when used from save button

* Fixed issue with saving new dashboard

* Now all scenarios work

* increase wait time

* Fixed one more race condition
2021-06-02 12:24:19 +02:00
..
forms SaveDashboard: Fixes issue with saving dashboard form and enter key (#33602) 2021-05-03 07:41:10 +02:00
SaveDashboardAsModal.tsx Emotion: Upgrades emotion from 10 to 11 and updates all import paths (#32541) 2021-04-01 14:15:23 +02:00
SaveDashboardButton.tsx
SaveDashboardErrorProxy.tsx Modals: Make text left aligned in save & delete modals (#33605) 2021-05-02 19:54:44 +02:00
SaveDashboardModal.tsx Emotion: Upgrades emotion from 10 to 11 and updates all import paths (#32541) 2021-04-01 14:15:23 +02:00
SaveDashboardModalProxy.tsx
SaveProvisionedDashboard.tsx
UnsavedChangesModal.tsx ChangeTracker: Unified unsaved changes handling with library panels (#34989) 2021-06-02 12:24:19 +02:00
types.ts
useDashboardSave.tsx ChangeTracker: Unified unsaved changes handling with library panels (#34989) 2021-06-02 12:24:19 +02:00