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(ui): restore sidebar header in collapsed nav rail
Steven Enamakeld24ebeec7ae4
diff --git a/app/package.json b/app/package.jsonindex 72b6c62f2f..175cfc133b 100644--- a/app/package.json+++ b/app/package.json@@ -66,7 +66,7 @@"lint": "eslint . --ext .ts,.tsx --cache","lint:fix": "eslint . --ext .ts,.tsx --fix --cache","lint:commands-tokens": "bash scripts/lint-token-scan.sh lint:commands-tokens -nU \"(bg|text|border|ring|shadow)-(neutral|primary|sage|amber|canvas|stone|slate)\" src/components/commands/",- "lint:ui-tokens": "bash scripts/lint-token-scan.sh lint:ui-tokens -nP \"^(?!\\s*(//|\\*|/\\*)).*\\b(bg|text|border|ring|divide)-(neutral|stone|slate|canvas|white|black)\\b\" src/components/ui/ src/components/layout/ src/components/settings/ src/features/conversations/ src/components/intelligence/ src/components/feedback/ src/components/flows/ src/components/chat/ src/components/rewards/ src/components/skills/ src/components/channels/ src/pages/ src/components/dashboard/ src/components/composio/ src/components/notifications/ src/components/accounts/ src/components/approvals/ src/features/human/ && bash scripts/lint-token-scan.sh lint:ui-tokens -nP \"^(?!\\s*(//|\\*|/\\*)).*(color-mix\\(|oklch\\(|@layer )\" src/components/ui/ src/styles/fonts.css && node scripts/lint-undefined-scales.mjs",+ "lint:ui-tokens": "bash scripts/lint-token-scan.sh lint:ui-tokens -nP \"^(?!\\s*(//|\\*|/\\*)).*\\b(bg|text|border|ring|divide)-(neutral|stone|slate|canvas|white|black)\\b\" src/components/ui/ src/components/layout/ src/components/settings/ src/features/conversations/ src/components/intelligence/ src/components/feedback/ src/components/flows/ src/components/chat/ src/components/skills/ src/components/channels/ src/pages/ src/components/dashboard/ src/components/composio/ src/components/notifications/ src/components/accounts/ src/components/approvals/ src/features/human/ && bash scripts/lint-token-scan.sh lint:ui-tokens -nP \"^(?!\\s*(//|\\*|/\\*)).*(color-mix\\(|oklch\\(|@layer )\" src/components/ui/ src/styles/fonts.css && node scripts/lint-undefined-scales.mjs","knip": "knip --config knip.json","knip:production": "knip --config knip.json --production"},diff --git a/app/src/components/layout/shell/CollapsedNavRail.tsx b/app/src/components/layout/shell/CollapsedNavRail.tsxindex 8147e9d276..a608a2ee21 100644--- a/app/src/components/layout/shell/CollapsedNavRail.tsx+++ b/app/src/components/layout/shell/CollapsedNavRail.tsx@@ -1,9 +1,11 @@+import { FaDiscord } from 'react-icons/fa6';import { useMemo } from 'react';import { useLocation, useNavigate } from 'react-router-dom';import { NAV_TABS, type NavTab } from '../../../config/navConfig';import { registry } from '../../../lib/commands/registry';import { useT } from '../../../lib/i18n/I18nContext';+import { openUrl } from '../../../utils/openUrl';import { trackEvent } from '../../../services/analytics';import { useAppSelector } from '../../../store/hooks';import { selectUnreadCount } from '../../../store/notificationSlice';@@ -15,6 +17,7 @@ import {Tooltip,} from '../../ui';import { NavIcon } from './navIcons';+import { DISCORD_URL } from './SidebarHeader';import { useCloudNavGate } from './useCloudNavGate';import { useHomeNav } from './useHomeNav';diff --git a/app/src/components/layout/shell/SidebarHeader.tsx b/app/src/components/layout/shell/SidebarHeader.tsxindex 346b3a7804..1c5c3431fd 100644--- a/app/src/components/layout/shell/SidebarHeader.tsx+++ b/app/src/components/layout/shell/SidebarHeader.tsx@@ -4,9 +4,13 @@ import { useNavigate } from 'react-router-dom';import { registry } from '../../../lib/commands/registry';import { useT } from '../../../lib/i18n/I18nContext';+import { openUrl } from '../../../utils/openUrl';import { Button, SidebarHeader as SidebarHeaderShell, Tooltip } from '../../ui';import { useRootSidebar } from './RootShellLayout';+/** The community invite the Discord button opens. */+export const DISCORD_URL = 'https://discord.tinyhumans.ai';+/*** Header footprint layered on `<Button variant="tertiary" iconOnly>`: 28px* square (no `size` maps to that) with the muted resting colour these utility