You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Below is a set of items to consider for improving the SoftwareKeyboard/SoftwareKeyboard.
✅ show rounded rectangle around text box for error input
✅ show error messages below rounded textbox
- when all characters have been entered, grey out all possible characters that can be used (except backspace for example)
- when at the first character, gray out backspace character
- give option to hide cursor
- smoothly
- instantly
- give option to show cursor
- smoothly
- instantly
- add sound effect events
- moving cursor
- bonus: wrap-moving cursor
- pressing key
- pressing backspace
- pressing "OK"
❌ make "OK" key text customizable (probably won't do this because this is dependent on the keys on the keyboard and the press_key_by_name function). To do this, you might modify the "keys". Find the key you want to modify, in this case the "SUBMIT" key, and change it's label.
❌ prevent from being "SPACE", "SPACEBAR", "BACKSPACE" (in any casing) (won't do this because this is dependnet on the keys on the keyboard and the press_key_by_name function)
- Consider writing some documentation
- Resolve TODOs
- internally, rename "OK" key to "SUBMIT"
✅ add callback on "OK" keypress
- consider adding top-left "ESC" key hint
- tweak the cursor (in the text input) so it does not display the character that the cursor is currently over
- change "cannot be empty" to cannot be blank
- disable interactive test
- would like to remove event emitter dependency and "event_to_emit_on_pressing_submit_key" in favor of factory function
- bonus:
- add option to remove border and background around keyboard
- add submit callback on Screens/CharacterNameInput
- setting the text, when larger than the number of permitted characters, should crash
- consider adding SHIFT+enter as keypress
----
✅ clear error frame on:
✅ anything that is not a submit
❌ setting the result_text manually (no, this would cause side effects. If you wanted to clear, then the two steps will need to be done by the user)
✅ pressing any key (apparently other than OK) (special branching logic was added in the "press_key_by_name" function
❌ on show/hide (probably only in Screen)? (on the screen, this should be done by calling reset() on the SoftwareKeyboard)
The text was updated successfully, but these errors were encountered:
Below is a set of items to consider for improving the
SoftwareKeyboard/SoftwareKeyboard
.The text was updated successfully, but these errors were encountered: