-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
enhancementNew feature or requestNew feature or request
Description
I often find myself copy/pasting scripts into the J Playground. It would be very useful if there was a facility that restored the editor contents when a new window is opened.
Proposed requirements:
- Whenever an instance of the playground is opened, a unique identifier is generated for that session
- Whenever the editor is run (or maybe on some timer) the editor contents are written to an Editor Log (stored in browser localStorage) with a timestamp for that session id
- Add a new option "Editor Log" under the View menu
- Clicking the "Editor Log" brings up a dialog similar to "Input Log" that shows the timestamp and an abbreviated form of the log entry.
- The user can pick the log entry to populate the editor window with the full contents
- The editor log keeps a reasonable # of sessions - maybe last 10?
Questions: Should this be called Session Log or Editor Log? I initially started with "Session Log" and renamed it to "Editor Log" to be more clear what it was doing.
Question: Should opening a new playground window automatically restore the contents of the last session?
I welcome feedback on this idea. @razetime this may be a good html/js one for you to tackle if you are interested in it
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request