- 
                Notifications
    You must be signed in to change notification settings 
- Fork 16
feat: add flairs / country flags #58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this 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.
Adds flags to standings and relative: