docs: phase 3b.2 reports/export session log + roadmap note
All checks were successful
Build and Push Docker Image / build (push) Successful in 1m17s
All checks were successful
Build and Push Docker Image / build (push) Successful in 1m17s
This commit is contained in:
@@ -187,8 +187,13 @@ Each phase keeps the system working and is its own spec → plan → build cycle
|
||||
`GET /api/admin/users` roster), an admin **Sessies** screen (list + status filter +
|
||||
create/edit form + row actions), Stop/Annuleer on the Live cards, and a worker stopwatch
|
||||
that polls (15 s) and reconciles to server truth (converges within ~15 s when an admin
|
||||
stops/cancels/edits a session — no stuck state). **3b remaining:** reports/export
|
||||
(all-users filtered CSV — current `/api/export` is self-scoped) and user management
|
||||
stops/cancels/edits a session — no stuck state).
|
||||
**3b·2 implemented** (plan `docs/superpowers/plans/2026-06-24-phase-3b2-reports-export.md`):
|
||||
the admin **Rapporten** screen (period presets Deze week / Deze maand / Alles +
|
||||
worker/type/activity filters, headline totals and breakdowns per worker/activity/type) backed by
|
||||
`GET /api/admin/report` (completed-only, JS aggregation), plus an all-users filtered CSV via
|
||||
`GET /api/admin/export` — a shared `buildSessionsCsv(rows, {includeWorker})` now serves both the
|
||||
worker self-export and the admin export. **3b remaining:** user management
|
||||
(better-auth `/api/auth/admin/*`).
|
||||
Activity management (add/edit/delete handelingen + their `insole_types`) was removed from the
|
||||
worker client in the Phase 2 follow-up because it is admin-only; it must be **ported here**. The
|
||||
|
||||
Reference in New Issue
Block a user