From 9dc2b78da9cb83e043427fe41511c0216799cc32 Mon Sep 17 00:00:00 2001 From: rcourtman Date: Fri, 24 Oct 2025 11:10:26 +0000 Subject: [PATCH] feat: add OS icons to host platform selection Add FOSS icons (Tux penguin for Linux, Apple for macOS, Windows logo) to platform selection buttons. Icons are displayed in colored boxes matching the active/inactive state, providing better visual identification of each OS platform. Icons sourced from Simple Icons (CC0 license). --- .../src/components/Settings/HostAgents.tsx | 34 +++++++++++++++++-- 1 file changed, 31 insertions(+), 3 deletions(-) diff --git a/frontend-modern/src/components/Settings/HostAgents.tsx b/frontend-modern/src/components/Settings/HostAgents.tsx index fc26681..c8de952 100644 --- a/frontend-modern/src/components/Settings/HostAgents.tsx +++ b/frontend-modern/src/components/Settings/HostAgents.tsx @@ -20,21 +20,36 @@ interface HostAgentsProps { type HostPlatform = 'linux' | 'macos' | 'windows'; -const hostPlatformOptions: { id: HostPlatform; label: string; description: string }[] = [ +const hostPlatformOptions: { id: HostPlatform; label: string; description: string; icon: JSX.Element }[] = [ { id: 'linux', label: 'Linux', description: 'Download the static binary and enable the systemd service on Debian, Ubuntu, RHEL, Arch, and more.', + icon: ( + + + + ), }, { id: 'macos', label: 'macOS', description: 'Use the universal binary with launchd to keep desktops and hosts reporting in the background.', + icon: ( + + + + ), }, { id: 'windows', label: 'Windows', description: 'Native Windows service with automatic startup. PowerShell script handles binary download and service installation.', + icon: ( + + + + ), }, ]; @@ -331,7 +346,7 @@ export const HostAgents: Component = (props) => { return ( );