Add condition badges for boss Pokemon mechanics
Some checks failed
CI / backend-lint (push) Failing after 9s
CI / actions-lint (push) Failing after 7s
CI / frontend-lint (push) Successful in 21s

Show colored pill badges (Mega, G-Max, D-Max, Tera) on boss Pokemon
in BossDefeatModal and BossTeamPreview. Starter-dependent condition
labels are ignored. Follows EncounterMethodBadge pattern.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-16 21:17:32 +01:00
parent 7aeddd61da
commit 8f4ee8f239
4 changed files with 61 additions and 1 deletions

View File

@@ -0,0 +1,18 @@
---
# nuzlocke-tracker-l12w
title: Add condition badges for boss Pokemon mechanics
status: in-progress
type: feature
priority: normal
created_at: 2026-02-16T20:11:02Z
updated_at: 2026-02-16T20:11:52Z
---
Add visible badges on boss Pokemon that have mechanic-related conditions (Mega Evolution, Gigantamax, Dynamax, Terastallize). Create a ConditionBadge component following the EncounterMethodBadge pattern and integrate it into BossDefeatModal and BossTeamPreview.
## Checklist
- [x] Create ConditionBadge component in frontend/src/components/ConditionBadge.tsx
- [x] Add ConditionBadge to BossDefeatModal.tsx boss team preview
- [x] Add ConditionBadge to RunEncounters.tsx BossTeamPreview
- [x] Verify with tsc and oxlint