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

Adjust the behaviour of resolution number box in tournament client #32074

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

CloneWith
Copy link
Contributor

@CloneWith CloneWith commented Feb 24, 2025

This PR added a function to the number box of the resolution selector. When the Enter key is pressed with focus on the box, it would save and change the resolution as the Set Height button does.
After the new resolution is applied, a popup would appear for users to confirm the current resolution is what they'd expected.

@bdach
Copy link
Collaborator

bdach commented Feb 24, 2025

The number box still keeps focused and receives keyboard input after the resolution change, in case the client window is too big / small (or out of the screen) for users to change values back.

I don't think this is sane. The typical UX is to display a confirmation dialog post-change that requires the user to explicitly confirm they're OK with the change, and if no action is done withing about 20-30 seconds, the previous values are reverted to.

@pull-request-size pull-request-size bot added size/L and removed size/M labels Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants