1165 feature see waypoint information on missions page#1168
Merged
1Blademaster merged 4 commits intoApr 16, 2026
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds per-waypoint “Distance” and “Gradient” metrics to the Missions UI by introducing a shared helper that computes per-leg waypoint metrics, and reuses it in both the mission statistics panel and the mission items table.
Changes:
- Clamp context menu position so it can’t render outside the map canvas.
- Add
buildMissionWaypointLegMetrics()helper and use it to compute max leg distance / max slope gradient. - Display per-row leg distance and gradient columns in the mission items table; bump GCS version.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| gcs/src/redux/slices/missionSlice.js | Clamps context menu position within canvas bounds. |
| gcs/src/helpers/missionWaypointMetrics.js | New helper to compute per-leg distance/gradient metrics for mission waypoints. |
| gcs/src/components/missions/missionStatistics.jsx | Refactors max distance/max gradient to use shared leg-metrics helper. |
| gcs/src/components/missions/missionItemsTableRow.jsx | Adds distance/gradient rendering per mission row. |
| gcs/src/components/missions/missionItemsTable.jsx | Computes and passes per-row metrics; adds new table columns. |
| gcs/package.json | Bumps GCS version to 0.2.7-alpha. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
1Blademaster
deleted the
1165-feature-see-waypoint-information-on-missions-page
branch
April 16, 2026 19:54
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.