[medium] Discipline UI doesn't show required mana type or mana cost to reach 100% #131
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: Discipline cards don't clearly show mana type requirement or mana needed for 100%
Description
The discipline card UI in
DisciplinesTab.tsxdoes not clearly communicate:Current State
The
DisciplineCardcomponent receivesDisciplineCardDefinitionwhich does not includemanaTypeorbaseCostfields. The card displays:xp / (concurrentLimit * 100), not mana)There is no indication of:
baseCostfield from the discipline definitionExpected Behavior
Each discipline card should clearly show:
ELEMENTSconstantsFiles Involved
src/components/game/tabs/DisciplinesTab.tsx—DisciplineCardDefinitioninterface andDisciplineCardcomponentsrc/lib/game/types/disciplines.ts—DisciplineDefinitionhasmanaTypeandbaseCostbut they're not passed to the cardsrc/lib/game/constants/elements.ts—ELEMENTSrecord has icons, colors, names for displaySuggested Fix
manaTypeandbaseCosttoDisciplineCardDefinitionATTUNEMENT_TABSmapping inDisciplinesTab🔥 Fire) on each cardStarting work on discipline UI mana type/cost display. Plan:
✅ Fixed. Changes in commit
2c58186:manaTypeandbaseCosttoDisciplineCardDefinitioninterfacedisc.manaTypeanddisc.baseCostfrom the ATTUNEMENT_TABS mapping to each DisciplineCardsrc/components/game/tabs/DisciplinesTab.tsx(277 lines, under 400 limit)