Move admin links into an admin menu in the titlebar (#66) #70
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!70
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/66-admin-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 #66.
Admins get a wrench dropdown "Administration" (de: "Verwaltung") beside the user menu, holding Settings, Pages and Deleted guides. It replaces the separate icon buttons in the titlebar. On phones only the wrench shows; the label stays sr-only.
isAdmin,canManagePages,canRestoreGuides); the menu is left out when none applies, so authors, viewers and guests don't see it.TitlebarDropdown: it closes on Escape, a click or focus outside, and when a link in it is followed (the titlebar stays mounted across navigation).pages.spec.tsnow goes through the menu.🤖 Generated with Claude Code