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

158 buttons dont indicate that the user has already clicked #191

Merged

Conversation

jengu288
Copy link
Collaborator

Changed the behaviour of buttons that persist after being clicked: Voting to skip a prompt, end the round, and dispute things.
Unclicked:
image
Clicking darkens the button's white component, removes the dropshadow to "flatten" the button, and records vote on the badge icon:
image
When the next vote will cause an action to occur, the badge turns orange:
image
Current player has not clicked, but another player has:
image

Similar examples with thumbs down icon:
imageimage

@jengu288 jengu288 linked an issue Jan 26, 2024 that may be closed by this pull request
Copy link
Owner

@ConorMurphy21 ConorMurphy21 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will approve because it looks great for what you are changing. Just make sure to adjust the notification bubble colour before merging. Can re-request if you make a change I might not approve.

client/src/components/gameShared/NotificationCount.vue Outdated Show resolved Hide resolved
@jengu288 jengu288 merged commit ddfa375 into master Feb 2, 2024
2 checks passed
@jengu288 jengu288 deleted the 158-buttons-dont-indicate-that-the-user-has-already-clicked branch February 2, 2024 05:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Buttons don't indicate that the user has already clicked
2 participants