Skip to content

Add popout FLA params window for dataflash bin logs#926

Merged
1Blademaster merged 5 commits into
mainfrom
924-view-list-of-params-from-a-dataflash-log
Jan 1, 2026
Merged

Add popout FLA params window for dataflash bin logs#926
1Blademaster merged 5 commits into
mainfrom
924-view-list-of-params-from-a-dataflash-log

Conversation

@1Blademaster
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings December 22, 2025 09:27
@1Blademaster 1Blademaster linked an issue Dec 22, 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 a popout window feature to display flight log analyzer (FLA) parameters extracted from dataflash binary logs. When a dataflash .bin log file is loaded, users can now click a "View Params" button to open a dedicated window showing all parameters with search functionality.

Key changes:

  • Added parameter extraction from PARM messages in dataflash binary logs
  • Created a new popout window component with searchable parameter table
  • Integrated params data flow through Redux state management

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
gcs/src/redux/slices/logAnalyserSlice.js Added params state, actions, and selectors to Redux slice
gcs/src/flaParams.jsx New React entry point for params window with Mantine provider
gcs/src/fla.jsx Dispatches extracted params to Redux store
gcs/src/components/fla/graph.jsx Adds "View Params" button and window opening logic
gcs/src/components/fla/flaParamsWindow.jsx New component displaying searchable parameter table
gcs/flaParams.html HTML entry point for params window
gcs/electron/utils/dataflashParserUtils.ts Adds getParamObjects function to extract and sort parameters
gcs/electron/types/flaTypes.ts Defines ParamObject interface and adds params to LogSummary
gcs/electron/preload.js Registers IPC channels for params window communication
gcs/electron/modules/flaParamsWindow.ts Electron window management module for params window
gcs/electron/main.ts Registers params window IPC handlers and cleanup
gcs/electron/fla.ts Extracts params from PARM messages during log processing

Note: This PR is missing a critical build configuration update. The new flaParams.html entry point needs to be added to vite.config.mts in the rollupOptions.input object, otherwise the window won't be properly bundled for production builds.


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

Comment thread gcs/src/components/fla/flaParamsWindow.jsx Outdated
Comment thread gcs/electron/modules/flaParamsWindow.ts
Comment thread gcs/electron/utils/dataflashParserUtils.ts Outdated
Comment thread gcs/src/components/fla/graph.jsx Outdated
Comment thread gcs/src/fla.jsx Outdated
Comment thread gcs/src/components/fla/graph.jsx Outdated
Comment thread gcs/src/components/fla/flaParamsWindow.jsx Outdated
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

Copilot reviewed 12 out of 12 changed files in this pull request and generated 4 comments.


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

Comment thread gcs/src/components/fla/flaParamsWindow.jsx
Comment thread gcs/src/components/fla/flaParamsWindow.jsx Outdated
Comment thread gcs/src/components/fla/flaParamsWindow.jsx
Comment thread gcs/electron/modules/flaParamsWindow.ts
@NexInfinite
Copy link
Copy Markdown
Contributor

Waiting for response in discord, gonna move onto other tickets

Copy link
Copy Markdown
Contributor

@NexInfinite NexInfinite left a comment

Choose a reason for hiding this comment

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

On linux this opens a new window that doesn't load anything, if this can be proven to be working on windows then we can merge as the code looks good. We can look into the linux bugs later.

Image

@1Blademaster
Copy link
Copy Markdown
Member Author

On linux this opens a new window that doesn't load anything, if this can be proven to be working on windows then we can merge as the code looks good. We can look into the linux bugs later.

Image

Think that was a bug, not sure when introduced icl. Works on windows:
image

NexInfinite
NexInfinite previously approved these changes Dec 31, 2025
Copy link
Copy Markdown
Contributor

@NexInfinite NexInfinite left a comment

Choose a reason for hiding this comment

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

Works on linux now

Image

@1Blademaster 1Blademaster merged commit 17d94ae into main Jan 1, 2026
5 checks passed
@1Blademaster 1Blademaster deleted the 924-view-list-of-params-from-a-dataflash-log branch January 1, 2026 16:32
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.

View list of params from a dataflash log

3 participants