feat(nav): move profile, admin mode and logout into a profile menu #11

Open
ollo2012 wants to merge 1 commit from ollo2012/profilmenue into main AGit
Owner

Profile, admin mode and logout move into a menu behind a round button top right (user colour + initials).

  • Menu: Profil · Admin-Modus / Admin-Modus beenden (admin right only) · Abmelden; closes on outside click, Esc, item choice or navigation.
  • Removed from the header: the "Profil" nav link, the name, the admin button and logout. The admin banner stays.

Tests: unit initials.test.ts, E2E profilmenue.spec.ts; E2E helpers logout/enterAdminMode open the menu first, new openUserMenu/leaveAdminMode used in konten, zz-sicherung, z-kalender-aendern (approved). Full suite green (370 unit, 97 E2E).

Already merged into staging for testing.

🤖 Generated with Claude Code

Profile, admin mode and logout move into a menu behind a round button top right (user colour + initials). - Menu: Profil · Admin-Modus / Admin-Modus beenden (admin right only) · Abmelden; closes on outside click, Esc, item choice or navigation. - Removed from the header: the "Profil" nav link, the name, the admin button and logout. The admin banner stays. Tests: unit `initials.test.ts`, E2E `profilmenue.spec.ts`; E2E helpers `logout`/`enterAdminMode` open the menu first, new `openUserMenu`/`leaveAdminMode` used in konten, zz-sicherung, z-kalender-aendern (approved). Full suite green (370 unit, 97 E2E). Already merged into `staging` for testing. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Merge branch 'fix-mobile-whole-apartment' into staging
All checks were successful
web / gate (push) Successful in 3m11s
web / release (push) Successful in 25s
1a43795806
Merge branch 'stufe-26-buchungsformular' into staging
All checks were successful
web / gate (push) Successful in 3m14s
web / release (push) Successful in 43s
407f992ddc
Merge branch 'fix-staging-banner' into staging
All checks were successful
web / gate (push) Successful in 3m13s
web / release (push) Successful in 28s
396fbfb993
Merge branch 'stufe-27-konto-umwandeln' into staging
All checks were successful
web / gate (push) Successful in 3m18s
web / release (push) Successful in 27s
4cc1f6f21f
feat(todo): add a to-do list for accounts with the right "ToDo"
All checks were successful
web / gate (pull_request) Successful in 10s
web / release (pull_request) Has been skipped
27d8b37fb1
A new account right "ToDo" (users.may_todo), set by an admin in admin
mode on the person page, gives the menu item "ToDo"; without it /todo
shows "Kein Zugriff". Migration 0012 adds the right and the todo table.

A to-do has a title, optional description, one assignee with the right
(or nobody), due date, priority (high/normal/low) and a free category
with suggestions from the categories in use. Everyone with the right
creates, changes, checks off and reopens to-dos; only the creator
deletes. Each to-do keeps a history.

The list shows my to-dos by default, all open ones on request, and
filters by category; it is sorted by priority, due date and title,
marks overdue ones red, and keeps done ones folded below with "erledigt
von … am …". Being assigned by someone else creates the notification
todo_assigned (also as push), which opens the to-do. Losing the right
or being deactivated leaves one's open to-dos assigned to nobody.

Notifications may now point to a to-do instead of an entry; three
notification tests read the entry with optional chaining.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merge branch 'stufe-28-todo' into staging
All checks were successful
web / gate (push) Successful in 3m49s
web / release (push) Successful in 26s
7fc23bdfa5
feat(calendar): page the calendar by swiping sideways
All checks were successful
web / gate (pull_request) Successful in 3m19s
web / release (pull_request) Has been skipped
5eba9c2a5a
Swiping left or right over the phone month or the desktop plan opens the
next or previous month/week, like the ◀ ▶ buttons, keeping the marked day
or period. Works with touch and two-finger touchpad swipes; vertical
gestures, short swipes and a plan that can still scroll sideways do not
page. The buttons stay.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merge branch 'kalender-wischen' into staging
All checks were successful
web / gate (push) Successful in 3m55s
web / release (push) Successful in 28s
cf54638702
feat(calendar): fold the legend below the calendar
All checks were successful
web / gate (pull_request) Successful in 3m28s
web / release (pull_request) Has been skipped
e43165bf4c
The legend is now a collapsed <details> section titled "Legende" that
opens on click, instead of always being shown.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merge branch 'legende-einklappen' into staging
All checks were successful
web / gate (push) Successful in 3m33s
web / release (push) Successful in 26s
web / gate (pull_request) Successful in 11s
web / release (pull_request) Has been skipped
ec5856a259
ollo2012 force-pushed ollo2012/profilmenue from ec5856a259
All checks were successful
web / gate (push) Successful in 3m33s
web / release (push) Successful in 26s
web / gate (pull_request) Successful in 11s
web / release (pull_request) Has been skipped
to 8455e088ce
All checks were successful
web / gate (pull_request) Successful in 3m20s
web / release (pull_request) Has been skipped
2026-10-12 20:19:04 +00:00
Compare
All checks were successful
web / gate (pull_request) Successful in 3m20s
Required
Details
web / release (pull_request) Has been skipped
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin +refs/pull/11/head:ollo2012/profilmenue
git switch ollo2012/profilmenue
Sign in to join this conversation.
No reviewers
No labels
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
ollo2012/glashuette!11
No description provided.