[priority: low] Redesign Elemental subtab in DisciplinesTab to group by mana type #192
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?
Enhancement: Redesign Elemental subtab to organize disciplines by mana type
Description
The Elemental subtab in the Disciplines tab currently shows all elemental disciplines jumbled together in a flat list. It should be reorganized to group disciplines by mana type, showing capacity and conversion speed side by side.
Current State
In
DisciplinesTab.tsx:This flattens all capacity disciplines (from
elemental.ts) and conversion disciplines (fromelemental-regen.tsandelemental-regen-advanced.ts) into a single unordered list. The result is:This is confusing because related disciplines (capacity + conversion for the same element) are far apart.
Expected Behavior
The Elemental subtab should group disciplines by mana type:
Affected Files
src/components/game/tabs/DisciplinesTab.tsx—ATTUNEMENT_TABSand rendering logicSuggested Implementation
ElementalDisciplineGroupthat renders a mana type header with its icon/colorELEMENTSconstant for icons, colors, and orderingStarting work on redesigning Elemental subtab to group by mana type.
Completed: Elemental subtab redesign
Changes Made
New files (all under 400 lines):
src/components/game/tabs/DisciplineCard.tsx(169 lines) — extracted card componentsrc/components/game/tabs/ElementalSubtab.tsx(167 lines) — grouped-by-mana-type subtabsrc/components/game/tabs/DisciplinesTab.tsx(150 lines) — slim orchestrator, was 283 linesWhat Changed
The Elemental subtab in the Disciplines tab now groups disciplines by mana type instead of showing a flat list. The layout organizes disciplines into:
Each mana type shows a colored header with icon, and renders capacity + conversion disciplines side-by-side in a 2-column grid. Other subtabs (Base, Enchanter, Fabricator, Invoker) remain unchanged.
Test Results
spire-utils.test.ts(random-dependent assertion, unrelated to this change)Issue completed. Elemental subtab now groups disciplines by mana type with capacity and conversion shown side-by-side.