[openstreetmap/openstreetmap-website] Bootstrap contextmenu (PR #6410)
mmd
notifications at github.com
Sun Sep 28 19:00:37 UTC 2025
@mmd-osm commented on this pull request.
> @@ -1878,6 +1878,14 @@ en:
osm_read_only: "The OpenStreetMap database is currently in read-only mode while essential maintenance work is carried out."
expected_restore_html: "Services are expected to be restored in %{time}."
announcement: "You can read the announcement here."
+ contextmenu:
+ directions_from: Directions from here
+ directions_to: Directions to here
+ add_note: Add a note here
+ show_address: Show address
+ query_features: Query features
+ centre_map: Centre map here
+ scroll_to_changeset: Scroll to changeset
I've added a bootstrap popup for the changeset bbox now. For the moment, I'm only adding the "Scroll to Changeset" action, like shown here:
<img width="395" height="252" alt="image" src="https://github.com/user-attachments/assets/78a61922-2fa0-4603-87a8-763661e69d11" />
Previously, this new action and a separator were merged with the existing context menu. I have some doubts if all these default actions really make sense in this scenario. I you happen to have an opinion on the topic, please let me know.
<img width="300" height="293" alt="image" src="https://github.com/user-attachments/assets/278d0bd9-863c-4e7d-ad5a-1d80310080bc" />
Code is a bit of a mess at the moment. I'm focusing more on the functionality.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6410#discussion_r2386274719
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6410/review/3277301638 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250928/b4ccd831/attachment.htm>
More information about the rails-dev
mailing list