Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

style(thread-list): drop shimmer from running thread title

Steven Enamakel26087570f260
diff --git a/app/src/components/assistant-ui/thread-list.tsx b/app/src/components/assistant-ui/thread-list.tsx
index 1be088d201..01d9e7524d 100644
--- a/app/src/components/assistant-ui/thread-list.tsx
+++ b/app/src/components/assistant-ui/thread-list.tsx
@@ -297,17 +297,20 @@ export const ThreadListItem: FC<{
data-slot="aui_thread-list-item-title"
data-running={isRunning ? 'true' : undefined}
aria-busy={isRunning || undefined}
- className={cn(
- 'min-w-0 flex-1 truncate',
- isRunning && 'shimmer motion-reduce:animate-none'
- )}>
+ className="min-w-0 flex-1 truncate">
<ThreadListItemPrimitive.Title fallback={t('chat.untitledThread')} />
</span>
{trailing}
{isRunning && (
<>
- <Loader2Icon data-slot="aui_thread-list-item-running" aria-hidden className="ms-2 size-3.5 shrink-0 animate-spin motion-reduce:animate-none text-muted-foreground" />
- <span className="sr-only">{t('conversations.backgroundTasks.statusRunning', 'Running')}</span>
+ <Loader2Icon
+ data-slot="aui_thread-list-item-running"
+ aria-hidden
+ className="ms-2 size-3.5 shrink-0 animate-spin motion-reduce:animate-none text-muted-foreground"
+ />
+ <span className="sr-only">
+ {t('conversations.backgroundTasks.statusRunning', 'Running')}
+ </span>
</>
)}
</ThreadListItemPrimitive.Trigger>
diff --git a/app/src/features/conversations/threadList/ThreadList.test.tsx b/app/src/features/conversations/threadList/ThreadList.test.tsx
index b1dd85459c..5f00aa9896 100644
--- a/app/src/features/conversations/threadList/ThreadList.test.tsx
+++ b/app/src/features/conversations/threadList/ThreadList.test.tsx
@@ -107,7 +107,7 @@ describe('ThreadList', () => {
expect(screen.queryByTestId('thread-unread-t2')).not.toBeInTheDocument();
const running = within(screen.getByTestId('thread-row-t2')).getByText('Plan trip');
expect(running).toHaveAttribute('data-running', 'true');
- expect(running).toHaveClass('shimmer', 'motion-reduce:animate-none');
+ expect(running).not.toHaveClass('shimmer');
expect(
screen
.getByTestId('thread-row-t2')