mirror of
https://github.com/IAmTomShaw/f1-race-replay.git
synced 2026-05-09 08:25:56 +02:00
[PR #222] Feature: Tyre Strategy Timeline Panel #231
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#231
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/222
Author: @darsh-shah4548
Created: 2/6/2026
Status: 🔄 Open
Base:
main← Head:feature/tyre-strategy-timeline📝 Commits (2)
3e49748Add tyre strategy timeline panel (resolves #95)e8e6e19Remove New/Used tyre legend and brightness dimming📊 Changes
5 files changed (+395 additions, -8 deletions)
View changed files
📝
main.py(+1 -0)📝
src/arcade_replay.py(+3 -1)📝
src/f1_data.py(+64 -0)📝
src/interfaces/race_replay.py(+24 -7)📝
src/ui_components.py(+303 -0)📄 Description
Summary
Adds a toggleable Tyre Strategy Timeline panel that lets users compare drivers' compound strategies during race replays. Resolves #95.
Tto toggle the panel on/offHow It Works
Tto open the strategy panelFiles Changed (100% additive)
src/ui_components.pyTyreStrategyTimelineComponentclass + constants + 1 help entrysrc/f1_data.pyextract_strategy_data()function + cache integrationsrc/interfaces/race_replay.pysrc/arcade_replay.pystrategy_dataparameter passthroughmain.pyAll existing components (LeaderboardComponent, WeatherComponent, DriverInfoComponent, etc.) are completely untouched. No contributor's git blame is affected.
Screenshots
Test Plan
T— strategy bars appearTagain — panel hides cleanlyH— "T - Toggle Tyre Strategy" appears in help popup🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.