-
Notifications
You must be signed in to change notification settings - Fork 83
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
Some apps make use of sessionStorage as a way to store data in the current browser tab/window. It could be helpful to persist this when we quit the browser and restore it after.
I could see this being useful for stuff like text editors where you might have some in progress text. The current approach is to use localStorage, but that means two windows open to the editor would overwrite each other which may not be what users expect.
Steps
- Modify
WindowManager.saveOpened - get all they keys out of
sessionStorageas a JSON object - Add a
sessionfield to the object insideurls - Modify
openSaved, adding more JS to execute on DOM-ready (or maybe sooner?) - If the
sessionobject exists and is not empty: - Iterate through the keys in the object and call
sessionStorage.setItem(key, value)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Type
Projects
Status
Ready