-
Notifications
You must be signed in to change notification settings - Fork 53
Add a separate Settings button inside the top bar #1477
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a separate Settings button inside the top bar #1477
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM and works well, but I have concern regarding UX - we have two buttons inside the same menu that behave totally the same way. It feels extra. Asked about thoughts / ideas here p1749673809988249/1749644397.678369-slack-C06DRMD6VPZ
So temporarily mark it as "Requested changes"
ivan-ottinger
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes look good and work as expected. This is great improvement! 👌🏼
I have followed the related Slack discussion and shared one additional idea there (p1749716191737259/1749644397.678369-slack-C06DRMD6VPZ).
Similarly to other, I also think we could consider swapping the ❔ and ⚙️ icons.
katinthehatsite
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In terms of functionality, everything works as described in the PR 👍
In terms of the UI experience, I find it a bit strange (similarly to what Vova mentioned) as we now have two buttons that do the exact same thing when the user is logged in.
I am wondering if we might want to split the functionality of the Log in and Preference so that when the user is logged in, clicking Gravatar would look them out. And the preferences would open through the settings button instead. Or something along these lines so that the functionality of these buttons is not repeated.
What do you think?
|
@sejas looks good and it works well. What if we try to implement the solution we discussed on Slack to resolve the confusion caused by two elements opening the same UI? We could make the Settings icon open the Preferences tab in the Settings dialog, and leave the 'Howdy...' opening the Account tab. I think we can switch the Help icon with the Settings icon, too, as having the Help at the end of the bar may be clearer. |
|
@nightnei , @ivan-ottinger , @katinthehatsite , thanks for the review. We followed Ivan's suggestion and we'll open thespecific tab for authenticated users. |
wojtekn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works well, and all flows related to authentication and settings look clear.
One thing we could improve is to open Preferences tab when user opens Setting using CMD+, shortcut.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the updates, Antonio! The proposed changes look good and the buttons work correctly.
Log in button goes directly to WordPress.com Log in page (or the Account settings tab) and ⚙️ points to the Preferences tab directly. 👌🏼🙂
I did not observe any regressions.
While testing VoiceOver, I noticed that the buttons are announced as follows now:
- Log in button:
Open settings, button, grouporOpen settings to log in, button, group - ⚙️ button:
Settings, button - ❔ button:
Get help, button
I think we could consider updating the Log in button to something like: Log in to Studio with WordPress.com, button and Open account settings, button. But we could address this separately of course, outside of this PR.
| if ( isAuthenticated ) { | ||
| tabs.push( { | ||
| name: 'usage', | ||
| title: __( 'Usage' ), | ||
| } ); | ||
| } | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice refactor!
Great idea! Done! 4872fff
Good catch! I like that we now pay special attention to A11y. Done! 6f03a66 |
Thank you! |
Related issues
Proposed Changes
Testing Instructions
npm startpre-select-settings-tab.mp4
Pre-merge Checklist