mirror of
https://github.com/jlengrand/Maestro.git
synced 2026-03-10 08:31:19 +00:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user