jobs: script-job terminal view at /jobs/:id (phase 3a)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -70,5 +70,12 @@ Favor power-user affordances over guardrails. See memory `sole-user-assume-compe
|
||||
now returns mode/exitCode/isLive), `GET /jobs/:id`, `GET /jobs/:id/log?offset=`, `POST /jobs/:id/stop`.
|
||||
Router mounted at `/jobs` and `/pipeline-jobs`. *Needs a restart to deploy; then curl/phone-testable.*
|
||||
WS consolidation still pending (old `/api/tasks/run/ws` + `/api/tasks/pipeline/ws` still live).
|
||||
- [ ] 3 /jobs/new page + JobDetail script branch + retire modal + header indicator
|
||||
- [~] 3 frontend
|
||||
- [x] 3a JobDetail script branch — `ScriptJobDetail` (terminal, polls `GET /jobs/:id/log` + status,
|
||||
Stop button) + `JobDetailView` wrapper routing by `mode` (pipeline detail renamed
|
||||
`PipelineJobDetail`). Script jobs are now viewable at `/jobs/:id`.
|
||||
- [ ] 3b `/jobs/new` page — extract the input UI (TaskInputForm + per-group config + folder probing)
|
||||
from `TaskRunnerModal` into a shared component; Run/Queue → `POST /jobs` → navigate.
|
||||
- [ ] 3c FileBrowser task action navigates to `/jobs/new?...`; retire modal/dialog/useTaskRunner.
|
||||
- [ ] 3d header running-jobs indicator (`GET /jobs?live=1`).
|
||||
- [ ] 4 push notifications
|
||||
|
||||
Reference in New Issue
Block a user