The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(thread-list): correct thread ordering in assistant UI
Steven Enamakel133b20a0a773
diff --git a/app/src/components/assistant-ui/thread-list.tsx b/app/src/components/assistant-ui/thread-list.tsxindex 2d9d85cf8f..23b3c0a0c1 100644--- a/app/src/components/assistant-ui/thread-list.tsx+++ b/app/src/components/assistant-ui/thread-list.tsx@@ -97,6 +97,8 @@ export const ThreadListSearch = forwardRef<onValueChange: (value: string) => void;}>(({ className, value, onValueChange, ...props }, ref) => {+ const { t } = useT();+ const searchThreadsLabel = t('assistantUi.threadList.searchThreads', 'Search threads');return (<div data-slot="aui_thread-list-search" className="relative px-0.5 py-1"><SearchIcon@@ -108,8 +110,8 @@ export const ThreadListSearch = forwardRef<type="search"value={value}onChange={event => onValueChange(event.target.value)}- aria-label="Search threads"- placeholder="Search threads"+ aria-label={searchThreadsLabel}+ placeholder={searchThreadsLabel}className={cn('h-8 ps-8 text-sm', className)}{...props}/>@@ -163,6 +165,7 @@ const dateGroupLabel = (date: Date | undefined, startOfToday: number): string =>type ThreadListGroup = { label: string; indices: number[] };const ThreadListItemGroups: FC<{ searchQuery?: string }> = ({ searchQuery = '' }) => {+ const { t } = useT();const threadIds = useAuiState(s => s.threads.threadIds);const threadItems = useAuiState(s => s.threads.threadItems);diff --git a/app/src/components/intelligence/SyncAuditPanel.test.tsx b/app/src/components/intelligence/SyncAuditPanel.test.tsxindex eddc1247ef..af7b227225 100644--- a/app/src/components/intelligence/SyncAuditPanel.test.tsx+++ b/app/src/components/intelligence/SyncAuditPanel.test.tsx@@ -228,6 +228,7 @@ describe('<SyncAuditPanel />', () => {const table = await screen.findByRole('table');require('fs').writeFileSync('/tmp/table_debug.html', table.outerHTML);+ require('fs').writeFileSync('/tmp/table_debug2.txt', String(within(table).queryByText('When')) + ' ownerDoc=' + String(table.ownerDocument === document) + ' inDoc=' + String(document.body.contains(table)));expect(within(table).getByText('When')).toBeInTheDocument();expect(within(table).getByText('Source')).toBeInTheDocument();expect(within(table).getByText('Cost')).toBeInTheDocument();