From bc0109127031d80f1e4c3bdcc5eb710ea622f150 Mon Sep 17 00:00:00 2001
From: Jinjing <6427696+AmethystLiang@users.noreply.github.com>
Date: Sat, 5 Sep 2026 13:40:20 -0700
Subject: [PATCH] Replace loading dots with animated spinner icons
Replaces the small dot indicators with animated Loader2 icons that
appear in place of the favicon while tabs are loading. Provides
clearer, more prominent visual feedback during navigation.
---
src/renderer/src/components/browser-favicon.tsx | 11 ++++++++++-
src/renderer/src/components/tab-bar/BrowserTab.tsx | 5 +----
.../src/components/tab-bar/ClientHostedBrowserTab.tsx | 11 +++++------
3 files changed, 16 insertions(+), 11 deletions(-)
diff --git a/src/renderer/src/components/browser-favicon.tsx b/src/renderer/src/components/browser-favicon.tsx
index 92b14a6ad64..b2e8b43b7a0 100644
--- a/src/renderer/src/components/browser-favicon.tsx
+++ b/src/renderer/src/components/browser-favicon.tsx
@@ -1,5 +1,5 @@
import { useState } from 'react'
-import { Globe } from 'lucide-react'
+import { Globe, Loader2 } from 'lucide-react'
import { cn } from '@/lib/utils'
import { displayableFaviconUrl } from './browser-pane/describe-page/browser-favicon-url'
@@ -32,6 +32,15 @@ export function BrowserFavicon({
setFailedUrl(null)
}
+ if (loading) {
+ return (
+
+ )
+ }
+
if (displayUrl && failedUrl !== displayUrl) {
return (
{isPinned && }
{tabLabel}
- {tab.loading && !tab.loadError && !isBlankBrowserTab(tab) && (
-
- )}
{!isPinned && (