summaryrefslogtreecommitdiff
path: root/web/app.js
diff options
context:
space:
mode:
authorClaudomator Agent <agent@claudomator>2026-03-15 09:16:02 +0000
committerClaudomator Agent <agent@claudomator>2026-03-15 09:16:02 +0000
commitd0ed3694246ab8d352166f098be5d642e0dbe44d (patch)
tree2785bd27eaa5bf19c3acd2738fe0345b37b508e6 /web/app.js
parent3614ac2247be32ca95982a1f6b86f3e7bc360316 (diff)
feat: show subtask rollup on READY task cards
READY tasks now call renderSubtaskRollup identical to BLOCKED tasks (without a question). The rollup appears above Accept/Reject buttons. New test: web/test/ready-subtasks.test.mjs (10 assertions, all pass).
Diffstat (limited to 'web/app.js')
-rw-r--r--web/app.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/app.js b/web/app.js
index 77a2d9d..8d78f90 100644
--- a/web/app.js
+++ b/web/app.js
@@ -171,6 +171,7 @@ function createTaskCard(task) {
});
footer.appendChild(btn);
} else if (task.state === 'READY') {
+ renderSubtaskRollup(task.id, footer);
const acceptBtn = document.createElement('button');
acceptBtn.className = 'btn-accept';
acceptBtn.textContent = 'Accept';