Task 3: Step 2 complete - plan sub-tasks for bug fixes
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 6m42s

This commit is contained in:
Refactoring Agent
2026-04-27 10:53:08 +02:00
parent 5f1f72d892
commit 06778f96b3
22 changed files with 508 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
# 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.ts` or similar state management for spire
- `types/spire.ts` if type definitions need updates
## Acceptance Criteria
1. **Bug 1**: Floor health display in SpireModeUI updates reactively after every spell cast (verify by casting spells in spire and observing health change immediately)
2. **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)
3. **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
4. No regressions in other spire functionality
## Dependencies
- None (can be executed first)
## Estimated Complexity
- Medium (3 linked UI components + state management)