Skip to content

Conversation

setchy
Copy link
Member

@setchy setchy commented Apr 16, 2024

Moves the setRequestFailed(false) into the earliest location we have a successful response.

Fixes UI "flickering" when the app gets in an error state, such as rate-limiting (clicking refresh would flicker between notifications and the error page)

@setchy setchy added the bug Something isn't working label Apr 16, 2024
@setchy setchy added this to the Release 5.3.0 milestone Apr 16, 2024
@setchy setchy changed the title fix: set request status fix: relocate set request status succeeded Apr 16, 2024
Copy link
Member

@afonsojramos afonsojramos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Damn it! I hate this nasty bugs 🐛

SQUASHED

@afonsojramos afonsojramos merged commit c102145 into main Apr 16, 2024
@afonsojramos afonsojramos deleted the fix/set-request-failed-status branch April 16, 2024 13:27
@bmulholland
Copy link
Collaborator

Nice work tracking that down!

@setchy
Copy link
Member Author

setchy commented Apr 17, 2024

Thank you both.

We still have the other issue where notifications will randomly disappear from the list, but come back on refresh/next interval. 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Development

Successfully merging this pull request may close these issues.

3 participants