[openstreetmap/openstreetmap-website] CRUD interface for moderation zones (PR #7148)
Pablo Brasero
notifications at github.com
Fri Jun 12 11:21:25 UTC 2026
pablobm left a comment (openstreetmap/openstreetmap-website#7148)
Thank you both. I hadn't considered this.
Regarding this specific PR, my feeling (biased as it might be) is that we can add Terra Draw here without compromising a possible change in solution later:
- This PR introduces Terra Draw in a specific module that only loads when visiting the new form, only available to moderators. It's uncoupled from other functionality, already uses MapLibre, and doesn't pollute the global JS environment.
- It was relatively simple to add, and some of the code would probably be reusable if we changed solutions. (I'm thinking of the `*FormField` functions at the end).
Another alternative would be to just leave a text area, for moderators to type a `POLYGON(...)` manually... I think that's a bit too much to ask of them.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/7148#issuecomment-4690740893
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/7148/c4690740893 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260612/7ada108f/attachment.htm>
More information about the rails-dev
mailing list