Add a to-do list for accounts with the right ToDo (Stufe 28) #8

Open
ollo2012 wants to merge 1 commit from ollo2012/stufe-28-todo into main AGit
Owner

Stufe 28 from PLANUNG.md.

  • New account right "ToDo" (admin sets it on the person page); menu item "ToDo" only with it
  • To-dos: title, description, one assignee with the right or nobody, due date, priority, free category with suggestions
  • List: mine by default / all open, category filter, sorted by priority, due date, title; overdue red; done folded with "erledigt von … am …"
  • Only the creator deletes; history per to-do
  • Notification + push when someone else assigns a to-do to you
  • Losing the right or being deactivated unassigns one's open to-dos
  • Migration 0012

Unit tests (380) and e2e (103) pass locally.

🤖 Generated with Claude Code

Stufe 28 from PLANUNG.md. - New account right "ToDo" (admin sets it on the person page); menu item "ToDo" only with it - To-dos: title, description, one assignee with the right or nobody, due date, priority, free category with suggestions - List: mine by default / all open, category filter, sorted by priority, due date, title; overdue red; done folded with "erledigt von … am …" - Only the creator deletes; history per to-do - Notification + push when someone else assigns a to-do to you - Losing the right or being deactivated unassigns one's open to-dos - Migration 0012 Unit tests (380) and e2e (103) pass locally. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
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>
All checks were successful
web / gate (pull_request) Successful in 10s
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/8/head:ollo2012/stufe-28-todo
git switch ollo2012/stufe-28-todo
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!8
No description provided.