fix: otb config bottom sheet will show up at otb game start - #2320
Conversation
644bbbf to
9edea1a
Compare
|
Nothing wrong in the code of this PR. But:
|
|
Yes, I am able to reproduce it. I decided to show the new game bottom sheet so user can decide the time control and variant to play before game start. |
|
Closing as the issue is not an issue (cf #2317 ) |
|
Maybe we want to show the bottom sheet anyways, as it improves the UX. |
|
Yes the UX could be improved for sure. I am open to new suggestions, or PRs, if you feel like it. Note that I also don't like the bottom sheet automatically open if it doesn't allow to start the game in one tap. Which was the case if I'm not mistaken. So I'd accept an UX change, but it'd need to be a little better than just this opening of bottom sheet. |
It doesn't, as you still need to hit the "play" button after. But I agree we could bring back this PR with that change (play on bottom sheet effectively starts the game). |
Hmm, that was intended behavior though, the clock is not supposed to start until you make the first move, right? You don't actually have to press the play button, making the first move starts the clock/game as well |
|
I am open to make any changes necessary if the PR is opened just need to know what the actual change required is. I thought my change was a quick smart fix that is also intuitive to end users as they will be using same bottom sheet to start game and start new games from that point and beyond. Also, I was also thinking of adding unlimited time option as that's how I used to play with my pals at restaurants while waiting for the food to arrive. Can I work on that on a different PR of course? Just want to get an yes from someone who can merge. |
|
I'm sold! Feel free to make another PR with unlimited time if you want @nirajk14 |
|
Hopefully it’s okay to ask 2 questions please 1.) with the bottom sheet showing by default. Can we save the last used time control. Currently it always resets back to 5+3. The same way that online bots can save time control preferences separate from your regular games (I can create a pr if you agree) |

Closes #2317