From 98ccde12b08ad0b7f53e42de959a72d8382179e3 Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Sat, 14 Mar 2026 00:38:07 +0000 Subject: feat: show subtask rollup on BLOCKED tasks waiting for subtasks When a task is BLOCKED due to spawned subtasks (no question), the card footer now fetches and renders a list of subtask names with their state emoji instead of showing the question/answer input UI. The Cancel button remains in both cases. Co-Authored-By: Claude Sonnet 4.6 --- web/style.css | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) (limited to 'web/style.css') diff --git a/web/style.css b/web/style.css index 09e7925..ee1b69c 100644 --- a/web/style.css +++ b/web/style.css @@ -56,6 +56,27 @@ header h1 { flex: 1; } +.header-actions { + display: flex; + align-items: center; + gap: 0.5rem; +} + +.agent-selector { + background: var(--bg); + border: 1px solid var(--border); + border-radius: 0.375rem; + color: var(--text); + padding: 0.4em 0.6em; + font-size: 0.85rem; + cursor: pointer; +} + +.agent-selector:focus { + outline: 2px solid var(--accent); + outline-offset: 1px; +} + /* Tab bar */ .tab-bar { background: var(--surface); @@ -344,6 +365,29 @@ main { cursor: not-allowed; } +.subtask-rollup { + width: 100%; + margin-bottom: 0.4rem; +} +.subtask-list { + list-style: none; + margin: 0; + padding: 0; + display: flex; + flex-direction: column; + gap: 0.2rem; +} +.subtask-item { + font-size: 0.78rem; + color: var(--text-muted); + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} +.subtask-item.subtask-completed { color: var(--success, #4caf50); } +.subtask-item.subtask-failed { color: var(--danger, #e53935); } +.subtask-item.subtask-running { color: var(--accent); } + .task-question-text { font-size: 0.82rem; color: var(--text); -- cgit v1.2.3