Files
nuzlocke-tracker/.beans/nuzlocke-tracker-xd9j--add-team-snapshot-to-boss-battle-results.md
Julian Tabel c9d42b091f
All checks were successful
CI / backend-tests (push) Successful in 26s
CI / frontend-tests (push) Successful in 29s
Daedalus and Talos integration test
2026-03-20 16:31:19 +01:00

21 lines
993 B
Markdown

---
# nuzlocke-tracker-xd9j
title: Add team snapshot to boss battle results
status: todo
type: feature
priority: low
created_at: 2026-03-20T15:11:53Z
updated_at: 2026-03-20T15:12:32Z
parent: nuzlocke-tracker-neqv
---
When recording a boss battle result, allow the player to snapshot which alive team pokemon they used and at what levels. This gives a record of "what I brought to the fight."
## Checklist
- [ ] **Migration**: Create \`boss_result_team\` table (\`id\`, \`boss_result_id\` FK, \`encounter_id\` FK, \`level\`)
- [ ] **Model**: Create \`BossResultTeam\` model, add relationship to \`BossResult\`
- [ ] **Schemas**: Add \`BossResultTeamInput\` and update \`BossResultCreate\`/\`BossResultResponse\`
- [ ] **API**: Update \`POST /runs/{run_id}/boss-results\` to accept and save team snapshot
- [ ] **BossDefeatModal**: Add checkboxes for alive team members with optional level override
- [ ] **Display**: Show team snapshot when viewing past boss results in \`RunEncounters.tsx\`