Files
nuzlocke-tracker/.beans/nuzlocke-tracker-dyzh--click-to-edit-pattern-across-admin-tables.md
Julian Tabel a01d01c565 Add Pokemon detail card with tabbed encounter/evolution views
Pokemon edit modal now shows three tabs (Details, Evolutions, Encounters)
instead of a single long form. Evolution chain entries are clickable to
open the EvolutionFormModal for direct editing. Encounter locations link
to admin route detail pages. Create mode shows only the form (no tabs).

Backend adds GET /pokemon/{id}/encounter-locations (grouped by game) and
GET /pokemon/{id}/evolution-chain (BFS family discovery). Extracts
formatEvolutionMethod to shared utility.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 14:03:43 +01:00

1.4 KiB

title, status, type, priority, created_at, updated_at, parent, blocking
title status type priority created_at updated_at parent blocking
Click-to-edit pattern across admin tables completed feature high 2026-02-08T12:32:53Z 2026-02-08T12:45:17Z nuzlocke-tracker-iu5b
nuzlocke-tracker-fxi7
nuzlocke-tracker-mg46

Replace the current pattern of separate Edit/Delete action buttons with an inline click-to-edit pattern across all admin pages.

Current behavior

  • Table rows show data with Edit and Delete buttons on the right
  • Clicking Edit opens a modal form
  • Clicking Delete opens a confirmation dialog

Desired behavior

  • Clicking a table row opens an edit card/panel inline or as a detail view
  • The edit card shows all fields in editable form
  • A Delete button is available within the edit card
  • Save/Cancel buttons to confirm or discard changes
  • Clicking outside or pressing Escape cancels

Affected pages

  • AdminPokemon (pokemon table)
  • AdminEvolutions (evolutions table)
  • AdminGames (games table)
  • AdminGameDetail routes tab (routes table)
  • AdminGameDetail bosses tab (boss battles table)
  • AdminRouteDetail (route encounters table)
  • AdminRuns (runs table — delete only, no edit)

Notes

  • Some pages already have row click handlers (Games navigates to detail). Preserve that where it makes sense — the edit card could be the detail page itself.
  • Keep modal forms for Create (adding new entities) since there's no row to click yet.