fleetdm / fleet

Open-source platform for IT, security, and infrastructure teams. (Linux, macOS, Chrome, Windows, cloud, data center)
https://fleetdm.com
Other
3.01k stars 418 forks source link

Include MDM pending hosts in hosts list and MDM card #8878

Closed lukeheath closed 1 year ago

lukeheath commented 1 year ago

Goal

As a user in the Fleet UI, I want to see macOS hosts waiting to be automatically enrolled in Fleet so that I can change this host's team before the device user unboxes the host.

Related

Requirements

Figma

https://www.figma.com/file/hdALBDsrti77QuDNSzLdkx/%F0%9F%9A%A7-Fleet-EE-(dev-ready%2C-scratchpad)?node-id=9868%3A316280

Tasks

1

image

2

image

3

4

image

5

image

lukeheath commented 1 year ago

@noahtalerman Figma has a dev note saying we should apple the same MDM card changes to host details and my device, but there is no MDM card on those pages. Please let me know if I'm missing something. Maybe you're thinking of the Munki issues card?

Image

noahtalerman commented 1 year ago

apple the same MDM card changes to host details and my device

@lukeheath Ah, I meant the MDM enrollment and MDM server URL items on the Host details and My device pages.

Screenshot of these items is below:

Screenshot 2022-11-30 at 1 42 19 PM

Maybe a better dev note would be something like "Make this change to all places where MDM enrollment and MDM server URL is displayed in the UI" ?

Apologies for the lack of clarity.

noahtalerman commented 1 year ago

Add MDM status and MDM server URL columns. These columns are off by default for new Fleet instances.

Hey @lukeheath we'd like to update (and provide more detail) for this requirement.

At some point, I filed a separate issue that covers the above^ requirements: #9073

Please feel free to close #9073 if you think it makes sense.

gillespi314 commented 1 year ago

FWIW, I hacked together some of the frontend of specified in this ticket as I was working on the backend portion of 8879 (mostly for my own local dev purposes). I published a branch with my frontend work in case it might be a helpful jumpstart for y’all when you actually pick up the ticket.

lukeheath commented 1 year ago

@gillespi314 Thank you! @RachelElysia will be working on this next sprint, so the two of you will work together to close out this epic.

RachelElysia commented 1 year ago

Several things to consider, @noahtalerman maybe you can clarify:

  1. The dashboard mdm status "off" row is the only one that doesn't have a tooltip, but the host table filter pill "off" does. Do we want to make them consistent with both having a tooltip?
  2. Currently the host details page does not show MDM enrollment section if mdm enrollment is off/unenrolled. Do we want to continue hiding this section for that edge case?
  3. Currently the host details page does not show a tooltip for the MDM enrollment section. Do we want to add a tooltip to the host details page / device user page to be consistent with MDM status tooltips on the Dashboard and Manage Host Page?

PR for this should be ready by tomorrow

noahtalerman commented 1 year ago

the host table filter pill "off" does

@RachelElysia what's the tooltip copy for this? I think adding the same tooltip to "off" of the dashboard makes sense. I just want to make sure I get a chance to look at the tooltip copy.

the host details page does not show MDM enrollment section if mdm enrollment is off/unenrolled. Do we want to continue hiding this section for that edge case?

No. Let's show MDM status on the Host details page even if it's off. MDM status should only show up for Macs for now.

Do we want to add a tooltip to the host details page / device user page to be consistent with MDM status tooltips on the Dashboard and Manage Host Page?

Yes. This is a good idea. Let's add tooltips to MDM status on the Host details page.

RachelElysia commented 1 year ago

@noahtalerman

  1. Current Tooltip for "MDM status: Off" filter on manage host page: <span className={`tooltip__tooltip-text`}> Hosts not enrolled to <br /> an MDM solution. </span>

  2. sg, will update

  3. sg, will update

noahtalerman commented 1 year ago

Tooltip for "MDM status: Off"

@RachelElysia can we update to the copy to this? "Hosts with MDM off don't receive macOS settings and macOS update encouragement."

This way the tooltip does this: Tells the user what happens to hosts with MDM off.

fleet-release commented 1 year ago

” to “MDM status: On (automatic)...”

Bright cloud cities shine,
Viewing hosts pending in Fleet,
Ease of management.