-
Notifications
You must be signed in to change notification settings - Fork 149
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
UI Kit UX improvements #1278
UI Kit UX improvements #1278
Conversation
This comment has been minimized.
This comment has been minimized.
Benchmark reportThe following table contains a summary of the startup time for all commands.
|
Coverage report
Show new covered files 🐣
Test suite run success973 tests passing in 500 suites. Report generated by 🧪jest coverage report action from a52e125 |
@@ -14,6 +14,7 @@ export interface SelectPromptProps<T> { | |||
onSubmit: (value: T) => void | |||
infoTable?: InfoTableProps['table'] | |||
defaultValue?: T | |||
submitWithShortcuts?: boolean |
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.
Wouldn't it be a bit confusing if we have a flow where the first question requires you to hit enter after choosing an answer, but then the second time you don't have to?
What about submitting always without pressing enter?
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.
Personally I'm ok with the recommendation, but for some reason we converged on having shortcuts only jump to the selection for longer lists. @MeredithCastile do you remember why?
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.
Ok, thanks. Let's move on and we can change it later.
WHY are these changes introduced?
We'd like to make some UX improvements to UI kit.
WHAT is this pull request doing?
This PR packs the following improvements:
banners
sub-command tostatic
renderConfirmationPrompts
will now allow users to to submit answers just by pressing shortcuts, without also having to press enter.How to test your changes?
shopify kitchen-sink static
and see the new tableshopify app dev --reset
and try to submitCreate this project as a new app on Shopify?
just by pressingy
orn
.Measuring impact
How do we know this change was effective? Please choose one:
Checklist
dev
ordeploy
have been reflected in the internal flowchart.