Fix issue #4, Cursor Marsey in settings, and permanent settings for slur/profanity filters #180

Merged
Aevann merged 4 commits from :fix-setting-error-handling into master 2023-08-06 20:02:00 +00:00
  • Settings toggles now reverse themselves if the setting fails to update
  • Cursor Marsey was broken in settings due to an id overlap
  • Permanent setting option for slur/profanity would not appear unless the setting was enabled before page load
* Settings toggles now reverse themselves if the setting fails to update * Cursor Marsey was broken in settings due to an id overlap * Permanent setting option for slur/profanity would not appear unless the setting was enabled before page load
KindaCrayCray added 3 commits 2023-08-06 19:53:14 +00:00
0db031817e Add "switch" postfix to setting switch ids
Previously the id for the `marseycursor` was the same as that of the
cursor cat, meaning that the settings page would not have the marsey
visible.
0fcef3f556 Create new handler for settings toggles
The previous handler was shared with several semi-related components and
was just a mess. The new one is simplified and will reset itself on
error.
0f2a1a9459 Create new function for handling setting switches
The new function properly undos failed updates to setting toggles and
also shows and hides the permanent option with the slur/profanity
filters appropriately.
KindaCrayCray added 1 commit 2023-08-06 19:53:23 +00:00
Aevann merged commit 5cf680ebf5 into master 2023-08-06 20:02:00 +00:00
KindaCrayCray deleted branch fix-setting-error-handling 2023-08-07 16:01:51 +00:00
Sign in to join this conversation.
There is no content yet.