diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-03-05 19:02:24 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-03-05 19:02:24 +0000 |
| commit | 9e790e35708f834abe1a09af52e43742e164cb63 (patch) | |
| tree | 926f9b323f80dfdd3c030f98b7abebf9f02501d1 /web/index.html | |
| parent | ab93297426353d70ec7c877c710a049b664e4fd0 (diff) | |
web: add Accept/Reject for READY tasks, Start Next button
- READY state task cards show Accept + Reject buttons
- Accept POSTs to /api/tasks/{id}/accept (→ COMPLETED)
- Reject POSTs to /api/tasks/{id}/reject (→ PENDING)
- "Start Next" button in toolbar POSTs to /api/scripts/start-next-task
- CSS for .btn-accept and .btn-reject
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'web/index.html')
| -rw-r--r-- | web/index.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/web/index.html b/web/index.html index 482b9a9..2bc8222 100644 --- a/web/index.html +++ b/web/index.html @@ -20,6 +20,7 @@ <div data-panel="tasks"> <div class="task-list-toolbar"> <button id="btn-toggle-completed" class="btn-secondary btn-sm"></button> + <button id="btn-start-next" class="btn-secondary btn-sm">Start Next</button> </div> <div class="task-list"> <div id="loading">Loading tasks…</div> |
