Inline question choices, compact one-click inbox cards, drop snooze

This commit is contained in:
Ian Gulliver
2026-10-14 23:34:39 -07:00
parent 4dc86e5479
commit c7cfad88a1
30 changed files with 1022 additions and 647 deletions
+7
View File
@@ -45,6 +45,13 @@ async function main() {
replace(document.body, navbar, banner, h("div", { class: "panes" }, left.el, right.el));
mountNavbar(navbar, (view) => right.show(view));
identityBanner(banner);
addEventListener("keydown", (e) => {
if (e.key !== "Escape") {
return;
}
e.preventDefault();
document.querySelector("dialog[open]")?.close();
}, { capture: true });
const status = await get("/api/admin/status");
await Promise.all([loadMe(), loadProjects(), loadInbox()]);
subscribe(status.last_event_seq, handleEvent, (connected) => {