Files
nuzlocke-tracker/.beans/nuzlocke-tracker-nvd6--add-detailed-boss-pokemon-information-ability-item.md

31 lines
1.5 KiB
Markdown
Raw Normal View History

2026-03-20 16:31:19 +01:00
---
# nuzlocke-tracker-nvd6
title: Add detailed boss pokemon information (ability, item, nature, moveset)
status: todo
type: feature
priority: low
created_at: 2026-03-20T15:11:50Z
updated_at: 2026-03-20T15:12:33Z
parent: nuzlocke-tracker-neqv
blocked_by:
- nuzlocke-tracker-vc5o
---
Add optional detail fields to boss pokemon entries: ability, held item, nature, and moveset (up to 4 moves).
## Approach
- Ability and moves reference the seeded `moves`/`abilities` tables via FK (hybrid approach — names only, no gen-specific stats yet)
- Held item and nature stored as plain strings (items table can come later; natures are static)
## Checklist
- [ ] **Migration**: Add columns to `boss_pokemon``ability_id` (FK|null), `held_item` (str|null), `nature` (str|null), `move1_id``move4_id` (FK|null)
- [ ] **Model**: Update `BossPokemon` in `backend/src/app/models/boss_pokemon.py` with relationships
- [ ] **Schemas**: Update `BossPokemonResponse` and `BossPokemonInput` in `backend/src/app/schemas/boss.py`
- [ ] **Admin UI**: Add fields to `BossTeamEditor.tsx` (ability autocomplete, item input, nature dropdown, 4 move autocomplete inputs)
- [ ] **Frontend types**: Update `BossPokemon` in `frontend/src/types/game.ts` and admin input types
- [ ] **Frontend display**: Show details on boss cards in `RunEncounters.tsx` and `BossDefeatModal.tsx`
- [ ] **Seed data**: Update bulk import format to support new fields
## Dependencies
- Requires moves and abilities tables to be seeded first