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

Allow user to refresh page by using query parameter `?shareId={id}` #177

Open Luna-Klatzer opened 3 months ago

Luna-Klatzer commented 3 months ago

Currently, when loading a file using a ShareURL, there is no way to reload the page without also pasting the URL in again. This is caused by the editor closing the file on a refresh (which is intended for the base route /editor as the file is not our own). Still, it would be good to allow the user to refresh the page using a query parameter, which defines the ShareURL id which can be used to fetch the required data from the server again.