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

Disable the version selector when upgrading pkgs #4013

Merged

Conversation

antgamdia
Copy link
Contributor

@antgamdia antgamdia commented Jan 3, 2022

Description of the change

In this PR, we add an attribute to conditionally render the version selector in the header, so that we can choose where we should render it.

Benefits

No duplicated version selectors. In the picture, install vs upgrade views:

image

Possible drawbacks

If the CI fails, we should also add some fixes there.

Applicable issues

Additional information

(it's my first PR of 2022 :P)

Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Copy link
Contributor

@absoludity absoludity left a comment

Choose a reason for hiding this comment

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

Great, thanks Antonio.

@antgamdia antgamdia merged commit 1032e00 into vmware-tanzu:master Jan 6, 2022
@antgamdia antgamdia deleted the 3890-removeDupVersionSelect branch January 6, 2022 17:07
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.

Remove duplicated pkg version selector in the PackageHeader when upgrading
2 participants