1001 B
1001 B
id, title, status, wave, depends_on, plan, spec
| id | title | status | wave | depends_on | plan | spec |
|---|---|---|---|---|---|---|
| 01-saved-layout-validation | Saved layout validation | done | 1 | plan.md | ../../specs/ui/task-layout-profiles.md |
Task 01: Saved Layout Validation
Acceptance
saved_layoutsrejects blank IDs, duplicate IDs, and more than one custom default.- Existing count/name checks remain intact, and lists with zero or one custom default are accepted.
- The existing GET/PATCH representation remains unchanged.
Files likely touched
apps/backend/internal/user/service/service.goapps/backend/internal/user/service/service_test.go
Dependencies
None.
Inputs
- Spec
Data modelandAPI surfacesections. - Existing
applySavedLayoutsand its table-driven tests.
Verification
go test -v -run TestApplySavedLayouts ./internal/user/service/...
Run from apps/backend.
Output contract
Report validation behavior, tests run, files changed, blockers, and risks; mark this task and its plan item done.