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
Profiles: Review new StorageScope
for application and profile scope
#152679
Labels
Milestone
Comments
sandy081
added
workbench-state
UI state across restarts
user-profiles
User profile management
labels
Jun 20, 2022
bpasero
changed the title
Profiles: Adopt to new StorageScope.Application
Profiles: Adopt to new Jun 21, 2022
StorageScope.Global
bpasero
changed the title
Profiles: Adopt to new
Profiles: Review new Jun 21, 2022
StorageScope.Global
StorageScope
for application and profile scope
bpasero
added a commit
that referenced
this issue
Jun 21, 2022
bpasero
added a commit
that referenced
this issue
Jun 21, 2022
Tyriar
added a commit
that referenced
this issue
Jun 21, 2022
@sbatten Assigned those areas which were previously owned by Jackson to you. Can you please reassign them to the correct owners. Thanks a lot. |
alexdima
added a commit
that referenced
this issue
Jun 27, 2022
alexdima
added a commit
that referenced
this issue
Jun 27, 2022
TylerLeonhardt
added a commit
that referenced
this issue
Jun 27, 2022
TylerLeonhardt
added a commit
that referenced
this issue
Jun 27, 2022
move to APPLICATION for all auth since auth is really done machine wide. ref #152679
@sbatten Just want to check if the last two usages can be reviewed and adopted so that we can close this. Thanks |
Thanks every one for reviewing and adopting. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
A Profile is a set of user's
With the introduction of Profiles, a user can now have multiple windows open with different profiles. This means the storage has to be scoped per profile. For eg., user can create a profile in which certain activitybar icons/statusbar icons/views are hidden. All windows opened using this profile shall retain this UI configuration and other windows shall have different UI configuration. At present this state is stored under newly introduced
StorageScope.Profile
scope and all state stored under this is scoped per profile. At the same time, some storage has to be scoped across application, for eg., the account used for settings sync or the workspace trust state. You can use the scopeStorageScope.Application
to store data that one can use across application. In brief, following are the storage scopes exists right nowStorageScope.Application
- The stored data will be scoped to all workspaces across all profiles. For eg:StorageScope.Profile
- The stored data will be scoped to all workspaces of the same profile. For eg:With the introduction of
StorageScope.Profile
, please review your usage ofStorageScope.Profile
and use right scope.Following are the usages of
donotShowAgain
option inINotificationService
. By default Notification Service stores do not show again state in application scope. The service also addedNeverShowAgainScope.Application
scope. So, also review these usages and choose the right scope.The text was updated successfully, but these errors were encountered: