tsmigiel / gloomhaven-full-stack

Network webapp to help with Gloomhaven bookkeeping
9 stars 0 forks source link

Server error when trying to check box for players playing in setup #2

Closed jlkoneczny closed 2 years ago

jlkoneczny commented 2 years ago

The checkbox is not being checked when clicking on players in step 1 of setup. The console gives the message server error: gh:server:change_setup [object Object] [globals.js:73](webpack://Main/dist/client/globals.js) whenever the input box is clicked.

jlkoneczny commented 2 years ago

It would be nice to have the error message bubble up to the UI as a toast message or something to let me know something happened (even if it was an error). I saw there was a server error when trying to advance the scenario, but I assume it's related to no players being selected.

tsmigiel commented 2 years ago

Sorry, newbie error on my part. A bug with the ' characters in your character name.

tsmigiel commented 2 years ago

I fixed the bug, please try again.

I will work on improving the UI so the error is more obvious. Some kind of popup is a good idea.

tsmigiel commented 2 years ago

I created a separate issue regarding making the errors nicer.