New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace cookies with localStorage #70
Conversation
It's rather a non-minor change, I'm very much in favor of having 2 reviews for this (not that I am against this, quite the opposite, but 2 reviews rather than 1 seem safe and sensible to me here :-) ). Removing the |
At a first pass, this looks good. I'll take a more detailed look later, and run it to make sure it works. Looks good so far though, and nothing to comment as of yet. |
👍 Looks good, seems to work fine. |
This is really great indeed, 👏 @xPaw! One thing that might be more relevant in the future than this PR, but still worth noting: by releasing this, everyone currently with specific settings will see their settings reset to default. What do you think? |
Yeah, as our fork is rather new, I wouldn't want to introduce backwards compatibility like this just yet. |
Yeah, I agree with that. I think it's a little annoying in the short term, but not enough as it's really not hard to reset your settings once as there aren't that many settings. I wouldn't want to invalidate the settings again, but this once at the beginning of our fork sounds fine to me :-) |
Agreed with both of you. I'm thinking we might have to do that later on though: when introducing packages, we might want to namespace settings to avoid packages playing around with settings from other packages. But a fight for another day I guess :-) 👍 and merging. |
Replace cookies with localStorage
Possibly, yeah. We can take that as it comes along :-) |
Fixes #69. We don't need to store any of the data on cookies, localstorage is better suited for this.