summaryrefslogtreecommitdiff
path: root/web/app.js
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-03-25 23:08:09 +0000
committerPeter Stone <thepeterstone@gmail.com>2026-03-25 23:08:09 +0000
commit053ec03306f37e354c013beb8b4baf8eae27af97 (patch)
tree1bae76f4a0d5659520b95d87b979c3c2c98aae23 /web/app.js
parentffa57952709e88c6524448f89a3d4dd623be2440 (diff)
fix: remove duplicate summary section in task panel, fix test mock DOM
renderTaskPanel was rendering the summary twice — once with .task-summary before Overview, and again with .task-summary-text after it. Remove the second (post-Overview) duplicate. Add `dataset: {}` to the test mock DOM so makeMetaItem's state badge path doesn't crash during renderTaskPanel tests. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'web/app.js')
-rw-r--r--web/app.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/web/app.js b/web/app.js
index 1e10ad3..2241c67 100644
--- a/web/app.js
+++ b/web/app.js
@@ -1798,16 +1798,6 @@ export function renderTaskPanel(task, executions) {
overview.appendChild(overviewGrid);
content.appendChild(overview);
- // ── Summary ──
- if (task.summary) {
- const summarySection = makeSection("Summary");
- const summaryText = document.createElement("div");
- summaryText.className = "task-summary-text";
- summaryText.textContent = task.summary;
- summarySection.appendChild(summaryText);
- content.appendChild(summarySection);
- }
-
// ── Agent Config ──
const a = task.agent || {};
const agentSection = makeSection('Agent Config');