mirror of
https://github.com/temetro/temetro.git
synced 2026-08-11 19:18:03 +00:00
tasks: assign a task to a specific person
Backend: add tasks.assignee_user_id (nullable, fk user) + migration; persist it through create/update and surface tasks to the assigned person in listTasks. Frontend: New Task dialog gains a three-way Assignee control (Myself / Department / Person) with a provider picker from /api/staff/providers; task card + detail show the assignee's name when set. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -11,6 +11,10 @@ export type Task = {
|
||||
assignee: string;
|
||||
// Department (member role) the task is assigned to; null = personal task.
|
||||
assigneeRole: string | null;
|
||||
// A specific person the task is assigned to (user id); null when assigned to
|
||||
// a department or kept personal. Takes precedence over assigneeRole for who
|
||||
// sees the task.
|
||||
assigneeUserId: string | null;
|
||||
due: string;
|
||||
priority: TaskPriority;
|
||||
status: TaskStatus;
|
||||
|
||||
Reference in New Issue
Block a user