Load the lead's scrollback 50 turns at a time

This commit is contained in:
Ian Gulliver
2026-10-16 18:11:00 -07:00
parent 5dddc15ab9
commit 859aa2dd8b
20 changed files with 625 additions and 238 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ export function todoLink(projectId: string, title: string, children: Node[]): HT
return h("span", { class: "todo-link", data: { project: projectId, title } }, h("span", { class: "todo-title" }, ...children), " ", h("span", { class: "todo-action" }));
}
export function fillTodoLinks(root: HTMLElement, model: string): void {
export function fillTodoLinks(root: ParentNode, model: string): void {
for (const el of root.querySelectorAll<HTMLElement>(".todo-link")) {
fill(el, model);
}