Skip to content

graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs

Python

fix(native): fade See all conversations when the sidebar collapses

justrach15fef3ccb3ff
diff --git a/apps/native/components/primitives/SidebarNav.tsx b/apps/native/components/primitives/SidebarNav.tsx
index e9c6249e..149c5a76 100644
--- a/apps/native/components/primitives/SidebarNav.tsx
+++ b/apps/native/components/primitives/SidebarNav.tsx
@@ -492,7 +492,7 @@ export default function SidebarNav({
selectNav("conversations");
onSeeAll();
}}
- className="sidebar-row relative z-10 mx-2 flex h-8 items-center rounded-[8px] px-2 text-left text-[12.5px] font-medium text-ink-3 transition-[background-color,color,transform] duration-150 hover:text-ink active:scale-[0.98]"
+ className="sidebar-copy sidebar-row relative z-10 mx-2 flex h-8 items-center rounded-[8px] px-2 text-left text-[12.5px] font-medium text-ink-3 transition-[background-color,color,transform] duration-150 hover:text-ink active:scale-[0.98]"
>
See all {recentsTotal?.toLocaleString()} conversations
</button>
diff --git a/apps/native/lib/sidebar-copy.test.ts b/apps/native/lib/sidebar-copy.test.ts
new file mode 100644
index 00000000..9a1a5800
--- /dev/null
+++ b/apps/native/lib/sidebar-copy.test.ts
@@ -0,0 +1,10 @@
+import { readFileSync } from "node:fs";
+import { join } from "node:path";
+import { expect, test } from "bun:test";
+
+test("see-all conversations fades with sidebar copy when the rail collapses", () => {
+ const src = readFileSync(join(import.meta.dir, "../components/primitives/SidebarNav.tsx"), "utf8");
+ const match = src.match(/className="([^"]*)"[\s\S]{0,160}See all \{recentsTotal/);
+ expect(match?.[1]).toContain("sidebar-copy");
+ expect(match?.[1]).toContain("sidebar-row");
+});