feat: Add approve+execute buttons to pipeline UI
Per-phase Play button now shows for pending phases (with tasks) and approves before queueing. Top-level Execute button counts both pending and approved phases, approving pending ones first.
This commit is contained in:
@@ -162,8 +162,9 @@ Configured in `src/lib/trpc.ts`. Uses `@trpc/react-query` with TanStack Query fo
|
||||
### Pipeline Visualization
|
||||
1. Execution tab → pipeline DAG shows phases as nodes
|
||||
2. Drag to add dependencies between phases
|
||||
3. Approve phases → queue for dispatch
|
||||
4. Tasks auto-queued when phase starts
|
||||
3. Per-phase Play button: if phase is `pending` (with non-detail tasks), approves then queues in one click; if already `approved`, just queues
|
||||
4. "Execute N phases" top-level button: approves all `pending` phases that have tasks, then calls `queueAllPhases` — count includes both `pending` (with tasks) and `approved` phases
|
||||
5. Tasks auto-queued when phase starts
|
||||
|
||||
### Detailing Phases
|
||||
1. Select phase → "Detail" button
|
||||
|
||||
Reference in New Issue
Block a user