Paradaux
IssuesPAR-161Done
0

Consolidate admin tools into an "Admin" mode with its own sub-navbar

Why

The main header nav had grown 5+ admin links (Transactions, Audit, API keys, Groups, Webhooks — and /admin/backfill wasn't even surfaced). Collapse them into a single Admin entry that opens a dedicated admin section with its own sub-navbar.

Change (economy-explorer)

  • components/HeaderNav.tsx: replace the 5 admin links with one Admin/admin (highlights for /admin/* and /transactions).
  • components/AdminNav.tsx: the admin sub-navbar (Overview, Transactions, Audit, API keys, Groups, Webhooks, Backfill) with active-highlighting.
  • app/admin/layout.tsx: gates the whole /admin/* area to admins (non-admins never see the tool list) and renders AdminNav above each page.
  • app/admin/page.tsx: an admin landing/overview with a card per tool.
  • /transactions (admin-gated but lives outside /admin, since its [txnId] detail isn't admin-only) renders AdminNav itself so the admin section feels continuous.
  • CSS: .admin-subnav + .admin-tool-grid in explorer.css.

Individual admin pages keep their own gate as defence-in-depth. Follow-up to PAR-160 (which added /admin/webhooks).

Comments

No comments yet.

Activity

  • ParadauxIO linked a pull request — PR #19 merged — Release: webhooks documentation (player guide + admin page) (PAR-162)Jun 14, 2026, 4:57 PM
  • ParadauxIO linked a pull request — PR #19 open — Release: webhooks documentation (player guide + admin page) (PAR-162)Jun 14, 2026, 4:55 PM
  • ParadauxIO linked a pull request — PR #19 open — Release: admin mode + webhooks documentation (PAR-161, PAR-162)Jun 14, 2026, 4:55 PM
  • ParadauxIO linked a commit — Commit 38564a5 — Merge pull request #18 from MCCitiesNetwork/developJun 14, 2026, 4:39 PM
  • ParadauxIO linked a commit — Commit 5350153 — Consolidate admin tools into an Admin section with its own sub-navbar (PAR-161)Jun 14, 2026, 4:39 PM
  • ParadauxIO changed status to Status → DoneJun 14, 2026, 4:39 PM
  • ParadauxIO linked a pull request — PR #18 merged — Release: consolidate admin tools into an Admin section + sub-navbar (PAR-161)Jun 14, 2026, 4:39 PM
  • tesks changed status to Status → Pending ReleaseJun 14, 2026, 4:38 PM
  • ParadauxIO linked a pull request — PR #18 open — Release: consolidate admin tools into an Admin section + sub-navbar (PAR-161)Jun 14, 2026, 4:38 PM
  • ParadauxIO linked a pull request — PR #17 open — Release: admin webhooks page + consolidated Admin section/sub-navbar (PAR-160, PAR-161)Jun 14, 2026, 4:37 PM
  • ParadauxIO linked a commit — Commit 5350153 — Consolidate admin tools into an Admin section with its own sub-navbar (PAR-161)Jun 14, 2026, 4:37 PM
  • tesks created the issueJun 14, 2026, 4:37 PM