-
Notifications
You must be signed in to change notification settings - Fork 34.5k
Improve sync flow from Accounts UI #95438
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
Conversation
This reverts commit 4d0266b.
- remove sign in actions from account dropdown
- Introduce account status - Update accounts and current session id - Update other logic based on above state
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.
Looks good overall!
I think with moving the commands into the account menu, it makes less sense to duplicate them in the gear menu. If we still want to show a badge indicator when settings sync is on but there is no active account, I think it would be clearer to show it on the accounts menu instead.
src/vs/workbench/contrib/userDataSync/browser/userDataSyncAccount.ts
Outdated
Show resolved
Hide resolved
src/vs/workbench/contrib/userDataSync/browser/userDataSyncAccount.ts
Outdated
Show resolved
Hide resolved
src/vs/workbench/contrib/userDataSync/browser/userDataSyncAccount.ts
Outdated
Show resolved
Hide resolved
IMO showing sync actions at the locations where they belong contextually, is good and also helpful in terms of discoverability. Following are the preferences related locations
So I think it makes sense to show I agree that |
- remove inactive state - use available and unavailable states
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.
Looks good!
Improve the sync flow from Accounts UI
Remove Sign in actions in favour of having turn on sync action also in Accounts dropdown
Sign out shows a confirmation dialog that sync will be stopped
Less dialogs and notifications.
Fixes #94766