21 lines
993 B
Markdown
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\`
|