-
Notifications
You must be signed in to change notification settings - Fork 36
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
Persistent URLs in REPL #1014
Comments
We don't want to create a new sandbox on the server whenever someone visits /repl, so we're going to generate the ids on the client and only create one on the server once they hit Save. Therefore the client will always need to send over the ID when creating a sandbox. |
New plan:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
/repl
, new repl is created, user is redirected to their unique REPL url/repl/123
, and user is given edit token in localStorage./repl/123
, and user with token starts editing, status bar says "You have unsaved changes." Button in title bar says "Save". When clicked, REPL is updated and message clears./repl/123
, and user without token starts editing, status bar says "You have unsaved changes." Button in title bar says "Fork and save". When clicked, new REPL is created, user redirected to new URL/repl/456
, and message clears.The text was updated successfully, but these errors were encountered: