From 971d55f334e5f87bd2e96cc23ca1954b27be67d6 Mon Sep 17 00:00:00 2001 From: rcourtman Date: Wed, 22 Oct 2025 12:30:04 +0000 Subject: [PATCH] Use lucide loader icon for discovery spinners --- .../components/Settings/DiscoveryModal.tsx | 37 +---------- .../src/components/Settings/Settings.tsx | 64 +++---------------- 2 files changed, 13 insertions(+), 88 deletions(-) diff --git a/frontend-modern/src/components/Settings/DiscoveryModal.tsx b/frontend-modern/src/components/Settings/DiscoveryModal.tsx index 3db729b..aa5ca70 100644 --- a/frontend-modern/src/components/Settings/DiscoveryModal.tsx +++ b/frontend-modern/src/components/Settings/DiscoveryModal.tsx @@ -2,6 +2,7 @@ import { Component, Show, createSignal, For, createEffect, on } from 'solid-js'; import { Portal } from 'solid-js/web'; import { showSuccess, showError } from '@/utils/toast'; import { SectionHeader } from '@/components/shared/SectionHeader'; +import Loader from 'lucide-solid/icons/loader'; interface DiscoveredServer { ip: string; @@ -370,21 +371,7 @@ export const DiscoveryModal: Component = (props) => { } > - - - - + @@ -393,25 +380,7 @@ export const DiscoveryModal: Component = (props) => { {/* Show loading message when scanning with no results yet */}
- - - - +

Scanning network...

Servers will appear here as they're discovered

diff --git a/frontend-modern/src/components/Settings/Settings.tsx b/frontend-modern/src/components/Settings/Settings.tsx index 89a564d..3fb2313 100644 --- a/frontend-modern/src/components/Settings/Settings.tsx +++ b/frontend-modern/src/components/Settings/Settings.tsx @@ -28,6 +28,7 @@ import Container from 'lucide-solid/icons/container'; import SettingsIcon from 'lucide-solid/icons/settings'; import Shield from 'lucide-solid/icons/shield'; import Activity from 'lucide-solid/icons/activity'; +import Loader from 'lucide-solid/icons/loader'; import type { NodeConfig } from '@/types/nodes'; import type { UpdateInfo, VersionInfo } from '@/api/updates'; import type { APITokenRecord } from '@/api/security'; @@ -1779,7 +1780,7 @@ const Settings: Component = (props) => { You have unsaved changes -
+