Skip to content

Polish the maps overview, add podium cards and widen the site - #30

Merged
github-actions[bot] merged 2 commits into
sourcejump:u/zasbufrom
zasbu:fix/compact-tier-spacing
Nov 9, 2026
Merged

github-actions[bot] merged 2 commits into
sourcejump:u/zasbufrom
zasbu:fix/compact-tier-spacing

Conversation

@zasbu

@zasbu zasbu commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

The maps overview now keeps the chart and compact tier legend centered, makes selected tiers clear without moving their contents, and aligns New with Played this week even for short lists. All tiers follows the legend's exact width, the selected tier starts flush with its badge, and summary details stay close to map names. The redundant visible Maps heading is removed.

Map cards use full-card imagery with a horizontal fade only, real top-three main-track records for the chosen style, aligned names/times, and honest empty or partial boards. Podiums are rendered on the server, cached for 30 seconds with the WR in the cache key, and fetched six at a time. Container queries give three cards on desktop, four on wider screens, two on tablets and one on phones; long names wrap without clipping. The shared site sheet expands halfway from its old width to the viewport, with headers and page content aligned.

The API fix filters newest and weekly activity by tier before ranking and taking five results; totals remain global. Deployment note: this preview workflow deploys the web app only. Beta's API still needs a separate rollout of commit 6c301e7 before selected-tier activity can return the correct five maps. The web app does not mislabel the old global top five as a complete tier ranking.

Validation: seven map-list integration tests, offline API compilation and workspace Clippy, generated API/schema checks, web lint/types/format, 113 unit tests (one existing skip), production web build, and 11 focused Playwright tests including visual snapshots. Chromium and Firefox checks covered desktop through 320px layouts, complete text, image fallback and stable podium dimensions. The seed-only bhop_forest navigation scenario was not run against beta.

@github-actions
github-actions Bot merged commit 10b1231 into sourcejump:u/zasbu Nov 9, 2026
2 of 3 checks passed
@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown

Merged into u/zasbu. It'll be live at https://zasbu-sj.okwhiteli.st in a few minutes.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant