Skip to content
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

Pin default widgets #2233

Merged
merged 2 commits into from
Feb 9, 2024
Merged

Pin default widgets #2233

merged 2 commits into from
Feb 9, 2024

Conversation

krschau
Copy link
Collaborator

@krschau krschau commented Feb 8, 2024

Summary of the pull request

On the very first time Dev Home is run, automatically pin three of the core widgets the PM team has picked.

References and relevant issues

Detailed description of the pull request / Additional comments

For first run, the different build channels of Dev Home are considered separately (ie. you could have and use Preview, but then if you install and run Dev for the first time, it will be considered the first run). Also, uninstalling and reinstalling will result in a "first run" (and always has).

Since from the widget service's point of view, all channels of Dev Home are considered the same app, the same widgets are considered pinned in (for example) Preview and Dev. If Dev Home is run for the first time but widgets have already been pinned in another channel by the user, the default widgets will not be pinned so as to not override the existing widgets. This is the improvement over the first version of this feature that was checked in and reverted.

Validation steps performed

PR checklist

@AmelBawa-msft AmelBawa-msft added the Needs-Second Pull request that needs another approval label Feb 8, 2024
@EricJohnson327 EricJohnson327 merged commit 8c3fee8 into main Feb 9, 2024
4 checks passed
@EricJohnson327 EricJohnson327 deleted the user/krschau/default-widgets-2 branch February 9, 2024 18:25
@krschau krschau removed the Needs-Second Pull request that needs another approval label Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Dashboard][Feature request] System widgets should be pinned by default
3 participants