grafana/public/app/core/services
Torkel Ödegaard 7181efd1cf
Explore: Allow users to save Explore queries to dashboards (#47083)
* Select: Expose AsyncSelectProps interface

* DashboardPicker: Add a generic DashboardPicker component

* Dashboard Service: improve types

* Explore: allow saving explore state in a new panel in an existing dashboard

* Handle saving provisioned dashboards error

* Improve test coverage

* simplify test setup

* Strip base path from url when redirecting to a dashboard

* Keep existing variables when saving to an existing dashboard

* group assertions in test

* SearchCard: handle undefined in meta.updated

* Change required error message

* Add to dashboard alternative

* Add to existing is working

* Add to dashboard form

* remove default add-panel when creating a dashboard from explore

* types cleanup

* remove unneeded BE change

* simplify selector

* Add explore2Dashboard feature toggle

* add tests

* Small refactor & add tests

* small DashboardPicker improvements

* use partial from lodash

* Better error handling

* improve tests & disable button when there are no queries

* rename addPanelToDashboard function

* remove localStorage item if opening tab fails

* UI touchups & tracking

* Fix tests & remove close reporting

* remove echologger debug

* fix adding a panel to an existing dashboard

* Enable explore2Dashboard by default and add docs

* Ensure each panel in dashboards has a valid ID

* force CI restart

Co-authored-by: Elfo404 <me@giordanoricci.com>
2022-04-12 13:26:07 +02:00
..
__mocks__ Update dependency prettier to v2.5.1 (#43473) 2022-02-02 12:02:32 +00:00
echo Analytics: Identify users to Rudderstack by externalUserId where available (#47325) 2022-04-05 17:41:22 +02:00
backend_srv.ts Explore: Allow users to save Explore queries to dashboards (#47083) 2022-04-12 13:26:07 +02:00
context_srv.ts Analytics: Identify users to Rudderstack by externalUserId where available (#47325) 2022-04-05 17:41:22 +02:00
FetchQueue.test.ts Prettier: Upgrade to 2 (#30387) 2021-01-20 07:59:48 +01:00
FetchQueue.ts Prettier: Upgrade to 2 (#30387) 2021-01-20 07:59:48 +01:00
FetchQueueWorker.test.ts Update dependency prettier to v2.5.1 (#43473) 2022-02-02 12:02:32 +00:00
FetchQueueWorker.ts Prettier: Upgrade to 2 (#30387) 2021-01-20 07:59:48 +01:00
impression_srv.ts Performance: Standardize lodash imports to use destructured members (#33040) 2021-04-21 09:38:00 +02:00
keybindingSrv.ts DashboardSave: use a feature flag for drawer behavior (#46972) 2022-03-30 10:07:41 -07:00
ModalManager.ts Angular: Isolate angular modal support from react modal support (#41788) 2021-11-17 13:12:18 +01:00
PreferencesService.ts Themes: Switch theme without reload using global shortcut (#32180) 2021-03-22 08:48:53 +01:00
ResponseQueue.test.ts Update dependency prettier to v2.5.1 (#43473) 2022-02-02 12:02:32 +00:00
ResponseQueue.ts Prettier: Upgrade to 2 (#30387) 2021-01-20 07:59:48 +01:00
search_srv.ts AngularJS: Move angular stuff into app/angular (#41415) 2021-11-08 18:41:04 +01:00
toggleTheme.ts AppEvents: export appEvents in @grafana/runtime and support copy panel (#40715) 2021-10-20 13:01:21 -07:00
withFocusedPanelId.ts Update dependency prettier to v2.5.1 (#43473) 2022-02-02 12:02:32 +00:00