-
Notifications
You must be signed in to change notification settings - Fork 863
Description
Related to #3489
In order to track work on the global header/navigation solution, I am creating this issue to track the new pattern/component to support the V1 Navigational Search feature as seen below.
From the new stacked header, a user will activate the search UI either through keyboard or mouse. On activation/focus, a popover will appear that initially displays recent items (in Kibana, this will differ across products), and typing will provide a typeahead set of results containing apps and saved objects (again, Kibana specific in terms of result types).
The user will be able to tab through the items and navigate to the active item upon clicking or pressing Return. As a nice to have, active items will display a badge to further indicate this is the active item and inform that pressing Return will result in navigating to said item.
While all list items will be the same height, we would like to adjust the content dependent upon result type where, for example, apps would display an icon while other results show only a title and description.
Result types to support
| Description | Display deployment? | Display space? |
|---|---|---|
| Saved object that lives with an app (a dashboard, a viz...etc) | ✅ | ✅ |
| The app itself (Logs) | ✅ | ✅ |
| The solution itself (Observability) | ✅ | ✅ |
| The deployment itself (essentially what you'd get if you used the switcher) | ||
| Sub features of applications (CCR, Index management, space management...etc) | ✅ | ✅ |
| Users, Roles (in the near term, those live possibly in Cloud and Kibana) | ||
| Help content / docs | ||
| Cases within dream machine | ||
| Sections within dream machine | ||
| Sections within the cloud console (billing...etc) |
Mockups of various states
Input focus states:
https://user-images.githubusercontent.com/549577/82465809-af47b580-9a8d-11ea-905c-d3cab06ad8b8.png
Figma file
https://www.figma.com/file/AngVp8Bexq2UjN7G44IsuZ/Holistic-Experience?node-id=1143%3A5
