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

Feature request: gotour should remember the content of the edit boxes #179

Closed
GoogleCodeExporter opened this issue Jul 26, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. edit a the content of a lesson
2. close gotour by killing the process
3. re-start gotour
4. refresh the browser

Q: What is the expected output? What do you see instead?
A: The edited content should be recovered. Instead, the content is restored to 
whatever it was initially when starting the lesson. This is really frustrating 
when the interpreter hangs, like when having infinite loops in the code due to 
beginner bugs.

Q: What version of the product are you using? On what operating system?
A: gotour 209:dc7aec0e8fcd running on Ubuntu 14.04, x86_64

Please provide any additional information below.

Original issue reported on code.google.com by cristi.m...@gmail.com on 26 Aug 2014 at 11:28

@GoogleCodeExporter
Copy link
Author

Original comment by a...@golang.org on 26 Aug 2014 at 11:40

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

This issue was closed by revision 380970f2c8c6.

Original comment by campoy@golang.org on 28 Aug 2014 at 5:33

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

The fix seems to cover the use case of closing the browser tab and re-opening 
it, but it still doesn't work for when the gotour process is killed and 
restarted, or at least I wasn't able to figure out how to do it.

When gotour is killed and restarted a new tab is opened with the initial state 
of the code.

The previous tab, containing the changed version of the code, is still 
available and the user can certainly copy the code over to the new tab, but 
can't simply reuse it and continue working.

Original comment by cristi.m...@gmail.com on 31 Aug 2014 at 3:11

@GoogleCodeExporter
Copy link
Author

Did you reinstall the tour? I just tested it and worked for me.

1. go get -u code.google.com/p/go-tour/gotour
2. gotour
3. modify code in the page
4. kill gotour
5. gotour
6. the modified code appears on the page

Original comment by campoy@golang.org on 31 Aug 2014 at 7:08

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

No branches or pull requests

1 participant