-
Notifications
You must be signed in to change notification settings - Fork 129
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
Text input #935
Text input #935
Conversation
Thanks for your contribution! Depending on what you are working on, you may want to request a review from a Shopify team:
|
745cb5c
to
bdf1eed
Compare
3ec97ef
to
b04defa
Compare
c986298
to
752c7b3
Compare
Refactor text input Fix SelectPrompt Move onEnter test Do not allow text submission without answer Check cursorOffset instead of nextCursorOffset
752c7b3
to
d4e683f
Compare
Coverage report
Show new covered files 🐣
Show files with reduced coverage 🔻
Test suite run success901 tests passing in 465 suites. Report generated by 🧪jest coverage report action from 83a4f70 |
Benchmark reportCouldn't find benchmark file. Did you run the benchmark? |
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎩 Tophatted and works as expected (including Windows). Excellent job here 👏🏼
@matteodepalo, let me know if you'd like me to open a new issue for this. Could we please update the error message to: |
WHY are these changes introduced?
We want to update our text prompt so that they conform to our new designs.
WHAT is this pull request doing?
This PR adds a
TextPrompt
andTextInput
components that can be used by calling therenderTextPrompt
method.Here's how it looks:
How to test your changes?
Run
shopify kitchen-sink
and check out the component!Measuring impact
How do we know this change was effective? Please choose one:
Checklist
dev
ordeploy
have been reflected in the internal flowchart.