grafana/docs/sources/setup-grafana
Piotr Jamróz f6e472f879
Explore: Show a drawer with tabs for the library and query history (#86279)
* Create basic feature toggle

* Rename context to reflect it contains query history and query library

* Update icons and variants

* Rename hooks

* Update tests

* Fix mock

* Add tracking

* Turn button into a toggle

* Make dropdown active as well

This is required to have better UI and an indication of selected state in split view

* Update Query Library icon

This is to make it consistent with the toolbar button

* Hide query history button when query library is available

This is to avoid confusing UX with 2 button triggering the drawer but with slightly different behavior

* Make the drawer bigger for query library

To avoid confusion for current users and test it internally a bit more it's behind a feature toggle. Bigger drawer may obstruct the view and add more friction in the UX.

* Fix tests

The test was failing because queryLibraryAvailable was set to true for tests. This change makes it more explicit what use case is being tested

* Remove active state underline from the dropdown

* Allow closing Query Library drawer from the toolbar

* Simplify dropdown design
2024-04-24 10:32:11 +02:00
..
configure-grafana Explore: Show a drawer with tabs for the library and query history (#86279) 2024-04-24 10:32:11 +02:00
configure-security Auth: add Dex example to generic OAuth2 documentation (#84744) 2024-03-28 15:36:00 -05:00
image-rendering Docs: fix availability note (#85315) 2024-03-28 08:33:38 -04:00
installation Docs: add Provisioning section to Install on Kubernetes docs (#83875) 2024-04-23 18:24:25 +02:00
_index.md Explicitly set all front matter labels in the source files (#71548) 2023-07-18 09:10:12 +01:00
configure-docker.md Explicitly set all front matter labels in the source files (#71548) 2023-07-18 09:10:12 +01:00
set-up-for-high-availability.md Alerting docs: restructure Introduction (#84248) 2024-03-14 16:58:18 +01:00
set-up-grafana-live.md Update set-up-grafana-live.md (#78300) 2023-11-17 15:02:03 -06:00
set-up-grafana-monitoring.md Docs: Remove old plugin docs, fix URLs to go to new dev portal (#75325) 2023-09-29 07:43:48 +01:00
set-up-https.md Fix developer links and newly discovered spelling errors (#75875) 2023-10-03 13:49:27 +01:00
sign-in-to-grafana.md Update the sign in docs to contain more precise information. (#71698) 2023-07-31 10:59:39 -05:00
start-restart-grafana.md Update all use of docs/shared in Grafana to use keyword arguments (#74167) 2023-08-31 11:00:04 +01:00