(plan) convert original implement plan to mock api
This commit is contained in:
@@ -1,15 +1,16 @@
|
||||
# 3.7 — Live sync animation (GREEN)
|
||||
# 3.7 — Live sync animation (mock, GREEN)
|
||||
|
||||
Phase: 3 — Delivery Tree (Surface E)
|
||||
Stage: GREEN
|
||||
|
||||
Depends on: [2.5](2.5-api-stream.md), [3.6](3.6-frontend-wave-columns.md)
|
||||
|
||||
- [ ] Live sync animation `OutOfSync -> Syncing -> Synced` driven by Application watch (reuse Phase 2 SSE `/api/stream`, add `delivery` event type)
|
||||
- [ ] Live sync animation `OutOfSync -> Syncing -> Synced` driven by [/api/stream](../app/api/stream/route.ts) `delivery` event type (add this event type alongside the existing `topology` one)
|
||||
|
||||
Mock only: `/api/stream` emits synthetic deltas, not a real Argo Application watch. See [REQUIREMENTS.md](REQUIREMENTS.md).
|
||||
|
||||
## Verify
|
||||
|
||||
```bash
|
||||
# trigger an Argo sync, observe wave-ordered animation
|
||||
argocd app sync homelab-root
|
||||
curl -N http://localhost:3000/api/stream # observe delivery events once event type is added
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user