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

Add a confirmation dialog when pressing "Reset" on the "Try it" live code examples #1739

Open
cow1337killer3 opened this issue Feb 22, 2024 · 0 comments
Labels
effort: small This task is a small effort. enhancement Improves an existing feature. p2 We want to address this but may have other higher priority items. ux

Comments

@cow1337killer3
Copy link

INTRO:
I often go on the web docs just to use the "Try it" live code examples as my own quick-to-access coding environment for JavaScript. If I need to test something in JavaScript, I literally just open my browser and search "map array" and click on the first result, which brings me to the website.

PROBLEM:
I can't tell you how many times I've spent up to an hour typing out/testing code, and then I accidentally click on "Reset" instead of "Run". You can't Control-Z to get it back. It's gone forever.

SOLUTION:
When clicking "Reset", please have a dialog window that pops up and asks you to confirm. Also, I don't even know why anybody would use the "Reset" button instead of just refreshing the page anyways...

@github-actions github-actions bot added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Feb 22, 2024
@argl argl added enhancement Improves an existing feature. ux and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Mar 4, 2024
@caugner caugner transferred this issue from mdn/yari Mar 18, 2024
@caugner caugner added the p2 We want to address this but may have other higher priority items. label Mar 18, 2024
@caugner caugner added the effort: small This task is a small effort. label Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort: small This task is a small effort. enhancement Improves an existing feature. p2 We want to address this but may have other higher priority items. ux
Projects
None yet
Development

No branches or pull requests

3 participants