Giordano Ricci
|
09f48173fe
|
Explore: allow users to save Explore state to a new panel in a new dashboard (#45148)
* Add Button & Form
* Save to new dashboard
* minor adjustements
* move modal to a separate component
* handle dashboard name related errors
* pick visualization based on query results
* lift state
* fix types
* Add Open & Close tests
* Add submit test
* add navigation tests
* add tests for API errors
* remove console log
* create wrapper component for AddToDashboardButton
* remove unused mapped prop
* add wrapper test
* rename isActive to isVisible
* invert control over save & redirect logic
* remove leftover commented code
* cleanup setup parameters
* reorganize code & improve tests
* Remove option to add to existing dashboard
* UI tweaks
* disable button if no queries
* Fix tests
* better accessible tests
* handle submission errors
* improve addToDashboard types
* use dashboardSrv' saveDashboard
* remove leftover test helper
* fix typo
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
* Apply suggestions from code review
Co-authored-by: Kristina <kristina.durivage@grafana.com>
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
Co-authored-by: Kristina <kristina.durivage@grafana.com>
|
2022-03-03 08:54:06 +00:00 |
|