chore: update plan docs, submodule ref
This commit is contained in:
@@ -87,7 +87,7 @@ Wave FINAL: Build verification + code review
|
||||
|
||||
## TODOs
|
||||
|
||||
- [ ] 1. Start heartbeat collector in main.go
|
||||
- [x] 1. Start heartbeat collector in main.go
|
||||
|
||||
**What to do**:
|
||||
- In `apps/server-core/main.go`, after line 176 (`hbMgr := heartbeat.NewHeartbeatManager(rdb, db)`), add:
|
||||
@@ -112,7 +112,7 @@ Wave FINAL: Build verification + code review
|
||||
- [ ] `StartHeartbeatCollector` called conditionally (only if Redis configured)
|
||||
- [ ] `go build ./...` passes
|
||||
|
||||
- [ ] 2. Add WgServerID json tag + WgServer relation to Device model
|
||||
- [x] 2. Add WgServerID json tag + WgServer relation to Device model
|
||||
|
||||
**What to do**:
|
||||
- In `apps/server-core/internal/models/models.go`, modify the Device struct:
|
||||
@@ -143,7 +143,7 @@ Wave FINAL: Build verification + code review
|
||||
- [ ] `wg_server` object appears in JSON response when preloaded
|
||||
- [ ] `go build ./...` passes
|
||||
|
||||
- [ ] 3. Preload WgServer in Devices List handler
|
||||
- [x] 3. Preload WgServer in Devices List handler
|
||||
|
||||
**What to do**:
|
||||
- In `apps/server-core/api/devices.go`, DeviceList handler (line 35-56):
|
||||
@@ -160,7 +160,7 @@ Wave FINAL: Build verification + code review
|
||||
- [ ] GET /api/v1/devices returns `wg_server` object with `name`, `public_endpoint` etc.
|
||||
- [ ] `go build ./...` passes
|
||||
|
||||
- [ ] 4. Update Device TS interface + add Server column in Devices.vue
|
||||
- [x] 4. Update Device TS interface + add Server column in Devices.vue
|
||||
|
||||
**What to do**:
|
||||
- In `apps/dashboard-ui/src/api/devices.ts`:
|
||||
@@ -206,8 +206,8 @@ Wave FINAL: Build verification + code review
|
||||
|
||||
## Final Verification Wave
|
||||
|
||||
- [ ] F1. **Build Verification** — `go build ./...` passes for server-core
|
||||
- [ ] F2. **Review changes** — All 4 files modified correctly
|
||||
- [x] F1. **Build Verification** — `go build ./...` passes for server-core
|
||||
- [x] F2. **Review changes** — All 4 files modified correctly
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user