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

Fixes Character Selection being unclear #309

Merged
merged 2 commits into from
May 5, 2022

Conversation

AW0005
Copy link
Contributor

@AW0005 AW0005 commented May 2, 2022

I was playing around with making prompts, and ended up getting very confused when I kept getting the "Character does not exist" error on submission.

Turns out I kept thinking I had to click the "Add Character" button to get the character's details to populate in after entering the code, when I really should have just been clicking outside of the input.

For me that really doesn't feel intuitive, and so this is a tiny bug fix / feature? that changes the character selection input to be "onInput" rather than "onChange" so it updates as a user is typing. It does mean that you get an inline error about the character not existing until you've finished typing the code, but I find that to be more helpful.

I made this change to _character_select_js.blade copy.php to be thorough, although I'll be honest I don't know what the copy is used for.

screencast 2022-05-02 14-41-51

@AW0005 AW0005 changed the base branch from main to develop May 2, 2022 18:45
@itinerare itinerare added the needs review Pull requests that are pending community review label May 2, 2022
@itinerare
Copy link
Collaborator

itinerare commented May 2, 2022

A fair change! Might be worth updating the sales post and gallery submission versions of that setup as well...
Oh, and the copy is a leftover/accidental inclusion and can/will be deleted without incident! So no need to worry about it for this purpose either way.

@itinerare itinerare self-requested a review May 2, 2022 18:49
@AW0005
Copy link
Contributor Author

AW0005 commented May 2, 2022

@itinerare Good call! I just pushed an update to those two files as well. I think I'll leave the change I made in the copied file since it's there already, haha.

@itinerare
Copy link
Collaborator

Sounds good, and fair enough!

@itinerare itinerare added the javascript Pull requests that update Javascript code label May 2, 2022
@itinerare itinerare added reviewed Pull requests that have received community review and are pending merge and removed needs review Pull requests that are pending community review labels May 5, 2022
@itinerare itinerare merged commit be2ff58 into corowne:develop May 5, 2022
@AW0005 AW0005 deleted the char_select_fix branch June 22, 2022 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
javascript Pull requests that update Javascript code reviewed Pull requests that have received community review and are pending merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants