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

chore: use checkbox component in deploy to kube #6030

Merged
merged 4 commits into from Feb 16, 2024
Merged

Conversation

deboer-tim
Copy link
Collaborator

What does this PR do?

We are using standard checkboxes in the Deploy to Kubernetes form instead of our styled Checkbox component. This just switches them and updates the test to be more consistent.

Wrapper

s added because Checkbox (a composite) doesn't work as well w/o a layout, but this also fixes the problem where text was wrapping below the checkbox when it shouldn't.

Screenshot / video of UI

Before:

Screenshot 2024-02-15 at 1 02 09 PM

After:

Screenshot 2024-02-15 at 1 03 08 PM

What issues does this PR fix or reference?

N/A

How to test this PR?

Unit tests updated, just check UI.

We are using standard checkboxes in the Deploy to Kubernetes
form instead of our styled Checkbox component. This just switches
them and updates the test to be more consistent.

Wrapper <div>s added because Checkbox (a composite) doesn't work
as well w/o a layout, but this also fixes the problem where text
was wrapping below the checkbox when it shouldn't.

Signed-off-by: Tim deBoer <git@tdeboer.ca>
@deboer-tim deboer-tim requested review from benoitf and a team as code owners February 15, 2024 18:06
@deboer-tim deboer-tim requested review from axel7083 and lstocchi and removed request for a team February 15, 2024 18:06
@deboer-tim deboer-tim changed the title chore: use checkbox component chore: use checkbox component in deploy to kube Feb 15, 2024
Copy link
Collaborator

@benoitf benoitf left a comment

Choose a reason for hiding this comment

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

loks like name property is unsupported on Checkbox component

@benoitf benoitf self-requested a review February 15, 2024 21:42
Signed-off-by: Tim deBoer <git@tdeboer.ca>
Signed-off-by: Tim deBoer <git@tdeboer.ca>
Signed-off-by: Tim deBoer <git@tdeboer.ca>
@deboer-tim deboer-tim merged commit 469c731 into main Feb 16, 2024
8 checks passed
@deboer-tim deboer-tim deleted the checkboxes-2 branch February 16, 2024 15:32
@podman-desktop-bot podman-desktop-bot added this to the 1.8.0 milestone Feb 16, 2024
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

4 participants