Guide Actions Menu (#124) #128

Merged
miko merged 2 commits from feature/124-actions-menu into development 2026-11-05 20:34:51 +01:00
Owner

Closes #124.

Signed-in users find "QR code", "Duplicate", "Edit guide", "Unpublish" and "Delete guide" on a guide's page in a "…" menu ("More actions" / "Weitere Aktionen"). Each entry shows only if the user may use it, so a viewer's menu holds just the QR code. Guests keep "QR code" as a button and get no menu. "Publish" stays a button. The editor keeps its own Duplicate button.

  • TitlebarDropdown becomes Dropdown. It takes a different trigger style, closes when a form in it is submitted, and moves its panel back inside the window (it ran off the right edge on phone widths).
  • Shared DROPDOWN_ITEM / DROPDOWN_DANGER classes; the Admin Menu uses them too.
  • GLOSSARY entry "Guide Actions Menu", CHANGELOG entry, German translation.

Tests: new e2e/guideActions.spec.ts (guest, author with draft and published guide, viewer). The existing e2e specs open the menu before clicking these actions. 555 unit tests and 74 e2e tests pass.

🤖 Generated with Claude Code

Closes #124. Signed-in users find "QR code", "Duplicate", "Edit guide", "Unpublish" and "Delete guide" on a guide's page in a "…" menu ("More actions" / "Weitere Aktionen"). Each entry shows only if the user may use it, so a viewer's menu holds just the QR code. Guests keep "QR code" as a button and get no menu. "Publish" stays a button. The editor keeps its own Duplicate button. - `TitlebarDropdown` becomes `Dropdown`. It takes a different trigger style, closes when a form in it is submitted, and moves its panel back inside the window (it ran off the right edge on phone widths). - Shared `DROPDOWN_ITEM` / `DROPDOWN_DANGER` classes; the Admin Menu uses them too. - GLOSSARY entry "Guide Actions Menu", CHANGELOG entry, German translation. Tests: new `e2e/guideActions.spec.ts` (guest, author with draft and published guide, viewer). The existing e2e specs open the menu before clicking these actions. 555 unit tests and 74 e2e tests pass. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
QR code, Duplicate, Edit guide, Unpublish and Delete guide move from the
guide's button row into a "…" dropdown for every signed-in user; guests
keep QR code as a button and Publish stays a button.

TitlebarDropdown becomes Dropdown, with a configurable trigger, closing
on form submit, and keeping its panel inside the window.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
miko merged commit 5b9d5dfceb into development 2026-11-05 20:34:51 +01:00
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
MassiveDynamic/kataba!128
No description provided.