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

Handle correctDrift:enabled undefined value #13029

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

torchiaf
Copy link
Member

@torchiaf torchiaf commented Jan 9, 2025

Summary

Fixes #13026

Occurred changes and/or fixed issues

Technical notes summary

Areas or cases that should be tested

Areas which could experience regressions

Screenshot/Video

Checklist

  • The PR is linked to an issue and the linked issue has a Milestone, or no issue is needed
  • The PR has a Milestone
  • The PR template has been filled out
  • The PR has been self reviewed
  • The PR has a reviewer assigned
  • The PR has automated tests or clear instructions for manual tests and the linked issue has appropriate QA labels, or tests are not needed
  • The PR has reviewed with UX and tested in light and dark mode, or there are no UX changes

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
@torchiaf torchiaf added this to the v2.11.0 milestone Jan 9, 2025
@torchiaf torchiaf requested a review from aalves08 January 9, 2025 17:24
Copy link
Member

@aalves08 aalves08 left a comment

Choose a reason for hiding this comment

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

left a comment

@@ -648,12 +653,13 @@ export default {
<h2 v-t="'fleet.gitRepo.resources.label'" />
<div>
<Checkbox
v-model:value="value.spec.correctDrift.enabled"
v-model:value="correctDriftEnabled"
Copy link
Member

Choose a reason for hiding this comment

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

I couldn't repro this issue, although I didn't provision a rancher system from that commit, tbh.

My question is: Using v-model and @update:value to set the exact same variable value doesn't yield any problems on the console/UI?

We do either https://github.com/rancher/dashboard/blob/master/pkg/gke/components/AdvancedOptions.vue#L179-L184 or https://github.com/rancher/dashboard/blob/master/pkg/gke/components/AdvancedOptions.vue#L169-L173 but I don't think we should do both 🤔

The rest LGTM

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.

Fleet: GitRepo config page content disappears after 15 seconds
2 participants