[openstreetmap/openstreetmap-website] CRUD interface for moderation zones (PR #7148)

Marwin Hochfelsner notifications at github.com
Fri Jun 26 21:55:54 UTC 2026


@hlfan commented on this pull request.



> +        feature: {
+          draggable: false,
+
+          // Individual coordinates that make up the Feature...
+          coordinates: {
+            // Midpoint be added
+            midpoints: {
+              // Midpoint be dragged
+              draggable: true
+            },
+
+            // Can be moved
+            draggable: true,
+
+            // Can snap to other coordinates from geometries _of the same mode_
+            snappable: true,
+
+            // Allow resizing of the geometry from a given origin.
+            // center will allow resizing of the aspect ratio from the center
+            // and opposite allows resizing from the opposite corner of the
+            // bounding box of the geometry.
+            resizable: false,
+
+            // Can be deleted
+            deletable: true
+          }

I don't think most of these comments add any value on _why_ this was set.
```suggestion
        feature: {
          draggable: false,
          coordinates: {
            midpoints: { draggable: true },
            draggable: true,
            snappable: true,
            deletable: true,

            // Disallow resizing of the geometry from a given origin.
            resizable: false
          }
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/7148#pullrequestreview-4582963382
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/7148/review/4582963382 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260626/363e0bc6/attachment.htm>


More information about the rails-dev mailing list