feat: add GPX download for takeoff point in waypoint popup - #851
Merged
Merged
Conversation
Contributor
|
All contributors have signed the CLA ✍️ ✅ |
for more information, see https://pre-commit.ci
Contributor
Author
|
I have read the CONTRIBUTING.md document and I hereby sign and agree with the guidelines |
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.
What type of PR is this? (check all applicable)
Related Issue
Fixes #848
Describe this PR
I added a download button that sits next to the copy button on the coordinate popup for the starting waypoint.
It downloads the coordinates of the starting waypoint as a GPX file. The changes were made in MapSection.tsx and I made changes to the message keys in en.json for the tooltip and toast alert.
AI Tool Usage
If AI-assisted:
Screenshots
before:

after:
Alternative Approaches Considered
Not really, refer to #848 thread for thought process.
Review Guide
I tested it manually.
I made a project, then I logged in as Drone Operator, locked a task and then when I opened the task I clicked on the starting point pin to see the popup. I downloaded the GPX file, tested it using an online GPX viewer and just opening the file in a text editor to check if the longitude and latitude are correct.
Checklist
[optional] What gif best describes this PR or how it makes you feel?