feat: team sidebar as floating panel on desktop #85

Merged
TheFurya merged 3 commits from feature/team-sidebar-desktop into develop 2026-03-22 11:36:00 +01:00
Owner

Summary

  • Convert the team section into a floating sidebar on desktop viewports for better space usage
  • Make the level field optional in the boss defeat modal (with nullable DB migration)
  • Add Alembic migration to make boss_result_team.level nullable

Test plan

  • Verify team sidebar floats correctly on desktop and remains inline on mobile
  • Confirm boss defeat modal works with and without level input
  • Run Alembic migration and verify boss_result_team.level accepts NULL values

🤖 Generated with Claude Code

## Summary - Convert the team section into a floating sidebar on desktop viewports for better space usage - Make the level field optional in the boss defeat modal (with nullable DB migration) - Add Alembic migration to make `boss_result_team.level` nullable ## Test plan - [ ] Verify team sidebar floats correctly on desktop and remains inline on mobile - [ ] Confirm boss defeat modal works with and without level input - [ ] Run Alembic migration and verify `boss_result_team.level` accepts NULL values 🤖 Generated with [Claude Code](https://claude.com/claude-code)
TheFurya added 3 commits 2026-03-22 11:33:51 +01:00
Add responsive 2-column layout for the encounters page:
- Desktop (lg, ≥1024px): Encounters on left, team in sticky right sidebar
- Mobile/tablet: Keep current stacked layout

The sidebar scrolls independently when team exceeds viewport height.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
feat: make level field optional in boss defeat modal
All checks were successful
CI / backend-tests (pull_request) Successful in 29s
CI / frontend-tests (pull_request) Successful in 39s
4d6e1dc5b2
Remove the level input from the boss defeat modal since the app doesn't
track levels elsewhere. Team selection is now just checkboxes without
requiring level entry.

- Remove level input UI from BossDefeatModal.tsx
- Add alembic migration to make boss_result_team.level nullable
- Update model and schemas to make level optional (defaults to null)
- Conditionally render level in boss result display

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
TheFurya merged commit 79cbb06ec9 into develop 2026-03-22 11:36:00 +01:00
TheFurya deleted branch feature/team-sidebar-desktop 2026-03-22 11:36:01 +01:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: pokemon/nuzlocke-tracker#85