Files
nuzlocke-tracker/.beans/nuzlocke-tracker-532i--ux-remove-level-field-from-boss-defeat-modal.md
2026-03-22 08:56:06 +01:00

30 lines
1021 B
Markdown

---
# nuzlocke-tracker-532i
title: 'UX: Make level field optional in boss defeat modal'
status: todo
type: feature
priority: normal
created_at: 2026-03-21T21:50:48Z
updated_at: 2026-03-21T22:04:08Z
---
## Problem
When recording which team members beat a boss, users must manually enter a level for each pokemon. Since the app does not track levels anywhere else, this is unnecessary friction with no payoff.
## Current Implementation
- Level input in `BossDefeatModal.tsx:200-211`
- DB column `boss_result_team.level` is `SmallInteger NOT NULL` (in `models.py`)
- Level is required in the API schema
## Proposed Solution
Remove the level field entirely from the UI and make it optional in the backend:
- [ ] Remove level input from `BossDefeatModal.tsx`
- [ ] Make `level` column nullable in the database (alembic migration)
- [ ] Update the API schema to make level optional (default to null)
- [ ] Update any backend validation that requires level
- [ ] Verify boss result display still works without level data