Skip to content
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/source options filters state #320

Merged
merged 3 commits into from
May 28, 2023
Merged

Fix/source options filters state #320

merged 3 commits into from
May 28, 2023

Conversation

schroda
Copy link
Collaborator

@schroda schroda commented May 28, 2023

No description provided.

schroda added 3 commits May 28, 2023 02:05
Causes the options to not get reset correctly and/or to get set without "submitting" them
The local filter state sometimes got overwritten by the state from the server response.
This resulted in showing an incorrect filter state while still sending the correct one to the server when filtering
The timeout (2.5s) is too long and can cause the filter state to not have been updated by the time the filters are getting submitted.
Thus, causing a request with outdated filters and requiring a "re-submit" for the actual filters to get used.
@schroda schroda merged commit 1480507 into Suwayomi:master May 28, 2023
@schroda schroda deleted the fix/source_options_filters_state branch May 28, 2023 00:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant