Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.
Python agentagent-osaiai-agentsai-partnerchatopsclaudeclaude-codecodexdevtoolsdiscord-botlark-botllmlocal-firstlong-term-memoryopencodeslack-botvibe-codingvibeywechat
fix(search): use Button primitive for sidebar + mobile-inbox search entries (Codex r5)
cyh5ed47bd00016
diff --git a/ui/src/components/workbench/InboxPage.tsx b/ui/src/components/workbench/InboxPage.tsxindex a8d9001a7..ed4460ef6 100644--- a/ui/src/components/workbench/InboxPage.tsx+++ b/ui/src/components/workbench/InboxPage.tsx@@ -8,6 +8,7 @@ import { useWorkbenchInbox } from '../../context/WorkbenchInboxContext';import type { InboxSession } from '../../context/ApiContext';import { formatRelativeTime } from '../../lib/relativeTime';import { Markdown } from '../ui/markdown';+import { Button } from '../ui/button';import { WebPushControl } from './WebPushControl';type FilterMode = 'unread' | 'all';@@ -100,17 +101,18 @@ export const InboxPage: React.FC = () => {full-screen search page (design.pen S5H9R "M · Inbox · Search entry";SearchField). Mobile-only: desktop searches via the sidebar field + ⌘K(md:hidden). */}- <button+ <Buttontype="button"+ variant="ghost"onClick={() => navigate('/search')}- className="flex w-full items-center gap-2.5 rounded-xl border border-border-strong bg-foreground/[0.04] px-3.5 py-2.5 text-left transition hover:bg-foreground/[0.06] md:hidden"+ className="h-auto w-full justify-start gap-2.5 rounded-xl border border-border-strong bg-foreground/[0.04] px-3.5 py-2.5 text-left font-normal transition hover:bg-foreground/[0.06] md:hidden"><Search className="size-4 shrink-0 text-muted" /><span className="flex-1 truncate text-[14px] text-muted">{t('workbench.search.entry')}</span><span className="shrink-0 text-[11px] text-muted">{t('workbench.search.scopeAll')}</span>- </button>+ </Button>{/* Toolbar */}<div className="flex flex-col gap-3 sm:flex-row sm:items-center sm:gap-2">diff --git a/ui/src/components/workbench/WorkbenchSidebar.tsx b/ui/src/components/workbench/WorkbenchSidebar.tsxindex 97eae8843..a58888434 100644--- a/ui/src/components/workbench/WorkbenchSidebar.tsx+++ b/ui/src/components/workbench/WorkbenchSidebar.tsx@@ -692,17 +692,18 @@ export const WorkbenchSidebar: React.FC<{ onOpenSearch?: () => void }> = ({ onOp{/* Search field — the sidebar's first item (Brand lives in AppShell).Field-style button per design.pen XErMu: search glyph + mutedplaceholder + ⌘K pill; opens the ⌘K command palette. */}- <button+ <Buttontype="button"+ variant="ghost"onClick={onOpenSearch}- className="flex items-center gap-2 rounded-lg border border-border-strong bg-foreground/[0.03] px-[11px] py-[9px] text-left transition hover:bg-foreground/[0.05]"+ className="h-auto w-full justify-start gap-2 rounded-lg border border-border-strong bg-foreground/[0.03] px-[11px] py-[9px] text-left font-normal transition hover:bg-foreground/[0.05]"><Search className="size-3.5 shrink-0 text-muted" /><span className="flex-1 truncate text-[13px] text-muted">{t('workbench.search.entry')}</span><kbd className="shrink-0 rounded-[5px] border border-border bg-foreground/[0.06] px-1.5 py-0.5 font-mono text-[11px] font-medium text-muted">⌘K</kbd>- </button>+ </Button>{/* Inbox entry — hover opens the floating popover. */}<div