Frontend: edit + delete bucket (inline) #59

Open
opened 2026-06-26 00:05:29 +02:00 by myrmidex · 0 comments
Owner

Context

Split from #34. Port the old-app inline bucket editing + deletion (PLATFORM.md "Inline Editing Components": click-to-edit fields, partial PATCH, router.reload). Blocked on #57 (Bucket PATCH/DELETE backend ops don't exist yet).

Scope

  • Inline-edit bucket fields on the scenario show page → partial PATCH /api/buckets/{id} (application/merge-patch+json — confirm with #57's outcome).
  • Delete bucket → DELETE /api/buckets/{id} with a confirm step; remove from the list on 204.
  • Optimistic UI or refetch (match the pattern #53/#54 establish).
  • Surface 422 invariant violations inline (e.g. editing priority to a duplicate, making a second overflow).

Depends on

  • #57 (Bucket PATCH/DELETE backend) — HARD BLOCKER
  • #53 (show page), #54 (add-bucket UI to share form components)

Out of scope

  • Reordering buckets via drag (sortOrder exists but is engine-unused — separate ticket if wanted).

Testing

  • Per SPA test setup; edit happy path, delete happy path, an invariant-violation render.
## Context Split from #34. Port the old-app inline bucket editing + deletion (PLATFORM.md "Inline Editing Components": click-to-edit fields, partial PATCH, `router.reload`). **Blocked on #57** (Bucket PATCH/DELETE backend ops don't exist yet). ## Scope - Inline-edit bucket fields on the scenario show page → partial `PATCH /api/buckets/{id}` (`application/merge-patch+json` — confirm with #57's outcome). - Delete bucket → `DELETE /api/buckets/{id}` with a confirm step; remove from the list on 204. - Optimistic UI or refetch (match the pattern #53/#54 establish). - Surface 422 invariant violations inline (e.g. editing priority to a duplicate, making a second overflow). ## Depends on - **#57 (Bucket PATCH/DELETE backend) — HARD BLOCKER** - #53 (show page), #54 (add-bucket UI to share form components) ## Out of scope - Reordering buckets via drag (sortOrder exists but is engine-unused — separate ticket if wanted). ## Testing - Per SPA test setup; edit happy path, delete happy path, an invariant-violation render.
myrmidex added this to the v0.3.0 milestone 2026-06-26 00:05:29 +02:00
myrmidex added the
enhancement
label 2026-06-26 00:05:29 +02:00
myrmidex self-assigned this 2026-06-26 00:05:29 +02:00
myrmidex added a new dependency 2026-06-26 00:11:26 +02:00
myrmidex added a new dependency 2026-06-26 00:11:27 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference: lvl0/buckets#59
No description provided.