You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the browser's local storage is used as storage. This is not portable and not flexible. Investigate and implement using the URL as a data source, instead, or additionally.
I don't want to implement storage on some server, so I want to keep it on the client side.
As a user I expect Ranstax to be in the state that I left when I open Ranstax again, so that I can continue where I left off.
This implies that the user navigating to the root app URL without any URL-encoded data should lead the app to loading the expected state from somewhere. E.g. local storage could be used for that.
Loading this local state updates the URL-encoded state.
Since URLs can be used outside of Ranstax (e.g. as bookmarks, or be shared online (they should be)), they should be versioned and Ranstax should be able to migrate them forward.
Note that the URL encoding model / version is separate from the data that it encodes, as that might be versioned too.
Currently the browser's local storage is used as storage. This is not portable and not flexible. Investigate and implement using the URL as a data source, instead, or additionally.
This should also play nice with the browser's history: https://developer.mozilla.org/en-US/docs/Web/API/History_API. The expected and intended behaviour when the user navigates back/forward should be clear and accessible.
Some thoughts, not the definitive proposal, and not sure if possible with the history API:
The text was updated successfully, but these errors were encountered: