grafana/public/app/features/dashboard/utils
Ivan Babrou 8e090f9951
Prometheus: Add a keyboard shortcut to toggle all exemplars (#64479)
* Add a keyboard shortcut to toggle all exemplars

Sometimes it's hard to see the quantile line behind all the exemplars.

This commit adds a `d x` keyboard shortcut to toggle exemplar visibility
on all prometheus queries. Unlike with legends, the logic is simpler
and it does a pure toggle as opposed to "majority toggle" as with legends.

Since exemplars might not be loaded, this also requires refreshing the data.
For the same reason, toggling a single panel is not supported, as it will
make the panel data out of sync with the rest of the dashboard.

* Use "p x" to navigate to panel explore rather than just "x"

It's more consistent with other panel level shortcuts.

It also doesn't conflict with the global "x" to toggle exemplars that way.
2023-07-25 07:45:18 -05:00
..
dashboard.ts Dashboards: POC split between visualizations and widgets (#70850) 2023-07-12 10:09:22 -03:00
getPanelChromeProps.tsx Dashboard: Fix panel description event triggering every time panel is rendered (#68791) 2023-05-22 15:58:42 +02:00
getPanelMenu.test.ts Prometheus: Add a keyboard shortcut to toggle all exemplars (#64479) 2023-07-25 07:45:18 -05:00
getPanelMenu.ts Prometheus: Add a keyboard shortcut to toggle all exemplars (#64479) 2023-07-25 07:45:18 -05:00
getRefreshFromUrl.test.ts TimeRange: Fixes updating time range from url and browser history (#48657) 2022-05-04 11:36:15 +02:00
getRefreshFromUrl.ts Dashboards: Support an auto refresh interval that is based on the query range (#70479) 2023-06-26 19:46:23 +03:00
loadSnapshotData.ts ArrayDataFrame: Convert to a simple utility function rather than dynamically loaded values (#67427) 2023-04-27 12:38:19 -07:00
panel.test.ts grafana/data: Move getPanelOptionsWithDefaults from core (#60813) 2022-12-29 05:48:22 -08:00
panel.ts Dashboard: Empty/No Panels dashboard with a new design (#65161) 2023-03-28 12:42:23 +03:00
panelMerge.test.ts Schema: Add schema for role+access policies (#68047) 2023-05-24 10:31:57 -07:00
panelMerge.ts Chore: some type fixes (#69860) 2023-06-20 17:13:49 +01:00
screen.ts PublicDashboard: Add RTK Query with loading and error state. Add MSW dependency for testing. (#55518) 2022-09-22 09:35:04 -03:00
timeRange.ts PublicDashboards: UI improvements (#55130) 2022-09-14 14:35:46 -03:00
tracking.test.ts Chore: Add tracking for dashboard load (#70057) 2023-06-23 14:14:06 +02:00
tracking.ts Chore: Add tracking for dashboard load (#70057) 2023-06-23 14:14:06 +02:00