Mark evolution and admin panel beans as completed
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,14 +1,19 @@
|
||||
---
|
||||
# nuzlocke-tracker-a7q2
|
||||
title: Handle pokemon evolutions
|
||||
status: todo
|
||||
status: completed
|
||||
type: feature
|
||||
priority: normal
|
||||
created_at: 2026-02-05T14:27:07Z
|
||||
updated_at: 2026-02-05T14:27:07Z
|
||||
updated_at: 2026-02-05T18:26:11Z
|
||||
parent: nuzlocke-tracker-f5ob
|
||||
---
|
||||
|
||||
Add support for pokemon evolutions in the tracker. When a pokemon evolves during a Nuzlocke run, the tracker should reflect the new species while preserving the encounter history (original catch route, catch level, nickname, etc.). Needs investigation into:
|
||||
- How to model evolutions (track current species vs. original species)
|
||||
- Whether to pull evolution chain data from PokeAPI during seeding
|
||||
- UX for marking a pokemon as evolved (from the team view or encounter edit)
|
||||
Add support for pokemon evolutions in the tracker. When a pokemon evolves during a Nuzlocke run, the tracker should reflect the new species while preserving the encounter history (original catch route, catch level, nickname, etc.).
|
||||
|
||||
## Implementation
|
||||
|
||||
- **Data model**: `Evolution` table with from/to pokemon, trigger, level, item, and condition fields. `Encounter.current_pokemon_id` tracks evolved species separately from original.
|
||||
- **Seed data**: Evolution chains fetched from PokeAPI submodule data, with an overrides file for manual corrections.
|
||||
- **API**: `GET /pokemon/{id}/evolutions` returns available evolutions. `PATCH /encounters/{id}` accepts `current_pokemon_id` to record an evolution.
|
||||
- **Frontend**: "Evolve" button in StatusChangeModal shows available evolutions with trigger details. PokemonCard displays the current (evolved) species with "Originally: {name}" label.
|
||||
Reference in New Issue
Block a user