Skip to content

fix(ui): remove non-functional CHANGE SEAT button from table #62

Description

@bitcoinbrisbane

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)

Image

Acceptance Criteria

  • No "CHANGE SEAT" button visible anywhere in the UI
  • Vacant seats only show "SIT HERE" for users who are not already seated
  • Vacant seats show nothing (or just the empty seat visual) for users who are already seated
  • PlayerPopUpCard removed if no longer needed, or cleaned up if used elsewhere
  • yarn build passes, yarn lint:fix passes

Related

🤖 Generated with Claude Code

Metadata

Metadata

Labels

UIUI related issuesgood first issueGood for newcomersseatingAnything to do with seatingtable-layoutTable layout feature grouptech debtTechnical debttech-debtTechnical debt and code quality improvements

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions