/tasks to all authenticated users. It renders MyTasksPage from src/platform/tasks/pages/MyTasksPage.tsx and requires no explicit permission gate.
Overview
The My Tasks page presents a unified view of all tasks assigned to the current user across modules. It usesuseMyTasks() to fetch tasks scoped to the authenticated user’s organization. The page offers tabs to filter tasks (all, overdue, due today, upcoming, completed), a source-type dropdown filter, and stat cards showing counts by urgency. Users can create new tasks inline via TaskFormDialog and navigate to linked records from task cards.
Who it’s for
Access follows your organization’s role and module configuration. Any authenticated user sees their own assigned tasks.Before you start
- You must be signed in.
Steps
- Navigate to
/tasksor select Tasks in the main navigation. - Use the tabs to filter by urgency or completion status.
- Use the source-type dropdown to narrow tasks by originating module.
- Select New Task to create a task via the task form dialog.
- Select a task to view its details or navigate to the linked record.
Key concepts
Source type — Tasks carry asource_type that identifies the originating module or workflow (e.g., automation, clinical, housing). The TASK_SOURCE_TYPE_CONFIG constant defines display labels for each type.
Due-date urgency — Tasks are grouped by whether they are overdue (isPast), due today (isToday), or due soon within the next few days (addDays).
Due-date notifications — An hourly background sweeper checks tasks whose due_at has passed. For each newly due task, it sends the assignee both an in-app notification (visible in the bell and inbox) and an email. Each task only notifies once, even if the due date is later edited. You do not need to subscribe or configure anything — every assigned task with a due date is covered.
Related
Platform Foundation
Platform Foundation overview.
Governance & parity
This page documents shipped product behavior. It is not medical, legal, or
billing advice. Verify against your organization’s policies and applicable
regulations before using it for clinical, compliance, or billing decisions.
Protected health information (PHI) shown in the product is governed by your
tenant’s access controls and is never exposed in this documentation.
Documentation sources
Documentation sources
- src/routes/platform.tsx
- src/platform/tasks/pages/MyTasksPage.tsx
- src/platform/tasks/hooks/useMyTasks.ts
- supabase/functions/pf-tasks-due-sweep/index.ts