Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
fix(views): keep in-card side panels on the content surface color (#5329)
Jiayuan Zhang3e03d8f97b33
diff --git a/packages/views/agents/components/agent-overview-pane.tsx b/packages/views/agents/components/agent-overview-pane.tsxindex 1aaa23087f..096c46a571 100644--- a/packages/views/agents/components/agent-overview-pane.tsx+++ b/packages/views/agents/components/agent-overview-pane.tsx@@ -357,7 +357,9 @@ export function AgentOverviewPane({{secondaryTabs.length > 0 && activeSecondaryTab && (<div className="flex min-h-full flex-col md:h-full md:flex-row">- <aside className="shrink-0 overflow-x-auto border-b border-surface-border bg-app-shell/70 p-2 md:w-52 md:overflow-y-auto md:border-b-0 md:border-r md:p-4">+ {/* Content-surface color, no shell tint — same rule as the settings+ nav: in-card panels must not break the desktop tab merge (MUL-4439). */}+ <aside className="shrink-0 overflow-x-auto border-b border-surface-border p-2 md:w-52 md:overflow-y-auto md:border-b-0 md:border-r md:p-4"><divclassName="flex w-max min-w-full items-center gap-1 md:w-full md:flex-col md:items-stretch"role="tablist"diff --git a/packages/views/settings/components/settings-page.tsx b/packages/views/settings/components/settings-page.tsxindex 108104983f..480e6f972b 100644--- a/packages/views/settings/components/settings-page.tsx+++ b/packages/views/settings/components/settings-page.tsx@@ -140,8 +140,11 @@ export function SettingsPage({ extraAccountTabs }: SettingsPageProps = {}) {orientation={isMobile ? "horizontal" : "vertical"}className="flex flex-1 min-h-0 flex-col gap-0 overflow-y-auto md:flex-row md:overflow-hidden">- {/* Structural navigation; bounded setting groups remain in the content surface. */}- <div className="shrink-0 overflow-x-auto border-b border-surface-border bg-app-shell/70 p-2 md:w-56 md:overflow-y-auto md:border-b-0 md:border-r md:p-4">+ {/* Structural navigation; bounded setting groups remain in the content surface.+ Stays on the content surface color (no shell tint): the desktop's active+ tab merges into the card top, and a tinted panel under the first tabs+ breaks that seam (MUL-4439). Zoning comes from the divider instead. */}+ <div className="shrink-0 overflow-x-auto border-b border-surface-border p-2 md:w-56 md:overflow-y-auto md:border-b-0 md:border-r md:p-4"><h1 className="sr-only text-sm font-semibold md:not-sr-only md:mb-4 md:px-2">{t(($) => $.page.title)}</h1><TabsListvariant="line"