Skip to content

Add exporting waypoints to file functionality#596

Merged
1Blademaster merged 4 commits intorelease-alpha-0.1.10from
alpha-0.1.10/570-save-missions-to-file
Aug 2, 2025
Merged

Add exporting waypoints to file functionality#596
1Blademaster merged 4 commits intorelease-alpha-0.1.10from
alpha-0.1.10/570-save-missions-to-file

Conversation

@1Blademaster
Copy link
Copy Markdown
Member

No description provided.

@1Blademaster 1Blademaster requested a review from Copilot August 2, 2025 15:28
@1Blademaster 1Blademaster linked an issue Aug 2, 2025 that may be closed by this pull request

This comment was marked as outdated.

@1Blademaster 1Blademaster requested a review from Copilot August 2, 2025 16:37
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 functionality to export waypoints to a file, complementing the existing import functionality. The implementation allows users to save mission, fence, or rally waypoints to a file through the UI.

  • Adds server-side endpoint to handle waypoint export requests
  • Implements export logic in the mission controller with file saving capabilities
  • Updates the frontend to provide a save dialog and handle export results

Reviewed Changes

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

Show a summary per file
File Description
radio/app/endpoints/mission.py Adds exportMissionToFile endpoint and renames TypedDict class for consistency
radio/app/controllers/missionController.py Implements exportMissionToFile method and updates import logic to use separate loaders
gcs/src/missions.jsx Implements save dialog functionality and adds export result handling
gcs/electron/preload.js Exposes save dialog IPC method and applies code formatting
gcs/electron/main.ts Adds IPC handler for save file dialog

Comment thread radio/app/controllers/missionController.py Outdated
Comment thread radio/app/controllers/missionController.py Outdated
Comment thread gcs/src/missions.jsx
@1Blademaster 1Blademaster merged commit ae630bf into release-alpha-0.1.10 Aug 2, 2025
7 checks passed
@1Blademaster 1Blademaster deleted the alpha-0.1.10/570-save-missions-to-file branch August 2, 2025 17:09
1Blademaster added a commit that referenced this pull request Sep 28, 2025
* Add exporting waypoints to file functionality

* Address copilot review comments

* Fix bug with home position not updating

* Address copilot review comments
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.

Save missions to file

3 participants