Files
nuzlocke-tracker/.beans/nuzlocke-tracker-a7q2--handle-pokemon-evolutions.md
2026-02-05 19:26:53 +01:00

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: 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.