xenharmonic-devs / scale-workshop

Design and visualize microtonal scales and play them in your web browser. Export your scales for use with VST instruments. Convert Scala files to various tuning formats.
MIT License
80 stars 11 forks source link

UX regression: Option to restore last session #806

Open frostburn opened 1 month ago

frostburn commented 1 month ago

osmiumToday at 4:18 AM

im not sure if i should report this so apologies if not but it seems that the scale data isnt present on this version ? https://scaleworkshop.plainsound.org/?version=3.0.1 like i was experimentally adding notes to a scale then i accidentally closed the tab and went into my history but it's all blank

frostburnToday at 9:16 AM

That's just how it is in Scale Workshop 3. Stuff is stored on the server now. If you don't save an URL it's gone. We could try to store the last undo snapshot in local storage though...

frostburn commented 1 month ago

osmiumToday at 7:58 PM

it was a very useful feature imo/ime to have the links update every time u make a change to the scale, as u had a complete history of your work, tho i admit there is a downside which is that it can make it a bit spammy in the history so it's hard to find the right version sometimes (esp. with the version ur looking at being pushed to the top of the history but that can be solved via private browsing so an unfair complaint as it's a browser-specific thing), but yea i reckon even slightly less frequent snapshots would be better than nothing. maybe some sorta simple heuristic based on how much time a scale has been left unchanged and how many changes are made? u could have like a "fear of loss" counter that increases with time, interaction & number of changes made up until a threshold where it auto-saves? itd also be nice to have an indicator whether the current thing is saved in history or maybe instead of this weird solution, what abt having Ctrl+S save the scale link in the history & setting it to the URL, if possible? i def think itd be a shame to have this go i imagine a lot of cool stuff would be lost by accident

frostburnToday at 8:12 PM

I'm more worried about spamming the server with constant snapshotting. It would add up very quickly. We would need a new scale-data-only save format for periodical snapshots if the app is to remain free to use. Or maybe it's better to implement that simplified v3 URL API and push those into browser history.