Add clear mission button to context menu#603
Merged
NexInfinite merged 4 commits intorelease-alpha-0.1.10from Aug 6, 2025
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
Adds a "Clear mission" button to the context menu on the missions map that allows users to clear mission items for different mission types (mission, fence, rally).
Key changes:
- Backend logic updated to handle empty waypoint uploads for fence and rally mission types
- Frontend context menu enhanced with clear mission functionality
- Clear mission function handles different mission types appropriately
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| radio/app/controllers/missionController.py | Updates upload logic to handle clearing fence and rally missions when no waypoints are provided |
| gcs/src/missions.jsx | Adds clearMissionItems function that clears items based on active tab type |
| gcs/src/components/missions/missionsMap.jsx | Adds "Clear mission" context menu item that calls the clear function |
3da6d77 to
4946665
Compare
NexInfinite
approved these changes
Aug 6, 2025
Contributor
NexInfinite
left a comment
There was a problem hiding this comment.
Works on windows, looks good to me.
1Blademaster
added a commit
that referenced
this pull request
Sep 28, 2025
* Add clear mission button to context menu * Clear mission for all mission types * Fix no waypoints mission test * Fix test again
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.