Add web push notifications for new inbox items

This commit is contained in:
Ian Gulliver
2026-10-14 21:25:01 -07:00
parent 01c60d6618
commit 8e4c40eb5f
40 changed files with 1724 additions and 202 deletions
+4 -2
View File
@@ -2,10 +2,11 @@ import { mountAdmin } from "./admin.js";
import { mountChanges } from "./changes.js";
import { h, replace } from "./dom.js";
import { mountInbox } from "./inbox.js";
import { mountSettings } from "./settings.js";
import { mountTranscript } from "./task.js";
import { mountTasks } from "./tasks.js";
export type View = "transcript" | "changes" | "tasks" | "inbox" | "admin";
export type View = "transcript" | "changes" | "tasks" | "inbox" | "admin" | "settings";
const views: Record<View, { label: string; mount: (root: HTMLElement) => () => void }> = {
transcript: { label: "Transcript", mount: mountTranscript },
@@ -13,9 +14,10 @@ const views: Record<View, { label: string; mount: (root: HTMLElement) => () => v
tasks: { label: "Tasks", mount: mountTasks },
inbox: { label: "Inbox", mount: mountInbox },
admin: { label: "Admin", mount: mountAdmin },
settings: { label: "Settings", mount: mountSettings },
};
const order: View[] = ["transcript", "changes", "tasks", "inbox", "admin"];
const order: View[] = ["transcript", "changes", "tasks", "inbox", "admin", "settings"];
export class Pane {
readonly el: HTMLElement;