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

Add drawable channel caching to new chat overlay #18246

Merged
merged 6 commits into from May 19, 2022

Conversation

jai-x
Copy link
Member

@jai-x jai-x commented May 12, 2022

Part of #17001

Re-adds caching behaviour present in old overlay

osu.Game/Overlays/ChatOverlayV2.cs Outdated Show resolved Hide resolved
osu.Game/Overlays/ChatOverlayV2.cs Outdated Show resolved Hide resolved
@jai-x jai-x requested review from frenzibyte and peppy May 13, 2022 23:15
@pull-request-size pull-request-size bot added size/L and removed size/M labels May 18, 2022
@frenzibyte
Copy link
Member

I can still see some edge-cases with the caching logic (e.g. select channel 1 -> select channel 2 -> select channel 1 back while it's still loading; game freezes until channel 1 finishes loading), but given that this matches the logic in the old overlay, I've added test coverage for the currently working behaviour at least. Looks fine to me, but going to wait for a second review.

@peppy peppy merged commit d187ca2 into ppy:master May 19, 2022
@jai-x jai-x deleted the new-chat-cache-loaded-channels branch May 20, 2022 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants