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

Close Playground Manager by default #1831

Merged
merged 2 commits into from
Sep 30, 2024

Conversation

brandonpayton
Copy link
Member

Motivation for the change, related issues

Users are accustomed to seeing WordPress fill most of the page when loading WordPress Playground, and after we launched the Playground Manager, we received feedback indicating it might be better to leave it closed by default.

We are concerned that users won't be able to find the button to open the Playground Manager, but we can work to make that button clearer in a separate PR.

Closes #1815

Implementation details

We update the redux siteManagerIsOpen state default to false while preserving specific reasons it should be false, even if the overall default is changed back to true.

Testing Instructions (or ideally a Blueprint)

  • CI
  • Run npm run dev, open Playground web app in a desktop browser, confirm that the Playground Manager UI is closed.

Users are accustomed to seeing WordPress fill most of the page when
loading WordPress Playground, and after we launched the Playground
Manager, we received feedback indicating it might be better to leave it
closed by default.
@brandonpayton brandonpayton requested a review from a team September 30, 2024 20:09
@brandonpayton brandonpayton self-assigned this Sep 30, 2024
@brandonpayton brandonpayton changed the title Close playground manager by default Close Playground Manager by default Sep 30, 2024
// Don't default to the site manager on mobile, as that would mean
// seeing something that's not Playground filling your entire screen –
// quite a confusing experience.
// NOTE: Please do not eliminate the cases in this siteManagerIsOpen expression,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great comment

@brandonpayton brandonpayton merged commit 8140715 into trunk Sep 30, 2024
6 checks passed
@brandonpayton brandonpayton deleted the close-playground-manager-by-default branch September 30, 2024 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Consider hiding/collapsing new UI when Blueprint is provided
2 participants