Skip to content

Conversation

@argilo
Copy link

@argilo argilo commented Oct 3, 2024

In a couple places, it's possible to click on coordinates to bring up an external mapping application:

  • sidebar (balloon / chase car details)
  • landing prediction popup

Elsewhere, coordinates are displayed as plain text. It would be convenient to have coordinates displayed as a clickable link everywhere.

Here I extracted the common code for generating a link into a function (format_coordinates), and used it to display coordinates in the following places:

  • historical landing popup
  • balloon path popup
  • recovery popup
  • recoveries pane

@darksidelemm
Copy link
Member

Thanks for this! Could you please redirect this PR to the testing branch?

@argilo
Copy link
Author

argilo commented Oct 3, 2024

Sure, I'll do that in a few hours when I'm back at the computer.

@argilo
Copy link
Author

argilo commented Oct 3, 2024

I forgot to mention that I tested this on desktop and Android, but not with iPhone as I don't have a device to test with.

@argilo argilo changed the base branch from master to testing October 3, 2024 23:52
@argilo
Copy link
Author

argilo commented Oct 3, 2024

Rebased and re-tested.

@darksidelemm darksidelemm merged commit b74896b into projecthorus:testing Oct 4, 2024
@darksidelemm
Copy link
Member

Thanks! This is also cleans up the code a bit which is nice. It would be good to have this on sondehub-amateur-tracker too.

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.

2 participants