fleetdm / fleet

Open device management
https://fleetdm.com
Other
5.22k stars 611 forks source link

Cherrypick: Fix bug for not being to reenable end user migration in UI (#30106) #30191

Closed ghernandez345 closed 2 weeks ago

ghernandez345 commented 2 weeks ago

Relates to #30063

Cherry pick PR: This fixes an issue added in the PR where the user was not able to reenable the end user migration form.

I've also added improved a11y attributes to the slider component, ensured we are functionally disabling the form controls during gitops mode and not just visually, and updated/added tests for the EndUserMigrationSection component.

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Please upload report for BASE (rc-minor-fleet-v4.70.0@2b3050c). Learn more about missing BASE report.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## rc-minor-fleet-v4.70.0 #30191 +/- ## ========================================================= Coverage ? 64.11% ========================================================= Files ? 1865 Lines ? 182340 Branches ? 5222 ========================================================= Hits ? 116913 Misses ? 56225 Partials ? 9202 ``` | [Flag](https://app.codecov.io/gh/fleetdm/fleet/pull/30191/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=fleetdm) | Coverage Δ | | |---|---|---| | [frontend](https://app.codecov.io/gh/fleetdm/fleet/pull/30191/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=fleetdm) | `54.06% <100.00%> (?)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=fleetdm#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow: - :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems. - :package: [JS Bundle Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save yourself from yourself by tracking and limiting bundle sizes in JS merges.