feat(FN-2578): merge fusion/fn-2578 (auto-resolved)

- fix(FN-2578): align TodoView placeholder addToast typing
- feat(FN-2578): complete Step 4 — route and preload TodoView
- feat(FN-2578): complete Step 3 — wire todos nav entries
- feat(FN-2578): complete Step 2 — add todos to view state types
- feat(FN-2578): complete Step 1 — add useTodoLists hook and tests
This commit is contained in:
Fusion
2026-04-26 14:16:35 -07:00
committed by gsxdsm
parent 6bafd3d708
commit fc32aacb33
7 changed files with 714 additions and 7 deletions

View File

@@ -4,7 +4,7 @@ import type { ProjectInfo } from "../api";
import { getScopedItem, setScopedItem } from "../utils/projectStorage";
export type ViewMode = "overview" | "project";
export type TaskView = "board" | "list" | "agents" | "missions" | "chat" | "documents" | "roadmaps" | "skills" | "mailbox" | "insights" | "memory" | "devserver" | "dev-server";
export type TaskView = "board" | "list" | "agents" | "missions" | "chat" | "documents" | "roadmaps" | "skills" | "mailbox" | "insights" | "memory" | "devserver" | "dev-server" | "todos";
const TASK_VIEWS: readonly TaskView[] = [
"board",
@@ -20,6 +20,7 @@ const TASK_VIEWS: readonly TaskView[] = [
"memory",
"devserver",
"dev-server",
"todos",
];
function isTaskView(value: string | null): value is TaskView {