fix(tab-naming): show spinner regardless of tab busy state

The spinner was hidden when tab.state === 'busy', but when a user sends
a message the tab immediately enters busy state. Since tab naming runs
in parallel with the main request, the spinner should show regardless
of the busy state to indicate the naming process is working.
This commit is contained in:
Pedram Amini
2026-02-02 23:37:58 -06:00
parent 3761e0cf14
commit d15e023ea9

View File

@@ -540,7 +540,8 @@ const Tab = memo(function Tab({
)}
{/* Generating name indicator - spinning loader while tab name is being generated */}
{tab.isGeneratingName && tab.state !== 'busy' && (
{/* Show regardless of busy state since tab naming runs in parallel with the main request */}
{tab.isGeneratingName && (
<span title="Generating tab name...">
<Loader2
className="w-3 h-3 shrink-0 animate-spin"