Bold questions

This commit is contained in:
Ian Gulliver
2026-10-14 19:35:34 -07:00
parent ab4c3d2c6f
commit 1ea055682b
54 changed files with 3696 additions and 762 deletions
+4 -2
View File
@@ -1,17 +1,19 @@
import { mountChanges } from "./changes.js";
import { h, replace } from "./dom.js";
import { mountInbox } from "./inbox.js";
import { mountTranscript } from "./task.js";
import { mountTasks } from "./tasks.js";
export type View = "transcript" | "tasks" | "inbox";
export type View = "transcript" | "changes" | "tasks" | "inbox";
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 },
inbox: { label: "Inbox", mount: mountInbox },
};
const order: View[] = ["transcript", "tasks", "inbox"];
const order: View[] = ["transcript", "changes", "tasks", "inbox"];
export class Pane {
readonly el: HTMLElement;