UI/sidebar_widget: Improved hierarchy between UI elements in settings sidebar #31332
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.
Modified elements:
-No circle/background around "x"
-"x" slightly bigger, and bolder
-Spacing is added below close_btn instead of above
-Only 1 element is white IF pressed versus the "x" and current menu text
-Text is aligned left
-Menu text added left padding to align with "x" close_btn
comparing-sidebar-changes.mp4
Noise in sidebar
To much is grabbing for attention in sidebar when settings is opened up. There is a circle emphasizing the "x" and also the color white making the X stand out while also using that color white to show your active tab/section.
Over using a color to differentiate makes the emphasis less impactful. Ideally one element should be highlighted in white to mark as the "pressed" element. Making it white and with a circle behind it is overkill and adds more noise to the UI.
Why place close_btn top left?
Placing the close_btn in the top left corner is more familiar for users and is where most back/close buttons are found on mobile and web apps making it easier to interact with.
Why left-align text matters for vertical menus?
Aligning menu items to the left helps users eyes scan rapidly in a straight downward motion versus a zigzag motion when using right-aligned text in vertical menus. Link below talks deeper about it. Not a huge deal on its own , but the little things of experiences add up.
https://www.nngroup.com/articles/right-justified-navigation-menus/
New sidebar UI
Old sidebar UI