Support display account management panel #110
Merged
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.
PR Type
What kind of change does this PR introduce?
Feature
Support display account management panel:
What is the current behavior?
At this stage,
WindowsProvider
provides login and logout functions, the logout process does not require user involvement.What is the new behavior?
Some usage scenarios may need to display the currently logged-in user and provide some custom operations.
PR Checklist
Please check if your PR fulfills the following requirements:
Breaking changes
The login panel and the management panel are two different usage scenarios, and their
HeaderText
may not be mixed, so I made some modifications:HeaderText
toAddAccountHeaderText
.ManageAccountHeaderText
is used to display in the account management panel.AccountsSettingsPaneConfig
have been adjusted.Other information
A new object has been added:
WebAccountCommandParameter
. It is not used as anIList
property in the definition ofAccountsSettingsPaneConfig
, because currentlyWindowsProvider
only supports single account.