1.3 KiB
1.3 KiB
Sub-Task 1: Spire UI Fixes (Bugs 1, 2, 3)
Scope
- Components affected:
components/SpireModeUI.tsx(Floor health display, Climb Down button, activity log)components/SpireTab.tsx(Redesign as Spire Stats, move ClimbSpireButton here)- Spire state management (hooks/context for spire floor tracking, health, combat state)
- Files potentially affected:
store/spireSlice.tsor similar state management for spiretypes/spire.tsif type definitions need updates
Acceptance Criteria
- Bug 1: Floor health display in SpireModeUI updates reactively after every spell cast (verify by casting spells in spire and observing health change immediately)
- Bug 2: "Climb Down" button triggers floor-by-floor combat downward; player can only exit spire after reaching and clearing bottom floor (verify by climbing down multiple floors, confirm exit only at bottom)
- Bug 3:
- SpireTab redesigned as "Spire Stats" view (no longer shows misleading Current Floor stat)
- ClimbSpireButton moved from SpireModeUI to SpireTab
- Activity log moved from SpireTab to SpireModeUI
- No regressions in other spire functionality
Dependencies
- None (can be executed first)
Estimated Complexity
- Medium (3 linked UI components + state management)