Show one inbox item at a time instead of a scrolling list

This commit is contained in:
Ian Gulliver
2026-10-15 16:13:02 -07:00
parent 83c49bd6b9
commit c33de3cb62
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ export function mountInbox(root) {
reconcile(list, [noTask]);
return;
}
reconcile(list, items.length > 0 ? items.map(cardFor) : [nothing]);
reconcile(list, items.length > 0 ? [cardFor(items[0])] : [nothing]);
};
const off = onEach(["inbox", "selection"], render);
const changes = h("section", { class: "inbox-changes" });
+1 -1
View File
File diff suppressed because one or more lines are too long