Skip to content

Added mavlink forwarding to mac menu bar#855

Merged
Kwash67 merged 2 commits into
mainfrom
797-add-mavlink-forwarding-modal-open-to-mac-menu-bar
Nov 16, 2025
Merged

Added mavlink forwarding to mac menu bar#855
Kwash67 merged 2 commits into
mainfrom
797-add-mavlink-forwarding-modal-open-to-mac-menu-bar

Conversation

@Kwash67
Copy link
Copy Markdown
Contributor

@Kwash67 Kwash67 commented Nov 16, 2025

I also reorganized the menu bar such that we have
Advanced: New menu containing:

  • Connection Stats
  • MAVLink Forwarding

We need to add shortcut keys for them in the future

@Kwash67 Kwash67 requested review from a team and Copilot November 16, 2025 19:13
@Kwash67 Kwash67 linked an issue Nov 16, 2025 that may be closed by this pull request
@Kwash67 Kwash67 changed the title added mavlink forwarding to mac menu bar Added mavlink forwarding to mac menu bar Nov 16, 2025
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 MAVLink forwarding functionality to the macOS menu bar and reorganizes the menu structure by introducing a new "Advanced" menu section.

  • Moved "Connection Stats" from the View menu to a new Advanced menu
  • Added "MAVLink Forwarding" menu item to the Advanced menu
  • Integrated IPC communication to trigger the MAVLink forwarding modal from the menu

Reviewed Changes

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

File Description
gcs/electron/main.ts Reorganized menu structure: removed Connection Stats from View menu and created new Advanced menu containing both Connection Stats and MAVLink Forwarding options
gcs/electron/preload.js Added "mavlink-forwarding:open" to the allowed IPC channels whitelist to enable secure communication between main and renderer processes
gcs/src/components/navbar.jsx Added useEffect hook to listen for "mavlink-forwarding:open" IPC events and dispatch the modal open action

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

Comment thread gcs/src/components/navbar.jsx Outdated
@Kwash67 Kwash67 merged commit e2ec4a4 into main Nov 16, 2025
6 checks passed
@Kwash67 Kwash67 deleted the 797-add-mavlink-forwarding-modal-open-to-mac-menu-bar branch November 16, 2025 21:05
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.

Add mavlink forwarding modal open to mac menu bar

3 participants