Skip to content

Commit ec1876c

Browse files
committed
feat: update DeviceAgentAccordionItem to enhance user guidance for macOS and Windows
- Replaced the MDM enablement instructions for macOS with a new login prompt for work email and device linking. - Retained and improved the MDM instructions for Windows users, ensuring clarity and compliance guidance. - Enhanced the overall user experience by tailoring instructions based on the operating system.
1 parent ebff53e commit ec1876c

File tree

1 file changed

+27
-18
lines changed

1 file changed

+27
-18
lines changed

apps/portal/src/app/(app)/(home)/[orgId]/components/tasks/DeviceAgentAccordionItem.tsx

Lines changed: 27 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -169,25 +169,34 @@ export function DeviceAgentAccordionItem({
169169
/>
170170
)}
171171
</li>
172-
<li>
173-
<strong>Enable MDM</strong>
174-
<div className="space-y-2">
175-
<p>
176-
{isMacOS
177-
? 'On the top of your screen, find the Fleet Desktop app which looks like an F made of dots. Click on it and click My Device.'
178-
: 'Find the Fleet Desktop app in your system tray (bottom right corner). Click on it and click My Device.'}
179-
</p>
180-
<p>
181-
You should see a banner that asks you to enable MDM. Click the button and
182-
follow the instructions.
183-
</p>
184-
<p>
185-
After you've enabled MDM, if you refresh the page, the banner will disappear.
186-
Now your computer will automatically enable the necessary settings on your
187-
computer in order to be compliant.
172+
{isMacOS ? (
173+
<li>
174+
<strong>Login with your work email</strong>
175+
<p className="mt-1">
176+
After installation, login with your work email, select your organization and
177+
then click "Link Device" and "Install Agent".
188178
</p>
189-
</div>
190-
</li>
179+
</li>
180+
) : (
181+
<li>
182+
<strong>Enable MDM</strong>
183+
<div className="space-y-2">
184+
<p>
185+
Find the Fleet Desktop app in your system tray (bottom right corner). Click
186+
on it and click My Device.
187+
</p>
188+
<p>
189+
You should see a banner that asks you to enable MDM. Click the button and
190+
follow the instructions.
191+
</p>
192+
<p>
193+
After you've enabled MDM, if you refresh the page, the banner will
194+
disappear. Now your computer will automatically enable the necessary
195+
settings on your computer in order to be compliant.
196+
</p>
197+
</div>
198+
</li>
199+
)}
191200
</ol>
192201
</div>
193202
) : (

0 commit comments

Comments
 (0)