Add place sharing via Web Share API and Marco link #117

Merged
raucao merged 2 commits from feature/share_button into master 2026-11-16 09:25:36 +00:00
2 Commits
Author SHA1 Message Date
raucao 509fc08268 Move edit action into the saved-places dropdown
CI / Lint (pull_request) Successful in 51s
CI / Test (pull_request) Successful in 1m9s
Release Drafter / Update release notes draft (pull_request) Successful in 41s
The edit form only changes the saved entry's title and description, not the
OSM data, so surface it under the Save dropdown as "Edit saved place"
instead of a standalone action button.

This also keeps the actions row to Save and Share with even padding, so the
earlier equal-width row layout is no longer needed.
2026-11-16 13:01:11 +04:00
raucao 53b5c2d2a4 Add place sharing via Web Share API and Marco link
CI / Lint (pull_request) Successful in 54s
CI / Test (pull_request) Failing after 1m11s
Add a Share button to the place details actions row. On systems with the
Web Share API it opens the native share sheet; everywhere else it opens a
small fallback menu offering "Copy link" and "Copy coordinates".

- OSM places share the public Marco place URL plus the name and
  coordinates; custom places share name and coordinates only, since their
  internal id is private and their Marco URL would not resolve for others
- No external map links; copy falls back to document.execCommand so the
  feature keeps working on non-secure origins
- The button is hidden while editing and when there is nothing to share
2026-11-16 12:30:48 +04:00