🟡 DisciplinesTab: tab filtering broken — all attunements render simultaneously #56
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?
File:
src/components/game/tabs/DisciplinesTab.tsx, lines 207-232The grid renders cards from all
attunementTabssimultaneously. The visibility check:compares array references, which is always
truesince it's the same array. There is no actual tab filtering — all discipline cards from all attunements are always shown.Impact: The attunement tab bar is purely decorative. Users see all disciplines from all attunements at once regardless of which tab is selected.
Fix: Track the selected tab in state and filter the rendered cards to only show disciplines from the selected attunement.
[priority: 4] BROKEN FEATURE — DisciplinesTab tab filtering broken, all attunements render simultaneously.
Verified fixed. The DisciplinesTab now tracks
activeAttunementstate and renders onlyactiveTab?.itemsinstead of all attunement tabs simultaneously. The tab bar correctly filters discipline cards by selected attunement.