Skip to content

Display firmware version for logs if available#902

Merged
1Blademaster merged 1 commit into
mainfrom
901-display-firmware-version-from-dataflash-logs
Dec 14, 2025
Merged

Display firmware version for logs if available#902
1Blademaster merged 1 commit into
mainfrom
901-display-firmware-version-from-dataflash-logs

Conversation

@1Blademaster
Copy link
Copy Markdown
Member

image

Copilot AI review requested due to automatic review settings December 5, 2025 19:50
@1Blademaster 1Blademaster linked an issue Dec 5, 2025 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 adds firmware version display to the Flight Log Analyser interface when the version information is available in the log file. The firmware version is extracted from the VER message's FWS field and conditionally displayed in the UI.

Key Changes:

  • Adds firmware version extraction from VER message in log files
  • Integrates firmware version into Redux state management
  • Conditionally displays firmware version in the main display UI

Reviewed changes

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

Show a summary per file
File Description
gcs/electron/fla.ts Extracts firmware version from VER message FWS field with proper null checking and adds it to the log summary
gcs/electron/types/flaTypes.ts Adds firmwareVersion field (string | null) to LogSummary interface
gcs/src/redux/slices/logAnalyserSlice.js Adds firmwareVersion state, reducer, selector, and exports to Redux slice
gcs/src/fla.jsx Dispatches firmware version to Redux store during log summary processing and reorganizes imports alphabetically
gcs/src/components/fla/mainDisplay.jsx Displays firmware version in UI when available, removes truncation styling from Aircraft Type field for consistency

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

@1Blademaster 1Blademaster requested a review from a team December 5, 2025 19:53
Copy link
Copy Markdown
Contributor

@Kwash67 Kwash67 left a comment

Choose a reason for hiding this comment

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

LGTM

@1Blademaster 1Blademaster merged commit 65db223 into main Dec 14, 2025
11 checks passed
@1Blademaster 1Blademaster deleted the 901-display-firmware-version-from-dataflash-logs branch December 14, 2025 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Display firmware version from dataflash logs

3 participants