[priority: 4] Recreate Spire Summary Tab (Outside Spire) #93
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Recreate the Spire Summary tab that was deleted in commit
fe0f2a0. This tab shows spire progress and statistics when the player is NOT inside the spire (i.e.,spireModeis false).Context
combatStore.ts:currentFloor,maxFloorReached,clearedFloors,spireModefloorHP,floorMaxHPcalculated bygetFloorMaxHP(floor)infloor-utils.tsconstants/guardians.ts(9 guardians at floors 10, 20, 30, 40, 50, 60, 80, 90, 100)types/game.tsandconstants/rooms.ts)LeftPanel.tsxhas a "Climb the Spire" button that callsenterSpireMode()calcInsight()incombat-utils.ts)Requirements
src/components/game/tabs/SpireSummaryTab.tsxspireModeis false (when in spire mode, the Spire Combat page should show instead)src/components/ui/src/components/game/tabs/index.tsbarrel exportsrc/app/page.tsxwith lazy loading patternDebugNamewrapperArchitecture Notes
Starting work on Spire Summary Tab. Examining existing patterns and dependencies.
Spire Summary Tab complete. Created
SpireSummaryTab.tsx(357 lines) with: