-
-
Notifications
You must be signed in to change notification settings - Fork 565
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
fix: undo changes on push notifications settings stops working #1599
Conversation
Run & review this pull request in StackBlitz Codeflow. |
✅ Deploy Preview for elk-docs canceled.
|
✅ Deploy Preview for elk-zone ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can merge this now. But is there a reason for these settings to work in a different way from all the others? Why are we allowing the user to cancel here? In all other settings screens, we apply the modification and move on. Should we also do the same here?
All these settings are saved on backend, mastodon rn just send a request per check changed, we allow send all at once: that's why I included undo. |
Ah, I see we also do the same for the Profile. Is it costly to do multiple requests? I think it may be better to just do the changes with out the save. But ya, ignore my prev comment because this is now the pattern we use for other things too. |
Yes, but also a11y, doing requests on check change is not good, we use a form with checkboxes and the policy html select. |
Vueuse history stops working.