Files
where_woof/openspec/changes/admin-insights-pages/tasks.md

18 lines
864 B
Markdown

## 1. Schema & Go
- [ ] 1.1 `db/schema.sql`: idempotent `users.paused` + `orders.amount`; `make db-up`; `make generate`
- [ ] 1.2 `scan.go`: `shouldAlert` + FinderContact — load owner, return false when paused
- [ ] 1.3 Static pages: `about.go` handlers (About/WhatIsThis/Contact) + templates + routes + template sets
## 2. Admin
- [ ] 2.1 StatsOverview: Customers + Revenue stats
- [ ] 2.2 OrderResource: `amount` input + column; UserResource: `paused` toggle + column
- [ ] 2.3 `UserResource/RelationManagers/TagsRelationManager.php` (code, status, item type)
## 3. Verification
- [ ] 3.1 New suite: paused owner → no alert (scan recorded); unpaused → alert; /about /what-is-this /contact render 200
- [ ] 3.2 Regressions (72) green; deploy (frontend binary+templates; admin rebuild/restart)
- [ ] 3.3 `openspec validate admin-insights-pages`; commit