-
Notifications
You must be signed in to change notification settings - Fork 5
Fix "new version available" prompt appearing after manager experience URL #2244
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 "new version available" prompt appearing after manager experience URL #2244
Conversation
This PR has been released (on staging) and is available for download with a embedded-cluster-smoke-test-staging-app license ID. Online Installer:
Airgap Installer (may take a few minutes before the airgap bundle is built):
Happy debugging! |
449115c
to
3a285b0
Compare
3a285b0
to
b898b0e
Compare
cmd/installer/cli/install.go
Outdated
@@ -281,6 +284,17 @@ func preRunInstall(cmd *cobra.Command, flags *InstallCmdFlags, rc runtimeconfig. | |||
|
|||
flags.isAirgap = flags.airgapBundle != "" | |||
|
|||
proxy, err := parseProxyFlags(cmd) |
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.
we don't want to verify proxy flags or prompt if it's the new manager experience flag. this should go in the else
below
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.
I was under the impression that we would eventually populate the UI with the CLI flags from a previous conversation with @jtuchscherer, but from today it seems that is not the plan anymore. Just documenting that I will move this back into the manager experience conditional in order to prompt the user only when the manager experience flag is not provided.
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.
Yes, you are correct, @screspod . I think today's discussion changed the direction on this
b898b0e
to
20c336c
Compare
What this PR does / why we need it:
User sees the prompt about a new available version after the prompt to go to the UI.
This PR fixes that behavior and reorganizes similar prompts and checks to enhance the user experience.
New priority Order
Which issue(s) this PR fixes:
https://app.shortcut.com/replicated/story/124485/user-sees-the-prompt-about-a-new-available-version-after-the-prompt-to-go-to-the-ui
Does this PR require a test?
NONE
Does this PR require a release note?
Does this PR require documentation?
NONE