improvement: tasks feature UX fully overhauled.

This commit is contained in:
2026-07-13 02:09:49 +03:30
parent f28cd06615
commit 4e6ed75844
22 changed files with 833 additions and 210 deletions

View File

@@ -150,6 +150,7 @@ export interface ListLabTasksParams {
important?: boolean;
sentFrom?: string;
sentTo?: string;
stepCompleted?: string;
sortBy?: TaskSortField;
sortDir?: 'asc' | 'desc';
page?: number;
@@ -172,10 +173,16 @@ export interface LabTaskListItem {
lastStatusChangedAt: string | null;
lastStatusChangedBy: LabTaskUser | null;
createdAt: string;
caseSentAt: string | null;
clinic: { id: string; name: string };
patient: { id: string; firstName: string; lastName: string };
}
export interface TaskFilterOptions {
clinics: { id: string; name: string }[];
workflowSteps: { code: string; label: string }[];
}
export interface PaginatedLabTasks {
items: LabTaskListItem[];
pagination: {