Skip to content

Implement qualifying knockout greying and lap-completion bubbles - #92

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

Implement qualifying knockout greying and lap-completion bubbles#92
adn8naiagent merged 3 commits into
stagingfrom
dev

Conversation

@adn8naiagent

Copy link
Copy Markdown
Owner

No description provided.

adn8naiagent and others added 3 commits June 27, 2026 23:19
Qualifying knockout greying:
- Derive each driver's reached segment from results Q1/Q2/Q3 columns and
  flag knocked_out per replay frame once a later segment begins; drivers
  keep their position and posted time and are dimmed in the leaderboard.
- Live: KnockedOut now sets a knocked_out flag instead of retired, so
  eliminated drivers stay visible and dimmed rather than dropping out.

Qualifying lap-completion bubbles:
- New top-of-track bubble per completed flying lap showing initials, lap
  time (timing-tower colour), and sector markers. Toggleable in
  Settings -> Leaderboard (qualifying only), default on.
- Extract the leaderboard's last-lap colour logic and sector squares into
  a shared lib/lapTiming module so the tower and bubble share one source.

Requires recompute for historical qualifying sessions.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- Sector indicators in qualifying trailed lap completion by ~4s because
  they were timed with the Q1 green-flag offset (used for the phase
  countdown) instead of the telemetry-aligned offset that lap times use.
  Time the sector block with min_date - t0_date so markers appear exactly
  when the car crosses the line, in sync with the last-lap time. Scoped to
  the sector block only; session_time_offset/countdown/gaps are untouched.
  Requires recompute for historical qualifying sessions.
- Delay the lap notification bubble by 0.5s so it appears just after the
  car crosses the line rather than just before.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
npm audit fix updated next 15.5.14 -> 15.5.19, resolving both high-severity
advisories and one moderate. Remaining 2 moderate (postcss CSS-stringify XSS,
bundled in next) require a breaking major change and are not applicable to a
static export with no untrusted CSS input.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@adn8naiagent
adn8naiagent merged commit b7ca17d into staging Jun 27, 2026
2 checks 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