feat(web): task management with list view and kanban board (#86)

Co-authored-by: Jason Woltje <jason@diversecanvas.com>
Co-committed-by: Jason Woltje <jason@diversecanvas.com>
This commit was merged in pull request #86.
This commit is contained in:
2026-03-13 13:28:17 +00:00
committed by jason.woltje
parent f0d1d4bafa
commit a1a1976b38
6 changed files with 283 additions and 2 deletions

View File

@@ -17,3 +17,41 @@ export interface Message {
metadata?: Record<string, unknown>;
createdAt: string;
}
/** Task statuses. */
export type TaskStatus = 'not-started' | 'in-progress' | 'blocked' | 'done' | 'cancelled';
/** Task priorities. */
export type TaskPriority = 'critical' | 'high' | 'medium' | 'low';
/** Task returned by the gateway API. */
export interface Task {
id: string;
title: string;
description: string | null;
status: TaskStatus;
priority: TaskPriority;
projectId: string | null;
missionId: string | null;
assignee: string | null;
tags: string[] | null;
dueDate: string | null;
metadata: Record<string, unknown> | null;
createdAt: string;
updatedAt: string;
}
/** Project statuses. */
export type ProjectStatus = 'active' | 'paused' | 'completed' | 'archived';
/** Project returned by the gateway API. */
export interface Project {
id: string;
name: string;
description: string | null;
status: ProjectStatus;
userId: string;
metadata: Record<string, unknown> | null;
createdAt: string;
updatedAt: string;
}