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 visibility in collapsed nav rail
Steven Enamakel65d926932129
diff --git a/app/src/components/layout/shell/CollapsedNavRail.tsx b/app/src/components/layout/shell/CollapsedNavRail.tsxindex eb9e300252..8147e9d276 100644--- a/app/src/components/layout/shell/CollapsedNavRail.tsx+++ b/app/src/components/layout/shell/CollapsedNavRail.tsx@@ -93,16 +93,16 @@ export default function CollapsedNavRail() {</Tooltip></SidebarMenuItem>- {/* Keyboard shortcuts — mirrors SidebarHeader's shortcuts button for the- collapsed state. Opens the help directory (also reachable via ? / ⌘/). */}+ {/* Community Discord — mirrors SidebarHeader's Discord button for the+ collapsed state. Opens the invite in the system browser. */}<SidebarMenuItem>- <Tooltip label={t('shortcuts.title')}>+ <Tooltip label={t('nav.discord')}><SidebarMenuButton- onClick={() => registry.runAction('meta.keyboard-shortcuts')}- aria-label={t('shortcuts.title')}- data-analytics-id="collapsed-rail-shortcuts"- className={RAIL_BTN}>- <NavIcon id="keyboard" className="h-5 w-5" />+ onClick={() => void openUrl(DISCORD_URL).catch(() => {})}+ aria-label={t('nav.discord')}+ data-analytics-id="collapsed-rail-discord"+ className={`${RAIL_BTN} text-violet-600 hover:text-violet-700 dark:text-violet-400 dark:hover:text-violet-300`}>+ <FaDiscord className="h-5 w-5" /></SidebarMenuButton></Tooltip></SidebarMenuItem>diff --git a/app/src/components/layout/shell/SidebarHeader.tsx b/app/src/components/layout/shell/SidebarHeader.tsxindex 4f59620f77..346b3a7804 100644--- a/app/src/components/layout/shell/SidebarHeader.tsx+++ b/app/src/components/layout/shell/SidebarHeader.tsx@@ -1,4 +1,5 @@-import { LuKeyboard, LuPanelLeftClose, LuSearch, LuSettings } from 'react-icons/lu';+import { FaDiscord } from 'react-icons/fa6';+import { LuPanelLeftClose, LuSearch, LuSettings } from 'react-icons/lu';import { useNavigate } from 'react-router-dom';import { registry } from '../../../lib/commands/registry';@@ -78,16 +79,18 @@ export default function SidebarHeader() {data-tauri-drag-region="deep"className="flex-row items-center justify-end gap-1"><div className="flex items-center gap-0.5">- {/* Keyboard shortcuts — one-click open of the help directory (also ? / ⌘/). */}- <Tooltip label={t('shortcuts.title')}>+ {/* Community Discord — opens the invite in the system browser. This slot+ held the keyboard-shortcuts help; that directory is still one+ keystroke away (? / ⌘/), while the community had no door at all. */}+ <Tooltip label={t('nav.discord')}><Buttonvariant="tertiary"iconOnly- onClick={() => registry.runAction('meta.keyboard-shortcuts')}- className={ICON_BTN}- analyticsId="sidebar-header-shortcuts"- aria-label={t('shortcuts.title')}>- <LuKeyboard className="h-4 w-4" />+ onClick={() => void openUrl(DISCORD_URL).catch(() => {})}+ className={`${ICON_BTN} text-violet-600 hover:text-violet-700 dark:text-violet-400 dark:hover:text-violet-300`}+ analyticsId="sidebar-header-discord"+ aria-label={t('nav.discord')}>+ <FaDiscord className="h-4 w-4" /></Button></Tooltip>