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: Maybe warn user if import of "time" or "net" is seen #7051

Open
gopherbot opened this issue Jan 2, 2014 · 4 comments
Open

x/playground: Maybe warn user if import of "time" or "net" is seen #7051

gopherbot opened this issue Jan 2, 2014 · 4 comments

Comments

@gopherbot
Copy link

@gopherbot gopherbot commented Jan 2, 2014

The playground just keeps confusing people. Here's an idea to make it's intentional
limitations more discoverable:

- add a content slot just before output, that is marked up with e.g.  background color
that differentiates it from output, that can contain messages; make it invisible if empty

- if the code imported "time", add message like "Playground is frozen in
time to 2009."

- if the code imported "net", add message like "Playground has fake
networking that can only communicate within the application." 

- if either of the two messages triggered, add a link "See About for more."
@minux
Copy link
Member

@minux minux commented Jan 27, 2014

Comment 1:

I don't think it's a good way to convey the info to the user.
what we can probably do is expand the about by default on the right side
when the user first vists that site, and if the user has closed it, it will
never be shown again by default.

Labels changed: added release-none, repo-playground.

Owner changed to @adg.

@adg
Copy link
Contributor

@adg adg commented Jan 27, 2014

Comment 2:

Some people do get confused, but how many and how often?
We don't observe the many people who read the About page and are not confused.
Not convinced we actually need to do something here.
@gopherbot
Copy link
Author

@gopherbot gopherbot commented Jan 28, 2014

Comment 3:

Of course I don't have numbers, and the search at https://botbot.me/freenode/go-nuts/
does not seem good enough to do multiple keyword matching.
Playground time is definitely one of the recurring topics on #go-nuts.
Do you *really* think people read the About page? You have so much faith in humanity..
@adg
Copy link
Contributor

@adg adg commented Jan 29, 2014

Comment 4:

If someone want to design some UI for this that is unobtrusive and can be dismissed
(forever) once per browser, I'd be willing to review the change.

Status changed to Accepted.

@rsc rsc added this to the Unplanned milestone Apr 10, 2015
@rsc rsc changed the title playground: Maybe warn user if import of "time" or "net" is seen x/playground: Maybe warn user if import of "time" or "net" is seen Apr 14, 2015
@rsc rsc modified the milestones: Unreleased, Unplanned Apr 14, 2015
@adg adg removed their assignment May 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants