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

Add system keyboard support to number and string prompts #1495

Merged
merged 4 commits into from
Feb 21, 2025

Conversation

riknoll
Copy link
Member

@riknoll riknoll commented Feb 20, 2025

requires https://github.com/microsoft/pxt-arcade-sim/pull/110

this adds support for requesting strings using the system keyboard so that you can just type responses to the ask for string and ask for number blocks. i also greatly refactored the prompt code and deleted all of the duplicated code in the number prompt class.

see the sim pr for details on how the simulator side of this works. also, this is not supported on hardware.

@riknoll
Copy link
Member Author

riknoll commented Feb 20, 2025

see also microsoft/pxt-arcade#6700

Copy link
Collaborator

@eanders-ms eanders-ms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice cleanup!

@riknoll riknoll merged commit ea868e7 into master Feb 21, 2025
3 checks passed
@riknoll riknoll deleted the dev/riknoll/system-keyboard branch February 21, 2025 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants