Parent
#44
What to build
JIRA links on items with inheritance from category, right-click context menu on items, and item deletion with confirmation.
State machine: todoStore gains:
setItemJiraLink(itemId, jiraLink?) — sets or clears the item's JIRA link
deleteItem(itemId) — removes the item entirely (not archived, truly deleted)
UI:
- JIRA link display: If an item has its own
jiraLink, display it as a clickable ticker/number. If not, inherit the category's jiraLink for display (the item's own jiraLink field stays undefined). An explicitly set item link overrides the inherited one.
- JIRA link editing: Via right-click context menu on the item. An input allows setting/clearing the link.
- Context menu: Right-clicking an item shows a context menu with options: "Edit JIRA Link", "Delete". Future slices may add more options here.
- Delete: Clicking "Delete" shows a confirmation dialog ("Delete this item?" with Cancel/Delete buttons). Confirming permanently removes the item.
Acceptance criteria
Blocked by
Parent
#44
What to build
JIRA links on items with inheritance from category, right-click context menu on items, and item deletion with confirmation.
State machine:
todoStoregains:setItemJiraLink(itemId, jiraLink?)— sets or clears the item's JIRA linkdeleteItem(itemId)— removes the item entirely (not archived, truly deleted)UI:
jiraLink, display it as a clickable ticker/number. If not, inherit the category'sjiraLinkfor display (the item's ownjiraLinkfield stays undefined). An explicitly set item link overrides the inherited one.Acceptance criteria
bun fmt,bun lint,bun typecheckall passBlocked by