wordpress-playground
wordpress-playground copied to clipboard
"Import from Github" button causes reloading playground without warning and without connecting to Github
Description:
"Import from Github" button causes reloading playground without warning and without connecting to Github
Steps to recreate:
- Open playground
- Go to Playground settings
- Click on 3 dots next to "Homepage" button
- Click on "Import from Github"
- Playground reloads even when user changes his mind and doesn't want to connect to the GitHub.
- After click X, playground reloads once again.
Screenshots:
Video:
https://github.com/user-attachments/assets/ab994188-6a52-461f-837c-3eced0e09c20
Expected behaviour:
Playground should reload AFTER connection with Github, not before. OR Show warning that you will lose changes.