Add todo mode and replace the plan with TODO.md

This commit is contained in:
Ian Gulliver
2026-10-15 07:23:17 -07:00
parent 60a1d221f4
commit 1f44bc6d91
25 changed files with 1259 additions and 637 deletions
+4 -2
View File
@@ -5,19 +5,21 @@ import { mountInbox } from "./inbox.js";
import { mountSettings } from "./settings.js";
import { mountTranscript } from "./task.js";
import { mountTasks } from "./tasks.js";
import { mountTodo } from "./todo.js";
export type View = "transcript" | "changes" | "tasks" | "inbox" | "admin" | "settings";
export type View = "transcript" | "changes" | "tasks" | "todo" | "inbox" | "admin" | "settings";
const views: Record<View, { label: string; mount: (root: HTMLElement) => () => void }> = {
transcript: { label: "Transcript", mount: mountTranscript },
changes: { label: "Changes", mount: (root) => mountChanges(root) },
tasks: { label: "Tasks", mount: mountTasks },
todo: { label: "Todo", mount: mountTodo },
inbox: { label: "Inbox", mount: mountInbox },
admin: { label: "Admin", mount: mountAdmin },
settings: { label: "Settings", mount: mountSettings },
};
const order: View[] = ["transcript", "changes", "tasks", "inbox", "admin", "settings"];
const order: View[] = ["transcript", "changes", "tasks", "todo", "inbox", "admin", "settings"];
const panes: Pane[] = [];