1.1 KiB
1.1 KiB
title, status, type, priority, created_at, updated_at, parent
| title | status | type | priority | created_at | updated_at | parent |
|---|---|---|---|---|---|---|
| Handle pokemon evolutions | completed | feature | normal | 2026-02-05T14:27:07Z | 2026-02-05T18:26:11Z | 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.).
Implementation
- Data model:
Evolutiontable with from/to pokemon, trigger, level, item, and condition fields.Encounter.current_pokemon_idtracks 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}/evolutionsreturns available evolutions.PATCH /encounters/{id}acceptscurrent_pokemon_idto record an evolution. - Frontend: "Evolve" button in StatusChangeModal shows available evolutions with trigger details. PokemonCard displays the current (evolved) species with "Originally: {name}" label.