1.4 KiB
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 | todo | feature | high | 2026-02-08T12:32:53Z | 2026-02-08T12:35:03Z | nuzlocke-tracker-iu5b |
|
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.