[PR #227] [MERGED] Enhance Race Selection UI with Race-Wise Filtering and Window Behavior Improvements #234

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

📋 Pull Request Information

Original PR: https://github.com/IAmTomShaw/f1-race-replay/pull/227
Author: @ShivaShaklya
Created: 2/14/2026
Status: Merged
Merged: 2/15/2026
Merged by: @IAmTomShaw

Base: mainHead: main


📝 Commits (6)

  • 1b11888 removing unused imports
  • 801cb24 Letting race replay be paused by default, giving the user the freedom to start the replay on their own, setup customizations for the display before starting and not miss the initial lap (Better User Experience)
  • 1c14aef Automatically minimize Race Selection Window when the arcade window is ready
  • 64bd75a Added a race-wise filter for race selection to allow analysis and comparisons of race performance over the years at the same circuit
  • e08ccb9 Filter logic updated
  • ae7456d Auto-play on Race Replay and remove minimise

📊 Changes

2 files changed (+135 additions, -17 deletions)

View changed files

📝 src/f1_data.py (+50 -1)
📝 src/gui/race_selection.py (+85 -16)

📄 Description

Summary

This PR introduces an improvement in the race selection GUI by adding a race-wise filter that allows users to view the same Grand Prix across different years, enabling easier historical comparison.

Additionally, minor UI improvement are introduced for a better user experience

Changes Introduced

1. Race-Wise Filtering

  • Added a race-name based filter in the Race Selection UI.
  • Enables easier cross-year performance comparison and historical analysis.
  • Implemented independent filtering logic so users can filter either by Year or Race Name, avoiding conflicting filters.

2. Automatic Window Minimization

  • Automatically minimizing the Race Selection Window when the arcade is fully initialized.
  • Preventing visual clutter and improving the overall UX flow.

3. Race Replay Paused By Default

  • Letting the race replay be paused by default, giving the user the freedom to
    • start the replay on their own,
    • setup customizations for the display before starting
    • not miss the initial lap
  • Improved User Experience

4. Minor Fixes

  • Cleaned up unused imports.

Motivation

These changes aim to improve both usability and workflow efficiency for users exploring race replays, especially for multi-year comparisons and smoother UI transitions.

P.S.

This is my first-ever open source contribution and would love some feedback.
Love Formula 1, and Love the project ❤️


🔄 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/227 **Author:** [@ShivaShaklya](https://github.com/ShivaShaklya) **Created:** 2/14/2026 **Status:** ✅ Merged **Merged:** 2/15/2026 **Merged by:** [@IAmTomShaw](https://github.com/IAmTomShaw) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (6) - [`1b11888`](https://github.com/IAmTomShaw/f1-race-replay/commit/1b118882f5e7199b1cadd2159ee212811834a9c8) removing unused imports - [`801cb24`](https://github.com/IAmTomShaw/f1-race-replay/commit/801cb24e83502640e7c9f50c06f762c0e3dfd12f) Letting race replay be paused by default, giving the user the freedom to start the replay on their own, setup customizations for the display before starting and not miss the initial lap (Better User Experience) - [`1c14aef`](https://github.com/IAmTomShaw/f1-race-replay/commit/1c14aef7c8708adb4b1898075d494adc41fda8fe) Automatically minimize Race Selection Window when the arcade window is ready - [`64bd75a`](https://github.com/IAmTomShaw/f1-race-replay/commit/64bd75a899ce6ba8475f145573f051a6517f8301) Added a race-wise filter for race selection to allow analysis and comparisons of race performance over the years at the same circuit - [`e08ccb9`](https://github.com/IAmTomShaw/f1-race-replay/commit/e08ccb9d83cf4222bf0ff560098ccb962ec4fd98) Filter logic updated - [`ae7456d`](https://github.com/IAmTomShaw/f1-race-replay/commit/ae7456deff5d55c96e5a276301f419f3576516b6) Auto-play on Race Replay and remove minimise ### 📊 Changes **2 files changed** (+135 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `src/f1_data.py` (+50 -1) 📝 `src/gui/race_selection.py` (+85 -16) </details> ### 📄 Description ## Summary This PR introduces an improvement in the race selection GUI by adding a **race-wise filter** that allows users to view the same Grand Prix across different years, enabling easier historical comparison. Additionally, minor UI improvement are introduced for a better user experience ## Changes Introduced ### 1. Race-Wise Filtering - Added a **race-name based filter** in the Race Selection UI. - Enables easier **cross-year performance comparison** and historical analysis. - Implemented independent filtering logic so users can filter either by **Year** or **Race Name**, avoiding conflicting filters. ### 2. Automatic Window Minimization - Automatically minimizing the Race Selection Window when the arcade is fully initialized. - Preventing visual clutter and improving the overall UX flow. ### 3. Race Replay Paused By Default - Letting the race replay be paused by default, giving the user the freedom to - start the replay on their own, - setup customizations for the display before starting - not miss the initial lap - Improved User Experience ### 4. Minor Fixes - Cleaned up unused imports. ## Motivation These changes aim to improve both usability and workflow efficiency for users exploring race replays, especially for multi-year comparisons and smoother UI transitions. ## P.S. This is my first-ever open source contribution and would love some feedback. Love Formula 1, and Love the project ❤️ --- <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:20 +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#234
No description provided.