mechawrench / wificom-webapp

WebApp portion of the WiFiCom Project
MIT License
2 stars 0 forks source link

Buttons for "Accept Realtime Battle" should be mutually exclusive #4

Closed dmcomm closed 1 year ago

dmcomm commented 1 year ago

On the guest side, when we can start we can't retry, and vice versa.

dmcomm commented 1 year ago

Currently the start button isn't coming back when I put a new invite code.

dmcomm commented 1 year ago

Also the start button isn't disabled until after the status message fades.

mechawrench commented 1 year ago

These should be addressed if you can try again (on qa):

dmcomm commented 1 year ago

Great! One more: On the guest side, if we try to reuse an invite code with a different WiFiCom Device, that should report an error, or maybe disable both buttons to be consistent.

Both fields same as before is a retry, invite code changed is a start, same invite code different device is not allowed.

Might have been simpler to program with just one button on the guest side, but probably more intuitive for the user having two.

dmcomm commented 1 year ago

I proposed on Discord:

(There still needs to be an error message if user submits the same invite code again.)

dmcomm commented 1 year ago

See #12