ckabalan / visualsubnetcalc

Visual Subnet Calculator
MIT License
193 stars 30 forks source link

Feature: Option for browser history-driven "autosave" #16

Open crussell52 opened 3 months ago

crussell52 commented 3 months ago

"autosave" is a little misleading, but I didn't have a better phrase. ("auto-history"?)

This feature would, on an interval, record current state in browser history.

In the case of a crash (:cough: hello, crowdstrike) or other conditions where browser state is lost unexpectedly, this would allow a user to recover at least some of a work-in-progress layout using browser history.

crussell52 commented 3 months ago

browser localStorage is another possible solution for use case. But that might problematic if users are working on different diagrams in different windows. (Maybe a local document id is stuffed into the URL when you start a diagram would resolve that?)