SYP-AHIF-2023-24-25 / SolarDoc

SolarDoc for creating beautiful presentations with your colleagues in your browser using AsciiDoc 🌌✨
http://solardoc.htl-leonding.ac.at
GNU General Public License v3.0
3 stars 1 forks source link

Store data in session storage rather than local storage to allow opening multiple files #205

Open Luna-Klatzer opened 2 months ago

Luna-Klatzer commented 2 months ago

Store data in session storage rather than local storage to allow opening multiple files. This is currently not possible, because when opening up a new tab the local storage gets overwritten and the data for the other tab is lost. As such that needs to be changed and preferably switched out for session storage with only some local storage elements remaining to allow a user to open multiple files and then be able to open up the last file when going back to the editor.

User authorisation will still probably remain in local storage though and we will preferably throw an error when the user is switched or logged out on another tab so that on one browser the user can only use a single user.