Skip to content

2.1 Track elevation, downloaded session markers and leaderboard UI fixes - #95

Merged
adn8naiagent merged 3 commits into
stagingfrom
dev
Jun 29, 2026
Merged

adn8naiagent merged 3 commits into
stagingfrom
dev

Conversation

@adn8naiagent

Copy link
Copy Markdown
Owner

No description provided.

adn8naiagent and others added 3 commits June 29, 2026 19:03
The live leaderboard's width calculation undercounted its columns
versus the replay page, so right-hand columns (e.g. tyre age) were
clipped off the edge, most visibly on narrow/portrait screens.

Bring live's leaderboardWidth in line with replay's leaderboardWidthFull:
add the last-lap column, reserve sectors for all non-race sessions
(practice + qualifying, not just qualifying), and add the non-race gap
margin.

Reported by @meekha3l.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Mark each session with a green dot when it has been pre-computed
(replay.json present) so users can see which sessions play instantly
versus which will be processed on demand. Hovering shows the stored
size.

- storage: add list_sizes() for local and R2 backends
- sessions events endpoint: one listing per season, tag each session
  with precomputed + size_bytes
- session picker: green dot marker + size tooltip
- features page: explain what the dot means

Suggested by @avergeichik.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Colour the track map by elevation from the telemetry Z channel, on a
fixed absolute metres scale shared across all circuits so flat tracks
stay uniformly dark and hilly tracks show a strong gradient. Slate ->
cyan -> white ramp with an on-map legend showing the total elevation
change. When a driver's sector shading is selected, those sector
colours layer on top of the elevation.

- backend track.json: per-point height above the track's lowest point
  plus an elevation range block (requires recompute)
- trackRenderer: bucketed elevation colouring + sector layering
- TrackCanvas: elevation props and legend overlay
- settings: showElevation toggle (Settings > Track Map), off by default
- features page: Track Elevation section
- CHANGELOG: 2.1 entry, credited @db-can

Suggested by @db-can.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@adn8naiagent
adn8naiagent merged commit 513f217 into staging Jun 29, 2026
1 check passed
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