From 8324f78a4dd6a2b8b983ded87a17486f66dec91c Mon Sep 17 00:00:00 2001 From: broisnees Date: Wed, 18 Nov 2026 15:44:59 +0000 Subject: [PATCH] Calmer update check and a lighter views icon --- src/lib/components/Sidebar.svelte | 4 ++-- src/lib/icon-registry.js | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/lib/components/Sidebar.svelte b/src/lib/components/Sidebar.svelte index d1be831a..ef76e9d8 100644 --- a/src/lib/components/Sidebar.svelte +++ b/src/lib/components/Sidebar.svelte @@ -101,7 +101,7 @@ /** Settings, on the Labs page. @type {(() => void) | null} */ onopenlabs = null, oncheckupdates = () => {}, - /** A manual update check is running: the button spins. */ + /** A manual update check is running: the button's icon fades in and out. */ checkingUpdate = false, /** An update was found ('available') or downloaded ('ready'): the button becomes a pill (T3). */ updateState = /** @type {'' | 'available' | 'ready'} */ (''), @@ -3236,7 +3236,7 @@ {updateState === 'ready' ? 'Restart' : 'Update'} {:else} - + {/if} diff --git a/src/lib/icon-registry.js b/src/lib/icon-registry.js index 7db2e34a..44880d06 100644 --- a/src/lib/icon-registry.js +++ b/src/lib/icon-registry.js @@ -154,7 +154,7 @@ import { ArrowRight01Icon, ArrowLeft01Icon, Add01Icon, MinusSignIcon, Search01Icon, Delete02Icon, Logout01Icon, Table01Icon, GridTableIcon, RefreshIcon, Copy01Icon, Loading03Icon, Key01Icon, LinkSquare01Icon, Database01Icon, SourceCodeIcon, TerminalIcon, ChartLineData02Icon, - SparklesIcon, GitBranchIcon, Download04Icon, PlayIcon, EyeIcon, EyeOffIcon, + SparklesIcon, GitBranchIcon, Download04Icon, PlayIcon, ViewIcon, ViewOffSlashIcon, AiBrain01Icon, Alert02Icon, AlertCircleIcon, Shield01Icon, PencilEdit01Icon, BracketsIcon, SquareLock01Icon, DashboardSquare01Icon, HistoryIcon, Clock01Icon, FlashIcon, Settings01Icon, Maximize01Icon, FilterIcon, MoreHorizontalIcon, @@ -194,7 +194,7 @@ export const ICON_MAP = { // A view is an eye everywhere in the app - TabBar picks 'eye' for view tabs, // so the sidebar has to agree. Plain table glyphs made views indistinguishable // from tables at size-3. - 'table-view': { lucide: Eye, huge: EyeIcon }, + 'table-view': { lucide: Eye, huge: ViewIcon }, 'refresh-cw': { lucide: RefreshCw, huge: RefreshIcon }, 'copy': { lucide: Copy, huge: Copy01Icon }, 'copy-plus': { lucide: CopyPlus, huge: Copy01Icon }, @@ -210,8 +210,8 @@ export const ICON_MAP = { 'git-branch': { lucide: GitBranch, huge: GitBranchIcon }, 'download': { lucide: Download, huge: Download04Icon }, 'play': { lucide: Play, huge: PlayIcon }, - 'eye': { lucide: Eye, huge: EyeIcon }, - 'eye-off': { lucide: EyeOff, huge: EyeOffIcon }, + 'eye': { lucide: Eye, huge: ViewIcon }, + 'eye-off': { lucide: EyeOff, huge: ViewOffSlashIcon }, 'bot': { lucide: Bot, huge: AiBrain01Icon }, 'alert-triangle': { lucide: AlertTriangle, huge: Alert02Icon }, 'alert-circle': { lucide: AlertCircle, huge: AlertCircleIcon },