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
NeedsFix The path to resolution is known, but the work has not been done. website

Comments

@Deleplace
Copy link
Contributor

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 toothrot added the NeedsFix The path to resolution is known, but the work has not been done. label Dec 10, 2021
@toothrot
Copy link
Contributor

@rsc @jamalc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsFix The path to resolution is known, but the work has not been done. website
Projects
None yet
Development

No branches or pull requests

4 participants