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

stripe samples: show 7 server options, not 5 #1120

Merged
merged 2 commits into from
Sep 6, 2023

Conversation

richardm-stripe
Copy link
Collaborator

@richardm-stripe richardm-stripe commented Sep 5, 2023

Reviewers

r? @
cc @stripe/developer-products

Summary

When you do "stripe samples create" it uses promptui.Select which defaults to only showing 5 options. We have 7 official SDKs, so many of the stripe samples have 7 options. Why not just show all of them? It's sometimes hard to spot that little arrow that indicates that you're able to scroll, so at first I didn't think the stripe sample had support for go or .NET, but it does:
image

Tested locally:
image

Some samples have more than 7 it's true (this one has a "node-typescript" option) but let's put at least the basic versions of the 7 official libraries above the fold.

@richardm-stripe richardm-stripe requested a review from a team as a code owner September 5, 2023 22:46
Copy link
Collaborator

@vcheung-stripe vcheung-stripe left a comment

Choose a reason for hiding this comment

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

Thanks!

@richardm-stripe richardm-stripe merged commit 00d9e28 into master Sep 6, 2023
7 checks passed
@richardm-stripe richardm-stripe deleted the richardm-show-all-7-libs branch September 6, 2023 00:00
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.

None yet

2 participants