Skip to content

Display beatmap state in RankedPlayUserDisplay#37188

Open
LiquidPL wants to merge 2 commits intoppy:masterfrom
LiquidPL:beatmap-state-display
Open

Display beatmap state in RankedPlayUserDisplay#37188
LiquidPL wants to merge 2 commits intoppy:masterfrom
LiquidPL:beatmap-state-display

Conversation

@LiquidPL
Copy link
Copy Markdown
Contributor

@LiquidPL LiquidPL commented Apr 3, 2026

This has gone through a few iterations, and eventually ended up as a simple text percentage display next to the username. I feel that adding another progress bar right next to the big healthbar would make things too cluttered, and trying to move the beatmap state elsewhere would make it too disconnected from the players that are potentially downloading a beatmap.

I considered making the local user fetch download progress data using BeatmapDownloadTracker instead of relying on BeatmapAvailability in order to get more frequent updates, but that would add a lot of extra complexity for little gain IMO.

Screencast_20260403_095644.webm

This has gone through a few iterations, and eventually ended up as
a simple text percentage display next to the username. I feel that
adding another progress bar right next to the big healthbar would make
things too cluttered.

I considered making the local user fetch download progress data using
`BeatmapDownloadTracker` instead of relying on `BeatmapAvailability`
in order to get more frequent updates, but that would add a lot of extra
complexity for little gain IMO.
@peppy
Copy link
Copy Markdown
Member

peppy commented Apr 3, 2026

Feels very hidden, but better than nothing i guess.

@LiquidPL
Copy link
Copy Markdown
Contributor Author

LiquidPL commented Apr 3, 2026

image

What about something like this? It's lifted directly from the multiplayer room participants list so it would need some adjusting. Could probably make the progress bar a little smaller at least.

Comment on lines +177 to +182
beatmapState.FadeIn(50);

switch (availability.State)
{
default:
beatmapState.FadeOut(50);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feels weird to fade in just to fade out.


case DownloadState.Downloading:
double progress = Math.Clamp(availability.DownloadProgress ?? 0, 0, 1);
beatmapState.Text = $"Downloading ({progress:P0})";
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably ellipsis ongoing operations downloading/importing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants