Use room watching functionality to receive realtime daily challenge updates #28659
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
2024-06-28.12-59-38.mp4
Also contains some drive-by fixes to issues I didn't spot before (music not playing, crash in breakdown on all initial zero counts, etc.)
Known deficiencies:
but (a) it probably needs a stagger lest we DDoS osu-web by doing this the naive way as above, and (b) I kinda do want to see if I can figure out a way to do this better in general because the leaderboard is by far the worst part of this screen (visually even) after these changes, so maybe I'll give it some time next week to see if I can steal a leaderboard design from somewhere else that could perhaps also enable dynamic updates without refetching the entire leaderboard.
If wanting to test locally, you must have osu-web, osu-server-spectator, and osu-queue-score-statistics (on
queue watch
) running in tandem.