Skip to content

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

fix(thread-list): prevent crash when settings navigation is missing

Steven Enamakel2dfcf691cec7
diff --git a/app/src/components/assistant-ui/thread-list.tsx b/app/src/components/assistant-ui/thread-list.tsx
index b58949fcc6..6634e8e90d 100644
--- a/app/src/components/assistant-ui/thread-list.tsx
+++ b/app/src/components/assistant-ui/thread-list.tsx
@@ -274,13 +274,15 @@ export const ThreadListNew = forwardRef<
ThreadListNew.displayName = 'ThreadListNew';
const ThreadListSkeleton: FC = () => {
+ const { t } = useT();
+ const loadingThreadsLabel = t('assistantUi.threadList.loadingThreads', 'Loading threads');
return (
<div className="flex flex-col gap-0.5">
{Array.from({ length: 5 }, (_, i) => (
<div
key={i}
role="status"
- aria-label="Loading threads"
+ aria-label={loadingThreadsLabel}
data-slot="aui_thread-list-skeleton-wrapper"
className="flex h-8 items-center px-2.5">
<Skeleton data-slot="aui_thread-list-skeleton" className="h-3.5 w-full" />
diff --git a/app/src/components/settings/hooks/__tests__/useSettingsNavigation.coverage.test.tsx b/app/src/components/settings/hooks/__tests__/useSettingsNavigation.coverage.test.tsx
index 6d9b0ce448..292b4d8dd6 100644
--- a/app/src/components/settings/hooks/__tests__/useSettingsNavigation.coverage.test.tsx
+++ b/app/src/components/settings/hooks/__tests__/useSettingsNavigation.coverage.test.tsx
@@ -69,8 +69,11 @@ describe('agents section leaves', () => {
expectRoute('/settings/agent-access', 'agent-access'));
});
-describe('features section leaves', () => {
- test('tools resolves to tools', () => expectRoute('/settings/tools', 'tools'));
+describe('features section leaves (retired)', () => {
+ // 'tools' no longer has a registry entry — tool policy moved onto the
+ // agents/autonomy surface reachable from Connections, so the old settings
+ // slug falls through to home like the other retired slugs.
+ test('tools (retired) resolves to home', () => expectRoute('/settings/tools', 'home'));
});
describe('integrations (retired)', () => {