Skip to content

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

fix(sidebar): restore missing navigation items

Steven Enamakelec90d2c551a5
diff --git a/app/src/components/layout/shell/SidebarNav.tsx b/app/src/components/layout/shell/SidebarNav.tsx
index 2d4cdd24bb..9a68ddc391 100644
--- a/app/src/components/layout/shell/SidebarNav.tsx
+++ b/app/src/components/layout/shell/SidebarNav.tsx
@@ -5,7 +5,6 @@ import { NAV_TABS, type NavTab } from '../../../config/navConfig';
import { useT } from '../../../lib/i18n/I18nContext';
import { trackEvent } from '../../../services/analytics';
import { setActiveAccount } from '../../../store/accountsSlice';
-import { selectCompanionSessionActive } from '../../../store/companionSlice';
import { useAppDispatch, useAppSelector } from '../../../store/hooks';
import { selectUnreadCount } from '../../../store/notificationSlice';
import { AGENT_ACCOUNT_ID } from '../../../utils/accountsFullscreen';
@@ -54,7 +53,6 @@ export default function SidebarNav() {
const location = useLocation();
const navigate = useNavigate();
const unreadCount = useAppSelector(state => selectUnreadCount(state.notifications.items));
- const companionActive = useAppSelector(selectCompanionSessionActive);
const tabs = useMemo(() => NAV_TABS.map(tab => ({ ...tab, label: t(tab.labelKey) })), [t]);
const activeTab = tabs.find(tab => matchActive(tab.path, location.pathname));
@@ -83,7 +81,6 @@ export default function SidebarNav() {
{tabs.map(tab => {
const active = matchActive(tab.path, location.pathname);
const showBadge = tab.id === 'notifications' && unreadCount > 0;
- const showCompanionDot = tab.id === 'settings' && companionActive;
return (
<SidebarMenuItem key={tab.id}>
<SidebarMenuButton
@@ -106,9 +103,6 @@ export default function SidebarNav() {
{unreadCount > 9 ? '9+' : unreadCount}
</SidebarMenuBadge>
)}
- {showCompanionDot && (
- <span className="absolute -right-0.5 -top-0.5 h-2 w-2 animate-pulse rounded-full bg-blue-500" />
- )}
</SidebarMenuIcon>
<SidebarMenuLabel>{tab.label}</SidebarMenuLabel>
</SidebarMenuButton>