Skip to content

Conversation

@thkruz
Copy link
Owner

@thkruz thkruz commented Nov 25, 2025

No description provided.

Copilot AI review requested due to automatic review settings November 25, 2025 00:52
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 updates the application version to 11.0.3 and modifies color handling for OemSatellite objects to use configurable colors instead of hardcoded values.

  • Version bumped from 11.0.1/11.0.2 to 11.0.3 across multiple files
  • OemSatellite now has configurable dotColor and orbitColor properties
  • Color schemes updated to use OemSatellite's dotColor instead of hardcoded orange

Reviewed changes

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

Show a summary per file
File Description
src/settings/version.js Updated VERSION constant to 11.0.3
src/plugins-pro Updated subproject commit reference
src/engine/rendering/color-schemes/object-type-color-scheme.ts Changed to use OemSatellite's dotColor property, reorganized imports
src/engine/rendering/color-schemes/celestrak-color-scheme.ts Changed to use OemSatellite's dotColor property
src/app/rendering/orbit-manager.ts Added logic to use OemSatellite's dotColor for hover state
src/app/objects/oem-satellite.ts Added orbitColor and dotColor properties with default values
package.json Updated version to 11.0.3
README.md Updated version badge to 11.0.3

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

moonPositionCache_: { [key: number]: { position: { x: number; y: number; z: number } } } = {};

orbitColor: vec4 = LineColors.GREEN;
dotColor: rgbaArray = [0, 255, 0, 1];
Copy link

Copilot AI Nov 25, 2025

Choose a reason for hiding this comment

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

The dotColor values appear to be in 0-255 range, but rgbaArray is typically expected to be normalized floats between 0.0-1.0 based on the removed hardcoded value [1.0, 0.5, 0.0, 1.0]. This should be [0.0, 1.0, 0.0, 1.0] to match the expected format.

Suggested change
dotColor: rgbaArray = [0, 255, 0, 1];
dotColor: rgbaArray = [0.0, 1.0, 0.0, 1.0];

Copilot uses AI. Check for mistakes.
@sonarqubecloud
Copy link

@thkruz thkruz merged commit 1b53b95 into main Nov 25, 2025
16 of 18 checks passed
@thkruz thkruz deleted the hotfix-oem-orbit-color branch November 25, 2025 09:39
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