diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-03-06 23:55:07 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-03-06 23:55:07 +0000 |
| commit | fd42a54d96fcd3342941caaeb61a4b0d5d3f1b4f (patch) | |
| tree | 0b9ef3b7f0ac3981aa310435d014c9f5e21089d4 /web/index.html | |
| parent | 7d4890cde802974b94db24071f63e7733c3670fd (diff) | |
recover: restore untracked work from recovery branch (no Gemini changes)
Recovered files with no Claude→Agent contamination:
- docs/adr/002-task-state-machine.md
- internal/api/logs.go/logs_test.go: task-level log streaming endpoint
- internal/api/validate.go/validate_test.go: POST /api/tasks/validate
- internal/api/server_test.go, storage/db_test.go: expanded test coverage
- scripts/reset-failed-tasks, reset-running-tasks
- web/app.js, index.html, style.css: frontend improvements
- web/test/: active-tasks-tab, delete-button, filter-tabs, sort-tasks tests
Manually applied from server.go diff (skipping Claude→Agent rename):
- taskLogStore field + validateCmdPath field
- DELETE /api/tasks/{id} route + handleDeleteTask
- GET /api/tasks/{id}/logs/stream route
- POST /api/tasks/{id}/resume route + handleResumeTimedOutTask
- handleCancelTask: allow cancelling PENDING/QUEUED tasks directly
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'web/index.html')
| -rw-r--r-- | web/index.html | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/web/index.html b/web/index.html index 99fc190..e43823f 100644 --- a/web/index.html +++ b/web/index.html @@ -16,11 +16,14 @@ <nav class="tab-bar"> <button class="tab active" data-tab="tasks">Tasks</button> <button class="tab" data-tab="templates">Templates</button> + <button class="tab" data-tab="active">Active</button> </nav> <main id="app"> <div data-panel="tasks"> <div class="task-list-toolbar"> - <button id="btn-toggle-completed" class="btn-secondary btn-sm"></button> + <button class="filter-tab active" data-filter="active">Active</button> + <button class="filter-tab" data-filter="done">Done</button> + <button class="filter-tab" data-filter="all">All</button> <button id="btn-start-next" class="btn-secondary btn-sm">Start Next</button> </div> <div class="task-list"> @@ -34,6 +37,9 @@ </div> <div class="template-list"></div> </div> + <div data-panel="active" hidden> + <div class="active-task-list"></div> + </div> </main> <dialog id="task-modal"> @@ -124,6 +130,6 @@ </div> </dialog> - <script src="app.js" defer></script> + <script type="module" src="app.js"></script> </body> </html> |
