WIP: PlanDetail kebab menu primitive + Copy link #292

Closed
toasterson wants to merge 0 commits from claude/wi-019f1817-plandetail-kebab-menu-primitive-copy-lin into main
Owner

Anima work item 019f1817-5e54-73a2-9fa0-831a91db5e0f.

What to build

A reusable overflow (kebab) menu primitive on the PlanDetail header, with one harmless action — Copy link (copies /plans/:id to the clipboard). No destructive actions yet; this builds the menu infra the later items reuse.

Pushed context

anima-pwa has NO menu/dropdown/popover primitive — the "More actions" kebab in src/pages/DocumentViewer/DocumentViewer.tsx (~L109) is a dead button with no onClick. Build a small accessible Menu under src/components/ui (keyboard nav + click-outside close), export it from the ui index, and mount it on the PlanDetail header (src/pages/PlanDetail/PlanDetail.tsx) beside the existing "Promote to Work Slice" button. Use Violet Void theme tokens (see src/index.css / existing ui components). Per ADR 0017 the kebab lives on PlanDetail ONLY (option a) — not on plan cards in the project list.

Acceptance criteria

  • Reusable Menu component in src/components/ui with keyboard navigation and click-outside close
  • Kebab button on the PlanDetail header opens the menu
  • "Copy link" copies the plan URL to the clipboard with brief inline/toast feedback

Blocked by

  • None — can start immediately.
Anima work item `019f1817-5e54-73a2-9fa0-831a91db5e0f`. ## What to build A reusable overflow (kebab) menu primitive on the PlanDetail header, with one harmless action — **Copy link** (copies `/plans/:id` to the clipboard). No destructive actions yet; this builds the menu infra the later items reuse. ## Pushed context anima-pwa has NO menu/dropdown/popover primitive — the "More actions" kebab in `src/pages/DocumentViewer/DocumentViewer.tsx` (~L109) is a dead button with no `onClick`. Build a small accessible `Menu` under `src/components/ui` (keyboard nav + click-outside close), export it from the ui index, and mount it on the PlanDetail header (`src/pages/PlanDetail/PlanDetail.tsx`) beside the existing "Promote to Work Slice" button. Use Violet Void theme tokens (see `src/index.css` / existing ui components). Per ADR 0017 the kebab lives on PlanDetail ONLY (option a) — not on plan cards in the project list. ## Acceptance criteria - [ ] Reusable `Menu` component in `src/components/ui` with keyboard navigation and click-outside close - [ ] Kebab button on the PlanDetail header opens the menu - [ ] "Copy link" copies the plan URL to the clipboard with brief inline/toast feedback ## Blocked by - None — can start immediately.
toasterson force-pushed claude/wi-019f1817-plandetail-kebab-menu-primitive-copy-lin from f7a4347a1a to f9efd43d95 2026-07-05 02:25:50 +00:00 Compare
toasterson force-pushed claude/wi-019f1817-plandetail-kebab-menu-primitive-copy-lin from f9efd43d95 to 2fc6adf4e8 2026-07-06 08:49:48 +00:00 Compare
toasterson force-pushed claude/wi-019f1817-plandetail-kebab-menu-primitive-copy-lin from 2fc6adf4e8 to 8edbff43b1 2026-07-06 09:57:45 +00:00 Compare
Author
Owner

Merged at ae5d72d. Your Menu primitive became the shared component for the whole plan-UI kebab (Copy/Edit/Delete/Retire/Restore woven together from #292/294/295/296); the danger tone was added for Delete/Retire. Closing.

Merged at `ae5d72d`. Your `Menu` primitive became the shared component for the whole plan-UI kebab (Copy/Edit/Delete/Retire/Restore woven together from #292/294/295/296); the `danger` tone was added for Delete/Retire. Closing.
Author
Owner

Closing: this branch's content landed on main via the integrate/approved-batch merge (branch tip is an ancestor of main). Cleaning up the stale head branch.

Closing: this branch's content landed on main via the integrate/approved-batch merge (branch tip is an ancestor of main). Cleaning up the stale head branch.
toasterson closed this pull request 2026-07-11 11:18:18 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
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.

Dependencies

No dependencies set

Reference
toasterson/Anima!292
No description provided.