Align top menus to new header design #78332
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Relates to #72331 (comment)
Summary
➡️ There will likely be opinions on this one, so I'm not pretending that this is a slam dunk of a PR... as evidenced by all the screenshots. Please take a look, try this branch locally, try master again, and then see what you think.
With the new stacked header design, 'top menus' (in the legacy Kibana apps) were moved from the app level to the chrome/header level. For some (author included :) ), this has resulted in an undesirable visual design/UX outcome for apps that used filled buttons in their menu. For example:
Competing buttons in Dashboard
Competing buttons in Lens
Proposed 7.10 solution introduced by this PR
checkInCircleFilled
andplusInCircleFilled
)Affected apps (Dashboard, Lens, Visualize, Maps)
Dashboard (edit mode)
Dashboard (view mode)
Lens
Visualize
Visualize (from Dashboard)
Maps
Alternative solutions explored for 7.10
Proposed solution in previous section ; single icon on first item provides differentiation while avoiding competing buttons
Less desirable as all items are emphasized equally; less clear CTA
Doesn't seem to address the original issue of competing buttons; less desirable visually as well
Looking ahead
In addition to the top menu, teams may begin exploring additional UI enhancements if they desire to further emphasize core actions. For example, the Dashboard team is exploring adding a toolbar within their UI (for this and other reasons):
Checklist
Delete any items that are not applicable to this PR.