Skip to content

feat(admin): operations & analytics #1966

@cdcore09

Description

@cdcore09

Summary

Operational dashboard surfaces — member growth charts, organization rosters, audit-log analytics, settings. Continuous, iterative work; expand as needs surface.

Requirements

  • Brainstorming → spec under docs/superpowers/specs/.
  • /admin/dashboard (foundation already ships an MVP) — expand with growth charts, member-by-discipline / -by-country breakdowns, retention metrics.
  • /admin/audit analytics: most-acted users, most-touched targets, action-frequency over time.
  • /admin/settings — global feature flags, integration toggles, super_admin-only.
  • Read-only data export: CSV / JSON dumps of member lists, audit ranges, etc., with appropriate gates and audit-logging of the export itself.

Context

Foundation must ship first (#1956). This is the catch-all subsystem for "things every admin app eventually needs that don't fit cleanly into a domain subsystem".

Implementation Notes

  • Charts: prefer in-page SVG via existing component patterns over a heavy charting library at first.
  • Data export is a sensitive action; gate behind super_admin and capture before/after audit context.
  • Future: a query-builder for ad-hoc reports could live here, but YAGNI — wait until the canned reports prove insufficient.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions