mirror of
https://github.com/IAmTomShaw/f1-race-replay.git
synced 2026-05-09 16:35:49 +02:00
[PR #50] [MERGED] feat: Add race progress bar with event markers (DNF, flags, lap transitions) #103
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#103
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/50
Author: @joacominatel
Created: 12/15/2025
Status: ✅ Merged
Merged: 12/16/2025
Merged by: @IAmTomShaw
Base:
main← Head:feature/progress-bar📝 Commits (10+)
a13b3c3Add RaceProgressBarComponent for visual race timeline with event markersa650757Add set_race_data method to RaceProgressBarComponent for race data handling5e8610bAdd internal methods to calculate bar dimensions and frame position3c279a4Add draw method for rendering progress bar with markers6d9536aAdd event marker drawing functionalityaa3ae8fAdd method to draw flag segments in RaceProgressBarComponent7fb8399Add on_resize method to RaceProgressBarComponent for dynamic bar dimension calculation51dc52eAdd tooltip drawing functionality to RaceProgressBarComponent for event markers56798d9Add legend drawing functionality to RaceProgressBarComponent for event markers791e34dAdd mouse press handling to RaceProgressBarComponent for seeking positions📊 Changes
2 files changed (+539 additions, -3 deletions)
View changed files
📝
src/interfaces/race_replay.py(+40 -3)📝
src/ui_components.py(+499 -0)📄 Description
This PR introduces a visual race progress bar at the bottom of the replay window that provides an "at-a-glance" timeline of the race with some important event markers.
src/ui_components.py- AddedRaceProgressBarComponentclass andextract_race_events()functionsrc/interfaces/race_replay.py- Integrated progress bar into the replay window🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.