live_timing: Lap coloring #88

Merged
joaj merged 1 commit from lap-coloring into master 2026-09-09 19:35:13 +00:00
Owner

Closes #81

Colors each lap in the live timing table by how it compares to the best time:

  • green: fastest lap for that car
  • purple: fastest lap of the whole event
  • yellow: not the fastest lap for that car

Lap time is parsed from the time/lap_time field and the car identified by
car_number/vehicle_number. Laps with unparseable times are left uncolored.
Computed server-side in the laps API; the browser just applies a CSS class.

Closes #81 Colors each lap in the live timing table by how it compares to the best time: - green: fastest lap for that car - purple: fastest lap of the whole event - yellow: not the fastest lap for that car Lap time is parsed from the time/lap_time field and the car identified by car_number/vehicle_number. Laps with unparseable times are left uncolored. Computed server-side in the laps API; the browser just applies a CSS class.
live_timing: color laps by how they compare to the best time
All checks were successful
ci/woodpecker/pr/main Pipeline was successful
9484cb7769
Green for a car's fastest lap, purple for the event's fastest lap,
yellow for any other lap. Lap time is parsed from the time/lap_time
field and the car identified by car_number/vehicle_number; laps with
unparseable times are left uncolored. Computed server-side in the
laps API so the browser just applies a CSS class.
joaj force-pushed lap-coloring from 9484cb7769
All checks were successful
ci/woodpecker/pr/main Pipeline was successful
to 3f19dfa210
All checks were successful
ci/woodpecker/pr/main Pipeline was successful
2026-09-09 19:31:49 +00:00
Compare
joaj merged commit a6d8ebce7b into master 2026-09-09 19:35:13 +00:00
joaj deleted branch lap-coloring 2026-09-09 19:35:13 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
fspt/timekeeping!88
No description provided.