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

Make our Y/N prompt a toggle, and make default answer yes for non-destructive questions #646

Merged
merged 2 commits into from
Dec 19, 2024

Conversation

stopachka
Copy link
Contributor

@stopachka stopachka commented Dec 19, 2024

From user sessions with Zack and Cam:

When users were prompted to open a browser, create an app, etc, they were surprised that the default answer was 'No'. They pressed enter, and saw their CLI session end.

I made two changes:

  1. I updated it so the default answer is 'yes' for non-destructive questions
  2. I introduced a new kind of toggle, which visually shows the 'yes' or 'no' answer, so it's clearer what is selected:
CleanShot 2024-12-19 at 15 19 36@2x

@dwwoelfel @nezaj @tonsky

Copy link

View Vercel preview at instant-www-js-172-jsv.vercel.app.

Copy link
Contributor

@nezaj nezaj left a comment

Choose a reason for hiding this comment

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

Nice!

@stopachka stopachka merged commit ea67aec into main Dec 19, 2024
26 checks passed
@stopachka stopachka deleted the 172 branch December 19, 2024 23:36
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