[PR #99] [MERGED] feat: adding toogles for UI components #140

Closed
opened 2026-05-07 00:18:52 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/IAmTomShaw/f1-race-replay/pull/99
Author: @GuiMSR
Created: 12/21/2025
Status: Merged
Merged: 12/22/2025
Merged by: @IAmTomShaw

Base: mainHead: Feat-64


📝 Commits (4)

  • b01d990 FEAT-64 - Adding toogles for UI components
  • 46bb4ca FEAT-64: --no-hud main parameter to only display track without HUD
  • ef4bda4 FEAT-64: Update README with --no-hud parameter
  • 1a66497 Fixing indentation and legend placement

📊 Changes

5 files changed (+223 additions, -115 deletions)

View changed files

📝 README.md (+5 -0)
📝 main.py (+11 -7)
📝 src/arcade_replay.py (+3 -1)
📝 src/interfaces/race_replay.py (+39 -90)
📝 src/ui_components.py (+165 -17)

📄 Description

Implements feature in Issue 64
Fixes https://github.com/IAmTomShaw/f1-race-replay/issues/64

  • Adds a new argument "--no-hud" when main.py is run to not display HUD, only the track with dots
  • Code for drawing legend UI component moved from race_replay to ui_components, thus removing code duplication
  • Update README with "--no-hud" example

--- Previous content before comments ----

  • Toogles for visibility of the weather, leaderboard, controls, lap and track condition UI components and even the track itself
  • Toogle to display everything
  • Added instructions in the controls section
  • Code for drawing legend UI component moved from race_replay to ui_components, thus removing code duplication

https://github.com/user-attachments/assets/f46eeedc-29f4-4fa0-bc03-306b625da399


🔄 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/99 **Author:** [@GuiMSR](https://github.com/GuiMSR) **Created:** 12/21/2025 **Status:** ✅ Merged **Merged:** 12/22/2025 **Merged by:** [@IAmTomShaw](https://github.com/IAmTomShaw) **Base:** `main` ← **Head:** `Feat-64` --- ### 📝 Commits (4) - [`b01d990`](https://github.com/IAmTomShaw/f1-race-replay/commit/b01d99069469daa613a4614d3e91fcd8ea99f5b4) FEAT-64 - Adding toogles for UI components - [`46bb4ca`](https://github.com/IAmTomShaw/f1-race-replay/commit/46bb4cacad454f85a63fa736a9386634ece5358d) FEAT-64: --no-hud main parameter to only display track without HUD - [`ef4bda4`](https://github.com/IAmTomShaw/f1-race-replay/commit/ef4bda498fdcb6a3cd3675f5c1413dacb03d03db) FEAT-64: Update README with --no-hud parameter - [`1a66497`](https://github.com/IAmTomShaw/f1-race-replay/commit/1a664974776c09bcb8431d243fba2272d7cc4786) Fixing indentation and legend placement ### 📊 Changes **5 files changed** (+223 additions, -115 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+5 -0) 📝 `main.py` (+11 -7) 📝 `src/arcade_replay.py` (+3 -1) 📝 `src/interfaces/race_replay.py` (+39 -90) 📝 `src/ui_components.py` (+165 -17) </details> ### 📄 Description Implements feature in Issue 64 Fixes https://github.com/IAmTomShaw/f1-race-replay/issues/64 * Adds a new argument "--no-hud" when main.py is run to not display HUD, only the track with dots * Code for drawing legend UI component moved from race_replay to ui_components, thus removing code duplication * Update README with "--no-hud" example --- Previous content before comments ---- * Toogles for visibility of the weather, leaderboard, controls, lap and track condition UI components and even the track itself * Toogle to display everything * Added instructions in the controls section * Code for drawing legend UI component moved from race_replay to ui_components, thus removing code duplication https://github.com/user-attachments/assets/f46eeedc-29f4-4fa0-bc03-306b625da399 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-07 00:18:52 +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#140
No description provided.