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

x/website: Playground sample programs dropdown overwrites current program #50071

Open
Deleplace opened this issue Dec 9, 2021 · 1 comment
Open
Labels
Milestone

Comments

@Deleplace
Copy link

@Deleplace Deleplace commented Dec 9, 2021

What is the URL of the page with the issue?

https://go.dev/play/

Screenshot

image

What did you do?

Edit the default Hello World, Run, edit again, Run again, etc.

Then clicked the dropdown and chose "Conway's Game of Life".

What did you expect to see?

I wasn't sure, but I was curious.

What did you see instead?

My program was overwritten with the code of Game of Life. The "Back" button didn't work to recover my code.

Some sort of warning "Your code will be overwritten [Cancel] [OK]" would have been nice.

@gopherbot gopherbot added this to the Unreleased milestone Dec 9, 2021
@toothrot
Copy link
Contributor

@toothrot toothrot commented Dec 10, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants