Settings toggles don't reverse themselves on error #4

Closed
opened 2022-11-23 22:22:12 +00:00 by Snakes · 0 comments

If toggling a setting in /settings/ fails for whatever reason (typically 429 rate limit), we correctly show users an error toast, but the toggle does not untoggle in the UI, meaning we can't correctly get them to re-send the request without clicking twice, causing yet more requests.

On error received in response to toggle change, reset the UI state back to what it was before the attempted request.

If toggling a setting in `/settings/` fails for whatever reason (typically 429 rate limit), we correctly show users an error toast, but the toggle does not untoggle in the UI, meaning we can't correctly get them to re-send the request without clicking twice, causing yet more requests. On error received in response to toggle change, reset the UI state back to what it was before the attempted request.
Snakes added the
bug
label 2022-11-23 22:35:13 +00:00
Sign in to join this conversation.
There is no content yet.