Web editor Slice 2: drag-to-reposition + add items/stands #58
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up to #57. Make the
tools/mapgen/web_editorcanvas editable.PUT /api/area/<name>writes a descriptor back, rejecting (and writing nothing) if anyitem_id/stand_idisn't in the catalog or any itemnameis empty or duplicated. Item names are the save-file key, so collisions would silently break saves.{Type}Item{N}, N = one past the highest existing suffix for that type (never renumber existing items). Shown editable before saving.mesh.size[1] / 2) so they don't visibly fall in previews.Verification: Claude checks the API round-trip and validation rejections with curl. Drag feel and legibility need a check on a real browser.