gui: single-line session rows — drop the persona/workspace subtitle

Personas are disabled for the first release, so the subtitle repeated the same
label on every row. When personas return they surface on hover, not as a second
line. UX-DECISIONS §7 updated; e2e spec added.
This commit is contained in:
Rohit C Prasad
2026-07-21 11:35:29 -07:00
parent cffec6bc4b
commit d56a15bf44
2 changed files with 23 additions and 20 deletions
+15
View File
@@ -0,0 +1,15 @@
import { test, expect } from "./fixtures";
// Session rows are SINGLE-LINE (UX-DECISIONS §7, 2026-07-21): title only — the
// persona/workspace subtitle is gone (personas are launch-flagged off; when they return
// the persona surfaces on hover, not as a second line).
test("recent session rows render the title only — no persona subtitle", async ({ page }) => {
await page.goto("/");
const row = page
.locator(".sidebar .group")
.filter({ hasText: "Draft the launch note" })
.first();
await expect(row).toBeVisible();
const text = (await row.innerText()).trim();
expect(text).toBe("Draft the launch note");
});