Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable controls if user isn't able to perform the action #13

Open
1 of 4 tasks
marein opened this issue Mar 6, 2018 · 0 comments
Open
1 of 4 tasks

Disable controls if user isn't able to perform the action #13

marein opened this issue Mar 6, 2018 · 0 comments

Comments

@marein
Copy link
Owner

marein commented Mar 6, 2018

Problem description
Currently the invariants are only captured on the server. Following needs to be done in the web interface.

  • Disable button in game list if a player joined a game or aborted a game.
    Use a design system #232 (sneaked in)
  • Disable the fields in the game view if it's not the current player's turn or the column is already filled.
  • Disable resign game button in game view if the game isn't resignable or the current user is not a player within that game.
  • Disable abort game button in game view if the game isn't resignable or the current user is not a player within that game.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant