MotirBuilding in public
MOTIR · moooon
onMotir
You’re viewing a public project. Anyone can view it — no account needed. Sign in to submit, upvote, or comment on requests.View-only — you can’t edit work items
MOTIR-792

2.8.1 [design] Delete-work-item confirm UX (cascade count + irreversible; archive as the reversible alt)

Done
Description

Estimate: 45m · Type: design

Design the delete-work-item UX (the design gate for the UI subtask). Update design/work-items/ (three-file asset). Cover: the delete entry points (detail view ⋯ menu; list/board row context action — admin/permitted only), and the confirm dialog — warns it is permanent / can't be undone and names the cascade ("This deletes and its N descendants"), distinct from Archive (offered as the reversible alternative). States: no-children vs N-children, in-flight, error. Reuse the 5.3.6 delete-with-count confirm grammar.

Acceptance criteria

  • design-notes.md + *.mock.html + .png updated/committed; copy index incl. the cascade + irreversibility warning and the archive-vs-delete distinction.
  • Real components/ui/* + --el-*/shape tokens; AA-safe; full-page Playwright render.

Context refs

  • design/work-items/; existing confirm/dialog primitives; 5.3.6 pattern