Tidy the titlebar: user menu and centred search (#47) #48

Merged
miko merged 2 commits from feature/47-titlebar-user-menu into development 2026-11-02 19:41:35 +01:00
Owner

Closes #47.

  • Signed in: language, colour theme and sign-out sit in a dropdown under the user's name; it closes on Escape and on a click outside, and stays open while a language change re-renders its controls.
  • Guests keep sign-in, language and theme in the bar.
  • The search sits in the centre from xl up (narrower, an admin's links would outgrow their column). On phones the logo shows only its mark and the buttons only their icons.
  • The theme switch is a group of three equally wide buttons.

Tests: new e2e/titlebar.spec.ts; e2e/locale.spec.ts now goes through the menu and checks it stays open. Unit 272/272, e2e 10/10.

🤖 Generated with Claude Code

Closes #47. - Signed in: language, colour theme and sign-out sit in a dropdown under the user's name; it closes on Escape and on a click outside, and stays open while a language change re-renders its controls. - Guests keep sign-in, language and theme in the bar. - The search sits in the centre from xl up (narrower, an admin's links would outgrow their column). On phones the logo shows only its mark and the buttons only their icons. - The theme switch is a group of three equally wide buttons. Tests: new `e2e/titlebar.spec.ts`; `e2e/locale.spec.ts` now goes through the menu and checks it stays open. Unit 272/272, e2e 10/10. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Signed in, language, theme and sign-out now sit in a disclosure under the
user's name, closing on Escape and on an outside click. Guests keep them in
the bar. The search sits in the middle column from md up; below, it takes
the space the logo mark and the icon-only buttons leave.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Review follow-ups: Translated now sits inside the menu, so a language change
remounts only the controls. The search centres from xl up, where an admin's
links fit their column. Escape refocuses the button only from inside the
menu. The theme switch is a group of three equally wide buttons.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
miko merged commit 3d776cb3bc into development 2026-11-02 19:41:35 +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!48
No description provided.