Skip to content

Conversation

@tariknz
Copy link
Owner

@tariknz tariknz commented Aug 3, 2025

Adds flags to standings and relative:

image image

@tariknz tariknz changed the title Chore/data api feat: flars / country flags Aug 3, 2025
@tariknz tariknz changed the title feat: flars / country flags feat: add flairs / country flags Aug 3, 2025
@tariknz tariknz marked this pull request as ready for review August 15, 2025 06:40
Copilot AI review requested due to automatic review settings August 15, 2025 06:40
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds country flag/flair support to the application by implementing a complete system for fetching, displaying, and configuring country flags for drivers.

  • Implements a new data fetching pipeline for flairs from the iRacing API
  • Adds a CountryFlag component that displays country flags based on FlairID values
  • Integrates country flags into both Standings and Relative components with configurable visibility

Reviewed Changes

Copilot reviewed 24 out of 27 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
tools/login.ts Implements authentication to iRacing API for data fetching
tools/get-flairs.ts Fetches flair/country data from iRacing API
tools/get-tracks.ts Fetches track asset data from iRacing API
tools/get-tracks-info.ts Fetches track information from iRacing API
tools/download-track-svgs.ts Downloads track SVG assets
tools/index.ts Updates main data fetching pipeline
src/frontend/components/Standings/components/CountryFlag/* New component for displaying country flags
src/frontend/components/Standings/* Updates standings components to include flair support
src/frontend/components/Settings/* Adds configuration options for country flag visibility
package.json Adds flag-icons dependency
Comments suppressed due to low confidence (1)

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@tariknz tariknz merged commit 1332fde into main Aug 15, 2025
1 check passed
@tariknz tariknz deleted the chore/data-api branch August 15, 2025 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants