Skip to content

Conversation

@tariknz
Copy link
Owner

@tariknz tariknz commented Aug 1, 2025

Adds wheel styles to steer trace in the input overlay

Screenshot 2025-08-01 at 12 05 02 PM
wheels.mp4

Copilot AI review requested due to automatic review settings August 1, 2025 00:08
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 introduces customizable wheel styles and colors for the steering wheel component in the input overlay. It adds a comprehensive set of racing-themed wheel designs with both light and dark color variants, enhancing the visual customization options for users.

Key changes:

  • Added new wheel style options: formula, LMP, NASCAR, U-shape, and default
  • Implemented light and dark color themes for each wheel style
  • Updated settings structure to accommodate the new wheel configuration options

Reviewed Changes

Copilot reviewed 17 out of 17 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/frontend/components/Settings/types.ts Added SteerWidgetSettings interface and updated InputWidgetSettings structure
src/frontend/components/Settings/sections/InputSettings.tsx Added UI controls for wheel style and color selection with migration logic
src/frontend/components/Input/InputSteer/wheels/*.tsx New SVG components for various wheel styles in light and dark variants
src/frontend/components/Input/InputSteer/InputSteer.tsx Updated component to support dynamic wheel style and color selection
src/frontend/components/Input/InputContainer/InputContainer.tsx Pass wheel configuration props to InputSteer component
Comments suppressed due to low confidence (1)

src/frontend/components/Settings/sections/InputSettings.tsx:263

  • The option value 'ushape' should be 'round' to match the type definition which includes 'round' but not 'ushape'. The type definition specifies 'round' as one of the valid values.
                    <option value="ushape">U-Shape</option>

@tariknz tariknz merged commit 4ad4831 into main Aug 1, 2025
1 check passed
@tariknz tariknz deleted the feat/wheels branch August 1, 2025 00:16
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.

2 participants