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

Hide the "This is experimental WordPress" notice on click #1082

Merged
merged 2 commits into from
Mar 5, 2024

Conversation

adamziel
Copy link
Collaborator

@adamziel adamziel commented Mar 5, 2024

Removes the "This is a cool fun experimental WordPress" notice either when it's clicked, or after 20 seconds of using Playground. Once hidden, a cookie is set to prevent the notice from showing up again.

Testing instructions

  • Open Playground
  • Click the notice, confirm it got hidden
  • Refresh the page, confirm it isn't there
  • Open Playground again in a private mode
  • Wait 20 seconds and confirm the notice gets hidden

CleanShot 2024-03-05 at 10 31 07@2x

Closes #1076

cc @ellatrix

Removes the "This is a cool fun experimental WordPress" notice either
when it's clicked, or after 20 seconds of using Playground. Once hidden,
a cookie is set to prevent the notice from showing up again.

 ## Testing instructions

* Open Playground
* Click the notice, confirm it got hidden
* Refresh the page, confirm it isn't there
* Open Playground again in a private mode
* Wait 20 seconds and confirm the notice gets hidden

Closes #1076
@adamziel adamziel merged commit f9379b3 into trunk Mar 5, 2024
5 checks passed
@adamziel adamziel deleted the hide-experimental-notice branch March 5, 2024 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add ability to close "all changes are gone" notification
1 participant