inline buttons

This commit is contained in:
Ian Gulliver
2026-10-16 09:16:40 -07:00
parent c08d993104
commit e8ccdfc8d9
5 changed files with 22 additions and 10 deletions
+3 -3
View File
@@ -60,9 +60,9 @@ function fill(el: HTMLElement, model: string): void {
starting.delete(key);
fill(el, model);
};
const startButton = h("button", { disabled: busy, title: "Start a task that gets straight to work" }, busy ? "Starting…" : "Start");
const startButton = h("button", { disabled: busy, title: "Start a task that gets straight to work" }, busy ? "starting…" : "start");
startButton.onclick = () => void start(false);
const discussButton = h("button", { disabled: busy, title: "Start a task that talks it through with you before changing anything" }, "Discuss");
const discussButton = h("button", { disabled: busy, title: "Start a task that talks it through with you before changing anything" }, "discuss");
discussButton.onclick = () => void start(true);
replace(action, startButton, " ", discussButton);
replace(action, startButton, h("span", { class: "todo-sep" }, " · "), discussButton);
}