grafana/public/app
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
..
angular NestedFolders: Rename FolderPicker to OldFolderPicker (#72098) 2023-07-21 13:24:43 +00:00
core Prometheus: Add a keyboard shortcut to toggle all exemplars (#64479) 2023-07-25 07:45:18 -05:00
features Prometheus: Add a keyboard shortcut to toggle all exemplars (#64479) 2023-07-25 07:45:18 -05:00
partials Chore: Migrates remaining Angular modals to React (#33476) 2021-04-28 15:22:28 +02:00
plugins Loki: Run logs volume for query when switching from trace to logs (#72268) 2023-07-25 14:33:33 +02:00
polyfills WIP Chore: reduce strict errors (#40462) 2021-10-15 08:57:55 +02:00
routes Auth: Move LDAP debug to Authentication menu (#71285) 2023-07-12 18:15:02 +02:00
store add setupListeners to the redux store (#70953) 2023-07-05 12:22:48 +02:00
types Auth: Don't show LDAP CTA card (#72121) 2023-07-24 12:56:18 +02:00
app.ts Explore: Make toolbar action extendable by plugins (#65524) 2023-06-28 15:42:41 +02:00
AppWrapper.tsx React Router: start migrating to v6 (#66921) 2023-04-27 07:18:38 +02:00
dev.ts Chore: Make "why-did-you-render" a dynamic import (#53121) 2022-08-08 15:33:49 +01:00
index.ts Feature: Trusted Types support (#64975) 2023-04-27 18:20:37 +02:00