Skip to content

WebHost: Stats page adjustments - #6342

Open
duckboycool wants to merge 1 commit into
ArchipelagoMW:mainfrom
duckboycool:stats_adjust
Open

WebHost: Stats page adjustments#6342
duckboycool wants to merge 1 commit into
ArchipelagoMW:mainfrom
duckboycool:stats_adjust

Conversation

@duckboycool

Copy link
Copy Markdown
Collaborator

What is this fixing or adding?

A few different changes for things on the stats page on the website.

  • Colors are assigned in the order of most played, since those are next to each other on the pie chart. Before similar colors often ended up next to each other by chance. I also replaced the palette generation with a method that makes neighboring colors far apart (since they're no longer kind of random on the chart) and which won't break asking for 360 or more colors.
  • Capped the length of game names on the legend labels so that the legend doesn't take up as much horizontal space and cover things up as much. Although the legend (and also just kinda the line plot generally) are maybe of questionable value anyway with as many games as on the main website.
  • Removed the legend on the per-game plots, since this seems to have been the intention from the comments. (Also was it intended that they're shown in ascending order of games instead of descending?)
  • Made the width of the bars on per-game plots not tiny, so now you can see them better and actually hover over them.

How was this tested?

Looking at the page on local webhost, with some partially mocked data.

If this makes graphical changes, please attach screenshots.

image image

@github-actions github-actions Bot added affects: webhost Issues/PRs that touch webhost and may need additional validation. waiting-on: peer-review Issue/PR has not been reviewed by enough people yet. labels Jul 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

affects: webhost Issues/PRs that touch webhost and may need additional validation. waiting-on: peer-review Issue/PR has not been reviewed by enough people yet.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant