Files
nuzlocke-tracker/.beans/nuzlocke-tracker-9i9m--admin-interface-overhaul.md
2026-03-22 08:56:06 +01:00

1.8 KiB

title, status, type, created_at, updated_at
title status type created_at updated_at
Admin interface overhaul draft epic 2026-03-21T21:58:48Z 2026-03-21T21:58:48Z

Overhaul the admin interface to reduce navigation depth for game data management and add proper run administration.

Problems

  1. Game data navigation is too deep — Adding an encounter requires navigating Games → Game Detail → Route Detail (3 levels). This is rare but painful when needed.
  2. No way to search across admin entities — You have to manually drill down through the hierarchy to find anything.
  3. Run admin is view+delete only — Clicking a run row immediately opens a delete confirmation. No way to edit name, status, owner, visibility, or other metadata.

Solution

Game Data Navigation

  • Add a global search bar to the admin layout header that lets you jump directly to any game, route, encounter, or pokemon by name
  • Add flattened views for routes (/admin/routes) and encounters (/admin/encounters) as top-level admin pages with game/region filters, so you don't have to drill down through the game hierarchy

Run Administration

  • Add a slide-over panel that opens when clicking a run row (replacing the current delete-on-click behavior)
  • Panel shows editable metadata: name, status, owner, visibility, rules, naming scheme
  • Add admin-only backend endpoint for owner reassignment
  • Keep delete as a button inside the panel (not the primary action)

Success Criteria

  • Global admin search bar in layout header
  • Flattened routes page (/admin/routes) with game filter
  • Flattened encounters page (/admin/encounters) with game/route filters
  • Admin nav updated with new pages
  • Run slide-over panel with metadata editing
  • Admin endpoint for owner reassignment
  • Delete moved inside slide-over panel