Home

boring / v2

publicBoring-Software-Inc/v2
Overview Code History Branches Pull requestsIssuesInsights Campfire Docs
main
HomeOverview Code PRsIssues

fix(web): real session user + collapse analytics to moderation source

4 months ago

432eee5
Authored
grim7/12/2026, 10:34:01 AM
- shell topbar shows the REAL signed-in maintainer (getCurrentUser: better-auth
  session + forge_identities.username/avatar); open-dev renders a clearly-
  labeled 'local session'/@dev placeholder — the hardcoded MODERATOR fixture
  is deleted, DashboardLayout no longer takes a moderator prop
- nav is exactly Queue/Events/Rules/Workflows/Analytics (topbar + mobile
  footer); UserMenu drops Profile + the dead Settings item
- /analytics collapses to the moderation source only: dropped the automod
  source branch + validateSearch param, deleted automod.query/functions/
  mock/types + the analytics-events mock seeds (kept closestEventId), back to /
- spec §4 surface list rewritten to the final real shape
checks green: biome, typecheck, boundaries, 193 tests.

Parentacf3dab

21 files changed
  • DECISIONS.md+35−0
  • VERIFICATION-QUEUE.md+8−0
  • all-summaries.md+12−0
  • apps/web/src/components/events/events-page.tsx+2−3
  • apps/web/src/components/layouts/dashboard-layout.tsx+5−9
  • apps/web/src/components/layouts/dashboard-topbar.tsx+18−13
  • apps/web/src/components/rules/rules-page.tsx+2−3
  • apps/web/src/components/runs/run-page.tsx
+2
−2
  • apps/web/src/components/workflows/workflows-page.tsx+2−3
  • apps/web/src/lib/analytics-events.ts+0−415
  • apps/web/src/lib/analytics.ts+0−39
  • apps/web/src/lib/auth.functions.ts+41−0
  • apps/web/src/lib/auth.query.ts+14−0
  • apps/web/src/lib/automod-mock-data.ts+0−381
  • apps/web/src/lib/automod.functions.ts+0−16
  • apps/web/src/lib/automod.query.ts+0−27
  • apps/web/src/lib/automod.types.ts+0−12
  • apps/web/src/lib/site-config.ts+0−7
  • apps/web/src/routes/analytics.tsx+14−31
  • apps/web/src/routes/index.tsx+1−2
  • spec.md+17−7