Guide Actions Menu (#124) #128
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MassiveDynamic/kataba!128
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/124-actions-menu"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
TitlebarDropdownbecomesDropdown. 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).DROPDOWN_ITEM/DROPDOWN_DANGERclasses; the Admin Menu uses them too.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