Summary
Remove the "CHANGE SEAT" functionality from the UI. This feature is non-functional (no PVM/chain support) and adds visual clutter and confusion to the table. It should be removed now and re-implemented properly if/when the PVM supports seat changes.
What to Remove
The "CHANGE SEAT" button appears on vacant seats when the user is already seated at the table. It is wired through PlayerPopUpCard but does nothing useful — there is no chain action to move a player between seats.
Files to Modify
| File |
Change |
ui/src/components/playPage/Players/VacantPlayer.tsx |
Remove "CHANGE SEAT" popup/label for seated users — vacant seats should only show "SIT HERE" for unseated users |
ui/src/components/playPage/Players/PlayerPopUpCard.tsx |
May be removable entirely if only used for change seat (check OppositePlayer.tsx usage) |
ui/src/components/playPage/Players/PlayerCard.tsx |
Remove "CHANGE SEAT" label references |
ui/src/components/playPage/Players/OppositePlayer.tsx |
Check/remove any change seat popup integration |
ui/src/components/playPage/Table/components/PlayerSeating.tsx |
Check for change seat prop passing |
Screenshot (current broken state)
Acceptance Criteria
Related
🤖 Generated with Claude Code
Summary
Remove the "CHANGE SEAT" functionality from the UI. This feature is non-functional (no PVM/chain support) and adds visual clutter and confusion to the table. It should be removed now and re-implemented properly if/when the PVM supports seat changes.
What to Remove
The "CHANGE SEAT" button appears on vacant seats when the user is already seated at the table. It is wired through
PlayerPopUpCardbut does nothing useful — there is no chain action to move a player between seats.Files to Modify
ui/src/components/playPage/Players/VacantPlayer.tsxui/src/components/playPage/Players/PlayerPopUpCard.tsxOppositePlayer.tsxusage)ui/src/components/playPage/Players/PlayerCard.tsxui/src/components/playPage/Players/OppositePlayer.tsxui/src/components/playPage/Table/components/PlayerSeating.tsxScreenshot (current broken state)
Acceptance Criteria
PlayerPopUpCardremoved if no longer needed, or cleaned up if used elsewhereyarn buildpasses,yarn lint:fixpassesRelated
🤖 Generated with Claude Code