[medium] Discipline UI doesn't show which mana types are consumed during practice #132
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?
UI Issue: Unclear what mana types are drained when practicing a discipline
Description
When a player looks at a discipline card, it's not obvious which mana type will be consumed while practicing. The
manaTypefield exists in the data model but is never displayed in the UI.Current State
DisciplineDefinition.manaTypeexists and is used indiscipline-slice.tsprocessTick()to determine which mana pool to drainDisciplineCardDefinitioninterface inDisciplinesTab.tsxdoes NOT includemanaTypeDisciplineCardcomponent never renders the mana typeExpected Behavior
Each discipline card should prominently display:
ELEMENTSconstantsFiles Involved
src/components/game/tabs/DisciplinesTab.tsx—DisciplineCardDefinitionneedsmanaType, card needs to render itsrc/lib/game/constants/elements.ts—ELEMENTShas display info (sym, color, name)Example
A discipline using fire mana should show something like:
With the fire emoji and orange color (#FF6B35).
Investigation Result: Issue #132 appears to already be resolved in the current codebase.
The
DisciplineCardDefinitioninterface already includesmanaType: ManaType(line ~57), and theDisciplineCardcomponent already renders a styled badge with the element's emoji, name, and color in the card header (lines ~113-125):The mana type is displayed prominently next to the discipline name. Marking as done.
Mana type is already displayed on discipline cards as a colored badge with emoji and element name. The issue appears to have been resolved previously.