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 loading hides too early #5681

Merged
merged 1 commit into from
Jun 8, 2024

Conversation

dmitrylyzo
Copy link
Contributor

Some regressions:
#5402 - loading.hide is called on any Promise result.
#5573 - loading.show is called before runInterceptors.

Changes

  • Hide loading indicator on fail only.
    In case of resolved promise, loading is controlled by player and player events (at least that's how it's designed).
  • Don't hide loading indicator in interceptors.

Issues
#5674
This doesn't fixes the problem completely, but reverts 🤞 to its original behavior.

@dmitrylyzo dmitrylyzo added bug Something isn't working regression We broke something labels Jun 7, 2024
@dmitrylyzo dmitrylyzo added this to the v10.9.7 milestone Jun 7, 2024
@dmitrylyzo dmitrylyzo requested a review from a team as a code owner June 7, 2024 11:59
Copy link

sonarcloud bot commented Jun 7, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@thornbill thornbill added the stable backport Backport into the next stable release label Jun 8, 2024
@thornbill thornbill merged commit 674b0b1 into jellyfin:release-10.9.z Jun 8, 2024
9 checks passed
@dmitrylyzo dmitrylyzo deleted the fix-loading branch June 10, 2024 09:37
joshuaboniface pushed a commit that referenced this pull request Jun 23, 2024
Fix loading hides too early

Original-merge: 674b0b1

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

Backported-by: Joshua M. Boniface <joshua@boniface.me>
@jellyfin-bot jellyfin-bot removed the stable backport Backport into the next stable release label Jun 23, 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