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

fix: Remove stutter from "fetching {sdk name} SDK SDK" #391

Merged
merged 2 commits into from
Aug 14, 2024
Merged

Conversation

dbolson
Copy link
Contributor

@dbolson dbolson commented Aug 13, 2024

Since switching to using the sdkmeta library, each SDK name has "SDK" in it. The placeholder for fetching the SDK instructions doesn't need "SDK" in it now.

This is what it looks like after the change:
Screenshot 2024-08-13 at 2 55 08 PM

Requirements

  • I have added test coverage for new or changed functionality
  • I have followed the repository's pull request submission guidelines
  • I have validated my changes against all supported platform versions

Related issues

Provide links to any issues in this repository or elsewhere relating to this pull request.

Describe the solution you've provided

Provide a clear and concise description of what you expect to happen.

Describe alternatives you've considered

Provide a clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context about the pull request here.

@dbolson dbolson changed the title Remove stutter from "fetching {sdk name} SDK SDK" fix: Remove stutter from "fetching {sdk name} SDK SDK" Aug 13, 2024
@@ -156,7 +156,7 @@ func (m showSDKInstructionsModel) View() string {
}

if m.instructions == "" || m.environment == nil {
return m.spinner.View() + fmt.Sprintf(" Fetching %s SDK instructions...\n", m.displayName) + footerView(m.help.View(m.helpKeys), nil)
Copy link
Contributor

Choose a reason for hiding this comment

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

Darn, I caught the one in the quickstart title but not this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, it's a bummer we don't have tests for the setup UI to catch stuff like this.

@dbolson dbolson merged commit 82bd8de into main Aug 14, 2024
4 of 5 checks passed
@dbolson dbolson deleted the fix-wording branch August 14, 2024 16:13
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