mirror of
https://github.com/IAmTomShaw/f1-race-replay.git
synced 2026-05-09 08:25:56 +02:00
[PR #108] Add simple flags to the UI #144
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#144
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/108
Author: @cbrowning04
Created: 12/22/2025
Status: 🔄 Open
Base:
main← Head:add-flags-to-ui📝 Commits (3)
1784278feat: simple flag display for UIa2252e9feat: add FlagComponent; feat: add flag to UI for qualifying3d61ee8fix: resolve merge conflicts📊 Changes
24 files changed (+73 additions, -4 deletions)
View changed files
➕
images/flags/abu_dhabi.png(+0 -0)➕
images/flags/australian.png(+0 -0)➕
images/flags/austrian.png(+0 -0)➕
images/flags/azerbaijan.png(+0 -0)➕
images/flags/bahrain.png(+0 -0)➕
images/flags/belgian.png(+0 -0)➕
images/flags/british.png(+0 -0)➕
images/flags/canadian.png(+0 -0)➕
images/flags/chinese.png(+0 -0)➕
images/flags/dutch.png(+0 -0)➕
images/flags/hungarian.png(+0 -0)➕
images/flags/italian.png(+0 -0)➕
images/flags/japanese.png(+0 -0)➕
images/flags/mexico_city.png(+0 -0)➕
images/flags/monaco.png(+0 -0)➕
images/flags/qatar.png(+0 -0)➕
images/flags/saudi_arabian.png(+0 -0)➕
images/flags/singapore.png(+0 -0)➕
images/flags/spanish.png(+0 -0)➕
images/flags/são_paulo.png(+0 -0)...and 4 more files
📄 Description
Description
This PR aims to introduce simple flags to the user interface. The flag corresponds to the host country of each race.
For the addition of new flags, flags can be sourced from https://www.freeflagicons.com/.
Examples
Britain

Azerbaijan

Aliases behaving as expected

Additional Comments
Flags have only been added for races included in the 2025 season, therefore any races discontinued before this season will not be available. Conditional drawing of flags is implemented, therefore no errors are raised when flags aren't available.
Also be aware that with the current implementation, qualifying is not supported.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.