Add a menu to the titlebar that admins curate (#65) #71
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!71
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/65-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 #65
Admins curate a flat menu in the titlebar under Menu in the admin menu (
/admin/menu): links to categories, guides, pages or external http(s) URLs, added, edited, sorted and removed in one form.canViewGuide, page visibility and status); URLs always show and open in a new tab.Agreed deviation on the titlebar layout: pure CSS floats instead of a flex row. The logo and menu are capped by a fixed 23.5rem reservation for the account, so the account always stays in the first row. A short menu that leaves the search less than 16rem sends it to its own full-width row. A menu wrapping over several rows leaves the search in the free space below the account instead.
New table
MenuItem(migration20261104120000_add_menu_item).Tests: unit tests for validation, visibility and active entry (30 new);
e2e/menu.spec.ts(7 tests). Full unit and e2e suites pass.🤖 Generated with Claude Code