erikhuizinga / ranstax

Random item picker from named stacks of known size
https://erikhuizinga.github.io/ranstax/
GNU General Public License v3.0
6 stars 2 forks source link

Use URL-encoded storage #5

Open erikhuizinga opened 1 year ago

erikhuizinga commented 1 year ago

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:

erikhuizinga commented 1 year ago

User comment on BGG that gives feedback that also touches this subject: https://boardgamegeek.com/thread/2973974/article/41531047#41531047