Add admin API endpoints for games, routes, pokemon, and route encounters with full CRUD operations including bulk import. Build admin frontend with game/route/pokemon management pages, navigation, and data tables. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
43 lines
1.2 KiB
Markdown
43 lines
1.2 KiB
Markdown
---
|
|
# nuzlocke-tracker-hy41
|
|
title: Admin Panel
|
|
status: in-progress
|
|
type: task
|
|
priority: normal
|
|
created_at: 2026-02-04T15:47:05Z
|
|
updated_at: 2026-02-05T17:25:58Z
|
|
parent: nuzlocke-tracker-f5ob
|
|
---
|
|
|
|
Build an admin interface for managing reference data.
|
|
|
|
## Checklist
|
|
- [ ] Create admin routes/pages separate from tracker
|
|
- [ ] Game Management:
|
|
- [ ] List all games
|
|
- [ ] Add new game
|
|
- [ ] Edit game details
|
|
- [ ] Delete game (with cascade warning)
|
|
- [ ] Route Management:
|
|
- [ ] List routes for a game
|
|
- [ ] Add new route
|
|
- [ ] Edit route details (name, order)
|
|
- [ ] Delete route
|
|
- [ ] Reorder routes via drag-and-drop
|
|
- [ ] Route Pokémon Assignment:
|
|
- [ ] View Pokémon available on a route
|
|
- [ ] Add Pokémon to route
|
|
- [ ] Remove Pokémon from route
|
|
- [ ] Set encounter rates/methods
|
|
- [ ] Pokémon Management:
|
|
- [ ] List all Pokémon
|
|
- [ ] Add new Pokémon
|
|
- [ ] Edit Pokémon details
|
|
- [ ] Bulk import from CSV/JSON
|
|
- [ ] Admin API endpoints:
|
|
- [ ] POST/PUT/DELETE for games, routes, pokemon, route_pokemon
|
|
|
|
## Notes
|
|
- Can be a simple CRUD interface
|
|
- Consider using a UI library for tables/forms
|
|
- No auth required for MVP (assume local/trusted use) |