[PR #184] [CLOSED] Feat: Real-time Fastest Lap Indicator on Leaderboard #203

Closed
opened 2026-05-07 00:19:11 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/IAmTomShaw/f1-race-replay/pull/184
Author: @LRxDarkDevil
Created: 1/23/2026
Status: Closed

Base: mainHead: feature/fastest-lap-indicator


📝 Commits (1)

  • 18c3906 Feat: Add real-time Fastest Lap indicator to leaderboard

📊 Changes

3 files changed (+1505 additions, -772 deletions)

View changed files

NewIdeasRecommendation.md (+42 -0)
📝 src/f1_data.py (+364 -171)
📝 src/ui_components.py (+1099 -601)

📄 Description

Summary

This PR implements a real-time 'Fastest Lap' (FL) indicator on the race leaderboard.

Changes

  • Backend (src/f1_data.py):
    • Calculates the timeline of who holds the fastest lap record throughout the race.
    • Updates the frame data to include a fastest_lap boolean flag for the relevant driver.
  • Frontend (src/ui_components.py):
    • Adds a purple 'FL' label next to the driver's name/tyre in the LeaderboardComponent.
  • Documentation:
    • Added NewIdeasRecommendation.md with further suggestions for the project.

Motivation

Closes #109. This adds a crucial piece of data for following the championship battle and race strategy directly on the leaderboard.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/IAmTomShaw/f1-race-replay/pull/184 **Author:** [@LRxDarkDevil](https://github.com/LRxDarkDevil) **Created:** 1/23/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feature/fastest-lap-indicator` --- ### 📝 Commits (1) - [`18c3906`](https://github.com/IAmTomShaw/f1-race-replay/commit/18c3906bd76202feedfeb813a06140d0285a7bcc) Feat: Add real-time Fastest Lap indicator to leaderboard ### 📊 Changes **3 files changed** (+1505 additions, -772 deletions) <details> <summary>View changed files</summary> ➕ `NewIdeasRecommendation.md` (+42 -0) 📝 `src/f1_data.py` (+364 -171) 📝 `src/ui_components.py` (+1099 -601) </details> ### 📄 Description ## Summary This PR implements a real-time 'Fastest Lap' (FL) indicator on the race leaderboard. ## Changes - **Backend (src/f1_data.py)**: - Calculates the timeline of who holds the fastest lap record throughout the race. - Updates the frame data to include a fastest_lap boolean flag for the relevant driver. - **Frontend (src/ui_components.py)**: - Adds a purple 'FL' label next to the driver's name/tyre in the LeaderboardComponent. - **Documentation**: - Added NewIdeasRecommendation.md with further suggestions for the project. ## Motivation Closes #109. This adds a crucial piece of data for following the championship battle and race strategy directly on the leaderboard. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-07 00:19:11 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/f1-race-replay#203
No description provided.