mirror of
https://github.com/IAmTomShaw/f1-race-replay.git
synced 2026-05-09 08:25:56 +02:00
[PR #85] [MERGED] feat: add toggle for leader gap vs interval #129
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#129
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/85
Author: @AlgoFoe
Created: 12/19/2025
Status: ✅ Merged
Merged: 1/28/2026
Merged by: @IAmTomShaw
Base:
main← Head:Feature-Gap-Toggle📝 Commits (6)
0a15b33feat: add toggle for leader gap vs intervalb057729Merge branch 'main' into Feature-Gap-Togglea280744Merge branch 'IAmTomShaw:main' into Feature-Gap-Toggleb9d61adchanged toggle to radio btn7a17815changed to radio btnsd1f200dText rendering fix for gaps📊 Changes
2 files changed (+159 additions, -1 deletions)
View changed files
📝
src/interfaces/race_replay.py(+37 -0)📝
src/ui_components.py(+122 -1)📄 Description
What this PR does
Adds a toggle that allows switching the leaderboard gap display between:
Why
Different viewers prefer different gap representations, and aligns the replay with the actual F1 broadcast behavior
Implementation notes
Video
https://github.com/user-attachments/assets/39600739-0f68-4277-a814-a854249ac1da
[Gap calculation logic adapted from PR #83]
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.