mirror of
https://github.com/IAmTomShaw/f1-race-replay.git
synced 2026-05-09 08:25:56 +02:00
[PR #258] [MERGED] Pit-stop indicator for the leaderboard #254
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#254
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/258
Author: @ShivaShaklya
Created: 3/14/2026
Status: ✅ Merged
Merged: 5/4/2026
Merged by: @IAmTomShaw
Base:
main← Head:main📝 Commits (3)
53260a9Pit-stop indicator for the leaderboardcdbd463Comment edit2da7506Merge branch 'IAmTomShaw:main' into main📊 Changes
2 files changed (+64 additions, -3 deletions)
View changed files
📝
src/f1_data.py(+41 -1)📝
src/ui_components.py(+23 -2)📄 Description
Summary
This PR adds a PIT indicator to the race replay leaderboard to show when a driver is currently in the pit lane during a race replay.
The indicator is displayed as PIT next to the driver name and is rendered in white so that it remains visually distinct.
Changes
PitInTimePitOutTimein_pitflag to driver frame data.The existing OUT indicator was already present but its color was modified for better readability.
Example
Motivation
This improves race replay readability by making pit stops visible on the leaderboard and highlighting their impact on race order and strategy.
Future Work
This PR aims to lay the groundwork for a visual pit-entry and exit sim addition, where cars entering the pit lane can be shown during the replay to better represent pit stop events.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.