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/playground: feature request: instant Share URL on each "Run" #50224

Closed
Deleplace opened this issue Dec 16, 2021 · 2 comments
Closed

x/playground: feature request: instant Share URL on each "Run" #50224

Deleplace opened this issue Dec 16, 2021 · 2 comments
Labels
FeatureRequest Issues asking for a new feature that does not need a proposal. NeedsDecision Feedback is required from experts, contributors, and/or the community before a change can be made.
Milestone

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?

  • Write some code
  • Clicked the "Run" button

What did you expect to see?

The URL of the page could be immediately updated with a permalink. It is then slightly more immediate to share this already generated URL, without the need for the "Share" button. Of course, any change in the code would wipe the permalink from the URL bar (as it already does now).

I acknowledge that this feature incurs a small gain in UX (2s saved) and a potentially big cost server-side (durably store all the snippets ever run, durably keep a distinct URL for each of them). We may do some analysis to decide if the extra server storage burden is acceptable or not.

What did you see instead?

The URL of the page remains "https://go.dev/play/", and then I have to click "Share" in order to actually generate a snippet URL.

@gopherbot gopherbot added this to the Unreleased milestone Dec 16, 2021
@cherrymui cherrymui changed the title x/playground: Feature request: instant Share URL on each "Run" x/playground: feature request: instant Share URL on each "Run" Dec 16, 2021
@cherrymui cherrymui added FeatureRequest Issues asking for a new feature that does not need a proposal. NeedsDecision Feedback is required from experts, contributors, and/or the community before a change can be made. labels Dec 16, 2021
@cherrymui
Copy link
Member

I'm not sure if this needs to be a proposal ( https://golang.org/s/proposal ). It probably doesn't hurt if you make it one. Thanks. @Deleplace

cc @toothrot

@seankhliao
Copy link
Member

seems nobody else needs this for what can be a large increase in cost.

@seankhliao seankhliao closed this as not planned Won't fix, can't repro, duplicate, stale Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FeatureRequest Issues asking for a new feature that does not need a proposal. NeedsDecision Feedback is required from experts, contributors, and/or the community before a change can be made.
Projects
None yet
Development

No branches or pull requests

4 participants