mirror of
https://github.com/IAmTomShaw/f1-race-replay.git
synced 2026-05-09 08:25:56 +02:00
[PR #253] Add fastest lap highlight to leaderboard #252
Labels
No labels
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/f1-race-replay#252
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/IAmTomShaw/f1-race-replay/pull/253
Author: @rawad-yared
Created: 3/13/2026
Status: 🔄 Open
Base:
main← Head:feature/fastest-lap-highlight📝 Commits (1)
ef19738Add fastest lap highlight to race replay leaderboard📊 Changes
3 files changed (+72 additions, -0 deletions)
View changed files
📝
src/f1_data.py(+61 -0)📝
src/interfaces/race_replay.py(+3 -0)📝
src/ui_components.py(+8 -0)📄 Description
Summary
Changes
src/f1_data.py— New_compute_fastest_lap_holders()function that embedsfastest_lapdata (driver, formatted time, lap number) into each framesrc/interfaces/race_replay.py— Passes fastest lap info from frame data to the window for leaderboard accesssrc/ui_components.py— Renders purple highlight (background + text) for the fastest lap holder inLeaderboardComponentTest plan
--refresh-datarun🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.