grafana/public/app/types
Kristina 4b3d63dcdc
Correlations: Add an editor in Explore (#73315)
* Start adding correlations editor mode

* Add selector for merge conflict resolution

* Enable saving

* Build out new corelation helper component

* flesh out save with label/description, change color

* Have breadcrumb exit correlation editor mode

* Add extension property to show/hide, use it for correlations

* Bring in feature toggle

* Remove unnecessary param

* Cleanup

* Parse logs json

* Work on correlation edit mode bar

* Tinker with a top element for the editor mode

* Handle various explore state changes with correlations editor mode

* WIP - add unsaved changes modal

* Have correlation bar always rendered, sometimes hidden

* Add various prompt modals

* Clear correlations data on mode bar unmount, only use not left pane changes to count as dirty

* Move special logic to explore

* Remove all shouldShow logic from plugin extensions

* remove grafana data changes

* WIP - clean up correlations state

* Interpolate data before sending to onclick

* Override outline button coloring to account for dark background

* More cleanup, more color tweaking

* Prettier formatting, change state to refer to editor

* Fix tests

* More state change tweaks

* ensure correlation save ability, change correlation editor state vars

* fix import

* Remove independent selector for editorMode, work close pane into editor exit flow

* Add change datasource post action

* Clean up based on PR feedback, handle closing left panel with helper better

* Remove breadcrumb additions, add section and better ID to cmd palette action

* Interpolate query results if it is ran with a helper with vars

* Pass the datasource query along with the correlate link to ensure the datasource unique ID requirement passes

* Use different onmount function to capture state of panes at time of close instead of time of mount

* Fix node graph’s datalink not working

* Actually commit the fix to saving

* Fix saving correlations with mixed datasource to use the first query correlation UID

* Add tracking

* Use query datasources in mixed scenario, move exit tracking to click handler

* Add correlations to a place where both can be used in the correlations editor

* Be more selective on when we await the datasource get

* Fix CSS to use objects

* Update betterer

* Add test around new decorator functionality

* Add tests for decorate with correlations

* Some reorganization and a few tweaks based on feedback

* Move dirty state change to state function and out of component

* Change the verbiage around a little

* Various suggestions from Gio

Co-authored-by: Giordano Ricci <me@giordanoricci.com>

* More small Gio-related tweaks

* Tie helper data to datasource - clear it out when the datasource changes

* Missed another Gio tweak

* Fix linter error

* Only clear helper data on left pane changes

* Add height offset for correlation editor bar so it doesn’t scroll off page

---------

Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
Co-authored-by: Giordano Ricci <me@giordanoricci.com>
2023-10-03 09:28:29 -05:00
..
jquery Minor progress on fixing no-implicit any issues 2019-03-19 18:24:47 +01:00
accessControl.ts Alerting: Export contact points to check access control action instead legacy role (#71990) 2023-08-08 19:29:34 +03:00
acl.ts Auth: Add empty role definition (#64694) 2023-07-06 15:40:06 +02:00
alerting.ts Alerting: Custom contact point for OnCall in Grafana AM (#72021) 2023-09-06 12:33:35 +02:00
apiKeys.ts Service accounts: UI migration results (#68789) 2023-06-08 10:09:30 +02:00
appEvent.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
appNotifications.ts Frontend: Add notification persistence behind feature flag (#47871) 2022-04-20 10:42:32 +01:00
config.ts ClientTokenRotation: Don't rotate session cookie for authproxy (#72496) 2023-07-28 15:32:58 +02:00
dashboard.ts PublicDashboards: Variables refactor (#73476) 2023-08-25 13:56:02 -05:00
datasources.ts Datasource Onboarding: Prevent flickering of onboarding page after first load (#63360) 2023-02-24 11:48:30 +00:00
events.ts Explore: Do not update URL when time range changes to absolute (#72436) 2023-07-31 14:11:44 +02:00
explore.ts Correlations: Add an editor in Explore (#73315) 2023-10-03 09:28:29 -05:00
folders.ts Browse Dashboards: Split new browse UI from nested folders backend (#74435) 2023-09-07 11:41:00 +01:00
index.ts SAML: Move type definitions to auth config to change ownership to authnz team (#72463) 2023-08-01 09:45:41 +01:00
ldap.ts Chore: Fix more strict typescript errors (#35514) 2021-06-14 15:13:48 +01:00
location.ts FieldOverride: Support data links via field overrides (#23590) 2020-04-20 07:37:38 +02:00
organization.ts SelectOrgPage: migrate API function calls to Redux (#43133) 2021-12-16 09:57:18 +01:00
plugins.ts Chore: improve some types (#62363) 2023-02-01 10:50:34 +00:00
query.ts QueryGroup: Cleanup leftovers from hackathons (#67048) 2023-04-21 15:32:47 +02:00
serviceaccount.ts Service accounts: Remove Add API keys buttons and remove one state of migrating for API keys tab (#63411) 2023-03-01 15:34:53 +00:00
settings.ts SAML: Configuration UI (#64054) 2023-04-13 16:07:43 +02:00
store.ts Explore: Refactor & centralize URL/state sync (#66286) 2023-06-06 15:31:39 +01:00
suggestions.ts Dashboard: Add suggestion box for Flame Graph (#70763) 2023-07-05 14:25:00 +02:00
supportBundles.ts Support Bundles: Improve creating bundle UX (#61611) 2023-01-17 17:50:14 +01:00
svg.d.ts Transforms: Adds beta notice and updates transform descriptions (#24158) 2020-05-04 15:05:31 +02:00
teams.ts Admin: Use backend sort (#75228) 2023-09-29 12:48:36 +03:00
templates.ts make variable type more slim 2019-01-07 11:26:06 +01:00
unified-alerting-dto.test.ts Alerting: Add a "Reason" to Alert Instances to show underlying cause of state. (#49259) 2022-05-23 16:49:49 +08:00
unified-alerting-dto.ts Alerting: Add support for keep_firing_for field from external rulers (#75163) 2023-09-21 16:02:53 -04:00
unified-alerting.ts Alerting: Optimize rule details page data fetching (#72977) 2023-08-08 20:36:38 +02:00
user.ts Admin: Use backend sort (#75228) 2023-09-29 12:48:36 +03:00
window.d.ts TimeSrv: Add Scenes compatibility patch (#75728) 2023-09-29 05:56:31 -07:00