[PR #178] Fix race progress bar lap desync (#157) #197

Open
opened 2026-05-07 00:19:09 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/IAmTomShaw/f1-race-replay/pull/178
Author: @apna-colleg
Created: 1/20/2026
Status: 🔄 Open

Base: mainHead: fix-progress-bar-lap-sync


📝 Commits (1)

📊 Changes

1 file changed (+96 additions, -20 deletions)

View changed files

📝 src/ui_components.py (+96 -20)

📄 Description

Fixes #157

The progress bar now correctly maps replay time to lap number
using lap start times instead of total race duration.

  • Correct lap label display
  • Progress bar accurately reflects race progress
  • Tested locally with multiple races

🔄 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/178 **Author:** [@apna-colleg](https://github.com/apna-colleg) **Created:** 1/20/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `fix-progress-bar-lap-sync` --- ### 📝 Commits (1) - [`b51bcdf`](https://github.com/IAmTomShaw/f1-race-replay/commit/b51bcdf89e8bd85760731475248931f3f08ea080) Fix race progress bar lap desync (#157) ### 📊 Changes **1 file changed** (+96 additions, -20 deletions) <details> <summary>View changed files</summary> 📝 `src/ui_components.py` (+96 -20) </details> ### 📄 Description Fixes #157 The progress bar now correctly maps replay time to lap number using lap start times instead of total race duration. - Correct lap label display - Progress bar accurately reflects race progress - Tested locally with multiple races --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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#197
No description provided.