Skip to content

340 remove outdated accel curve option#343

Closed
hydrowoxy wants to merge 4 commits intomainfrom
340-remove-outdated-accel-curve-option
Closed

340 remove outdated accel curve option#343
hydrowoxy wants to merge 4 commits intomainfrom
340-remove-outdated-accel-curve-option

Conversation

@hydrowoxy
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings January 15, 2026 05:12
@hydrowoxy hydrowoxy closed this Jan 15, 2026
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 removes the outdated ACCEL_CURVE analyzer option from both front-end and back-end codebases, along with its associated configuration and assets.

Changes:

  • Removed ACCEL_CURVE enum value from both TypeScript and Java AnalyzerType definitions
  • Removed ACCEL_CURVE configuration block from AnalyzerTypes.ts including its description, image reference, and links
  • Removed accelImage import from assets/help/index.ts
  • Removed SHIFT_CURVE enum value from backend Java AnalyzerType
  • Swapped axis order in the "Shift Curve" preset from [RPM PRIM, RPM SEC] to [RPM SEC, RPM PRIM]

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
front-end/src/types/ApiTypes.ts Removed ACCEL_CURVE from AnalyzerType enum
front-end/src/types/AnalyzerTypes.ts Removed ACCEL_CURVE configuration block and related imports (accelImage, interpolateImage)
front-end/src/lib/subteamGraphPresets.ts Swapped axes order in "Shift Curve" preset
front-end/src/assets/help/index.ts Removed accelImage import and export
backend/src/main/java/com/mcmasterbaja/model/AnalyzerType.java Removed ACCEL_CURVE and SHIFT_CURVE enum values

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@@ -1,4 +1,3 @@
import accelImage from '@assets/help/accel.png';
import interpolateImage from '@assets/help/interpolate.png';
Copy link

Copilot AI Jan 15, 2026

Choose a reason for hiding this comment

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

The image file accel.png is no longer imported or used after removing the ACCEL_CURVE analyzer configuration. This file should be deleted from the repository to avoid accumulating unused assets.

Copilot uses AI. Check for mistakes.
Comment on lines 10 to +11
axes: [
{ source: 'RPM PRIM.csv', dataType: 'RPM PRIM' },
{ source: 'RPM SEC.csv', dataType: 'RPM SEC' },
{ source: 'RPM PRIM.csv', dataType: 'RPM PRIM' },
Copy link

Copilot AI Jan 15, 2026

Choose a reason for hiding this comment

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

The axes have been swapped in a way that contradicts the description. The description states "Secondary RPM vs Primary RPM", which means Secondary RPM (Y-axis) should be plotted against Primary RPM (X-axis). Based on the pattern used in other presets (e.g., "Vehicle speed vs Timestamp" where Timestamp is first and speed is second), the axes should be ordered as [RPM PRIM, RPM SEC] (Primary first as X-axis, Secondary second as Y-axis). The current order [RPM SEC, RPM PRIM] produces the opposite: Primary vs Secondary.

Suggested change
{ source: 'RPM SEC.csv', dataType: 'RPM SEC' },
{ source: 'RPM PRIM.csv', dataType: 'RPM PRIM' },
{ source: 'RPM PRIM.csv', dataType: 'RPM PRIM' },
{ source: 'RPM SEC.csv', dataType: 'RPM SEC' },

Copilot uses AI. Check for mistakes.
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