grafana/public/app/core
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
..
actions Routing NG: Replace Angular routing with react-router (#31463) 2021-03-10 18:03:36 +01:00
components Explore: Allow users to save Explore queries to dashboards (#47083) 2022-04-12 13:26:07 +02:00
copy AppNotifications: Migrate usage of deprecated appEvents.emit method to redux actions (#45607) 2022-02-23 11:31:15 +00:00
history Chore: Remove several 'as' type assertions (#45913) 2022-03-02 14:02:09 +00:00
hooks Dependencies: Jest 27 (#42681) 2021-12-03 17:09:25 +00:00
navigation Text Panel: Fixes mailto links not working (#47025) 2022-03-31 10:00:33 +01:00
reducers Search: use search service (#46714) 2022-03-18 01:36:32 +01:00
selectors Routing NG: Replace Angular routing with react-router (#31463) 2021-03-10 18:03:36 +01:00
services Explore: Allow users to save Explore queries to dashboards (#47083) 2022-04-12 13:26:07 +02:00
specs Chore: Replace enzyme with RTL in OrgSwitcher.test.tsx (#45439) 2022-02-16 00:48:13 -08:00
utils Query History: Load history when QueryHistoryContainer is opened (#46457) 2022-04-06 13:49:25 +02:00
app_events.ts EventBus: Introduces new event bus with emitter backward compatible interface (#27564) 2020-11-03 13:08:54 +01:00
config.ts VisualizationSelection: Real previews of suitable visualisation and options based on current data (#40527) 2021-10-25 13:55:06 +02:00
constants.ts PanelEditor: Present actionable suggestions when panel cannot visualize current data (#42083) 2021-11-25 09:41:03 +01:00
core.ts Angular: Option to disable angular support and isolate angular dependencies (#45421) 2022-02-16 17:14:33 +01:00
localisation.tsx I18N: Add Lingui core translation framework. (#41827) 2021-12-15 17:00:37 +01:00
lodash_extended.ts Performance: Standardize lodash imports to use destructured members (#33040) 2021-04-21 09:38:00 +02:00
logs_model.test.ts Loki: use the same dataframe-format for both live and normal queries (#47153) 2022-04-08 09:57:06 +02:00
logs_model.ts Loki: use the same dataframe-format for both live and normal queries (#47153) 2022-04-08 09:57:06 +02:00
mod_defs.d.ts prettier: change to single quoting 2017-12-20 12:33:33 +01:00
profiler.ts Angular: Isolate angular more (#41440) 2021-11-10 11:05:36 +01:00
store.ts Chore: Remove several 'as' type assertions (#45913) 2022-03-02 14:02:09 +00:00
table_model.ts Old Table: Table is not rendering when col property is undefined (#44129) 2022-01-25 14:22:57 +01:00
time_series2.ts Performance: Standardize lodash imports to use destructured members (#33040) 2021-04-21 09:38:00 +02:00