elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.59k stars 8.21k forks source link

[Discover] Single doc view exit UI #151529

Open nickofthyme opened 1 year ago

nickofthyme commented 1 year ago

Describe the feature:

In the discover expanded document flyout, we have an option to view as Single document. Clicking this directs you to a full screen view of the Table/Json view of the current document.

Once on the Single document page there is no button or keyboard shortcut (i.e. escape) to bring to back to discover, apart from the breadcrumb and browser back, both of which would clear the discover state.

https://user-images.githubusercontent.com/19007109/219506872-872398ba-70c0-4537-a1ba-c3b911f4298e.mp4

Comparing this to the full screen mode of the main Document table, which has both an exit UI and keyboard return shortcut.

Discover - Elastic 2023-02-16 at 3 57 26 PM

Describe a specific use case for the feature:

I don't like UX that traps users into a given state with no easy way out, this is also likely poor A11y.

elasticmachine commented 1 year ago

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)

kertal commented 1 year ago

FYI @lukasolson