Skip to content

fixed fla bug#1031

Merged
1Blademaster merged 1 commit into
mainfrom
1030-bug-fla-crashes-due-to-missing-import
Mar 1, 2026
Merged

fixed fla bug#1031
1Blademaster merged 1 commit into
mainfrom
1030-bug-fla-crashes-due-to-missing-import

Conversation

@Kwash67
Copy link
Copy Markdown
Contributor

@Kwash67 Kwash67 commented Mar 1, 2026

No description provided.

@Kwash67 Kwash67 requested review from a team and Copilot March 1, 2026 02:12
@Kwash67 Kwash67 linked an issue Mar 1, 2026 that may be closed by this pull request
Copy link
Copy Markdown
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 fixes a bug in the Flight Log Analyser (FLA) graph component where the time scale type (used when UTC timestamps are available, via fgcsOptions) was failing because TimeScale was not registered with Chart.js and the chartjs-adapter-moment date adapter was not imported.

Changes:

  • Adds import "chartjs-adapter-moment" as a side-effect import to wire up the Moment.js date adapter for Chart.js time scales
  • Imports and registers TimeScale from chart.js so the type: "time" axis configuration in fgcsOptions works correctly

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

Comment thread gcs/src/components/fla/graph.jsx
@1Blademaster 1Blademaster merged commit e0daada into main Mar 1, 2026
9 checks passed
@1Blademaster 1Blademaster deleted the 1030-bug-fla-crashes-due-to-missing-import branch March 1, 2026 11:59
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.

[BUG] FLA crashes due to missing import

3 participants