-
Notifications
You must be signed in to change notification settings - Fork 446
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
UI - Only show 'follow instructions on My device' banner for encrypted and non-escrowed Linux hosts #24277
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #24277 +/- ##
==========================================
- Coverage 63.41% 63.41% -0.01%
==========================================
Files 1580 1580
Lines 150207 150212 +5
Branches 3730 3786 +56
==========================================
Hits 95259 95259
- Misses 47354 47359 +5
Partials 7594 7594
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Will add some tests for these banners after higher priority P2 code/reviews |
...end/pages/hosts/details/HostDetailsPage/components/HostDetailsBanners/HostDetailsBanners.tsx
Show resolved
Hide resolved
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.
Looks like component names don't match up, which is why JS tests are failing. Logic LGTM but I'll defer to @RachelElysia on approval after tests pass.
Ah, accidentally included WIP tests that I hadn't implemented yet, hence broken build – should be good now @iansltx |
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.
LGTM
…d and non-escrowed Linux hosts (fleetdm#24277) ## fleetdm#24248 For hosts with encrypted disks that Fleet does not have a key escrowed for: **Banner shown for Linux:** <img width="1464" alt="Screenshot 2024-12-02 at 10 52 08 AM" src="https://github.com/user-attachments/assets/91dd3b64-b9da-430b-9eb0-0ae30af751d8"> **but not for Windows:** <img width="1464" alt="Screenshot 2024-12-02 at 10 49 54 AM" src="https://github.com/user-attachments/assets/0345db0d-74f5-4608-af7b-58efae14dfea"> - [x] Changes file added for user-visible changes in `changes/` - [x] Manual QA --------- Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
#24248
For hosts with encrypted disks that Fleet does not have a key escrowed for:
Banner shown for Linux:
but not for Windows:
changes/