4bit icon indicating copy to clipboard operation
4bit copied to clipboard

Save state

Open Bilge opened this issue 6 years ago • 3 comments

If there isn't going to be an import option any time soon, at the very least it would be useful to have client-side saving using localStorage or something. Resetting to default on every page load isn't very user-friendly.

Bilge avatar Sep 19 '19 20:09 Bilge

Hey, I was thinking about rewriting the whole thing to some more modern technology with design patterns I learned since I wrote this. But every time I want to do this I don't have enough time. It would be nice to rewrite the whole thing. I was also thinking about creating backend and storing all generated by users schemes, so people could name them and share. But this would require hosting, so much more problems than just a github page.

ciembor avatar Oct 22 '19 08:10 ciembor

Consider quick wins instead.

On Tue, 22 Oct 2019, 09:40 Maciej Ciemborowicz, [email protected] wrote:

Hey, I was thinking about rewriting the whole thing to some more modern technology with design patterns I learned since I wrote this. But every time I want to do this I don't have enough time. It would be nice to rewrite the whole thing. I was also thinking about creating backend and storing all generated by users schemes, so people could name them and share. But this would require hosting, so much more problems than just a github page.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ciembor/4bit/issues/36?email_source=notifications&email_token=AADS4YTZKSWY2A7AKIABHJLQP2357A5CNFSM4IYPVOL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEB463SA#issuecomment-544861640, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADS4YWJ4POGNHMSCU4XGVLQP2357ANCNFSM4IYPVOLQ .

Bilge avatar Oct 22 '19 08:10 Bilge

Was stumbling over the same problem. However, please don't add complexity via a backend. IMHO the much easier quickwin would be just encoding the state in the URL. This way people can share any color-schemes easily via a link.

riedel avatar Jun 11 '23 10:06 riedel