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 overly aggressive view caching #5826

Merged
merged 2 commits into from
Aug 5, 2024

Conversation

thornbill
Copy link
Member

Changes

  • Fixes ViewManagerPage always using cached version of views when available. This effectively reverts to the pre-10.9 behavior of only using the cached view on POP events (navigating back/forward).

Depends on #5825

Issues
Fixes #5656

@thornbill thornbill added bug Something isn't working regression We broke something labels Jul 25, 2024
@thornbill thornbill added this to the v10.9.9 milestone Jul 25, 2024
@thornbill thornbill marked this pull request as ready for review August 1, 2024 05:11
@thornbill thornbill requested a review from a team as a code owner August 1, 2024 05:11
@thornbill thornbill added needs testing This PR requires additional testing stable backport Backport into the next stable release and removed needs testing This PR requires additional testing labels Aug 1, 2024
@thornbill thornbill added the needs testing This PR requires additional testing label Aug 1, 2024
@thornbill
Copy link
Member Author

It looks like this breaks modals during playback. We probably need to remove navigation type from the effect dependency array to prevent page re-renders when state changes are pushed.

Copy link

sonarcloud bot commented Aug 1, 2024

@thornbill
Copy link
Member Author

Should be fixed now. This can be tested using this preview url: https://ded825b2.jellyfin-web.pages.dev/

@thornbill thornbill removed the needs testing This PR requires additional testing label Aug 4, 2024
@thornbill thornbill merged commit 4598d66 into jellyfin:release-10.9.z Aug 5, 2024
11 checks passed
thornbill added a commit that referenced this pull request Aug 5, 2024
Fix overly aggressive view caching

Original-merge: 4598d66

Merged-by: thornbill <thornbill@users.noreply.github.com>

Backported-by: thornbill <thornbill@users.noreply.github.com>
@jellyfin-bot jellyfin-bot removed the stable backport Backport into the next stable release label Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working regression We broke something
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants