mirror of
https://github.com/IAmTomShaw/f1-race-replay.git
synced 2026-05-09 08:25:56 +02:00
[PR #278] [MERGED] feat: add Race Control Feed insight window with synced FIA race messages #266
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#266
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/278
Author: @4f4d
Created: 4/17/2026
Status: ✅ Merged
Merged: 4/17/2026
Merged by: @IAmTomShaw
Base:
main← Head:feature/race-control-feed📝 Commits (2)
27957a7feat: add Race Control Feed insight window with synced FIA race messages87150f9Merge branch 'main' into feature/race-control-feed📊 Changes
6 files changed (+391 additions, -10 deletions)
View changed files
📝
main.py(+2 -1)📝
src/f1_data.py(+46 -0)📝
src/gui/insights_menu.py(+14 -0)➕
src/insights/race_control_feed_window.py(+294 -0)📝
src/interfaces/race_replay.py(+31 -7)📝
src/run_session.py(+4 -2)📄 Description
Closes #277
Summary
Adds a new Race Control Feed insight window that displays FIA race control messages (flags, penalties, safety car, DRS, investigations) as a scrolling feed synced to the replay timeline.
Changes
Data Pipeline (
src/f1_data.py)session.race_control_messagesfrom FastF1Broadcast System (
src/interfaces/race_replay.py)has_rc_dataflag for deterministic empty-state handling_ref_total_lengthwith defensive int() casting)UI (
src/insights/race_control_feed_window.py) [NEW]Integration
main.py/run_session.py: Pass RC messages through the replay pipelineinsights_menu.py: New "Race Events" category in the Insights MenuDesign Decisions
.get('race_control_messages', [])handles old cache files gracefullyTesting
py_compileScreenshots
Added "Race Events" Section in Insights Menu
Race Control Feed Window
How it looks visually for a Race
https://github.com/user-attachments/assets/91131bc5-c244-4a44-8599-7fa2c424de6b
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.