grafana/public
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
..
app Explore: Show a drawer with tabs for the library and query history (#86279) 2024-04-24 10:32:11 +02:00
dashboards
emails EmailVerification: Generate emails after rename (#85175) 2024-03-26 15:50:11 +01:00
fonts Chore: Update Inter font files (#82446) 2024-02-14 16:57:02 +00:00
gazetteer
img EmptyState: use not-found empty state variant everywhere in core (#85007) 2024-03-27 12:15:12 +00:00
lib Monaco Editor: Load via ESM (#78261) 2024-02-22 12:31:40 +01:00
locales Explore: Show a drawer with tabs for the library and query history (#86279) 2024-04-24 10:32:11 +02:00
maps Geomap: Support geojson styling properties (#80272) 2024-01-20 02:55:17 +02:00
sass Page: Use browser native scrollbars for the main page content (#82919) 2024-03-06 15:06:47 +00:00
test Add whatwg-fetch polyfill to jest test setup so all tests run it 2024-04-18 12:23:38 +01:00
vendor
views K8s: Improve OpenAPI behaviour (#81606) 2024-01-31 01:17:14 +02:00
api-enterprise-spec.json Chore: Update swagger (#86523) 2024-04-18 15:35:38 +00:00
api-merged.json IAM - Fix error messages for resource permissions endpoints (#85773) 2024-04-17 08:53:28 -05:00
openapi3.json IAM - Fix error messages for resource permissions endpoints (#85773) 2024-04-17 08:53:28 -05:00
robots.txt