diff --git a/frontend/src/shell/CentralStatus.test.tsx b/frontend/src/shell/CentralStatus.test.tsx index a973262e..76de7d21 100644 --- a/frontend/src/shell/CentralStatus.test.tsx +++ b/frontend/src/shell/CentralStatus.test.tsx @@ -51,6 +51,21 @@ test("wraps live log lines instead of truncating them", () => { expect(screen.getByText("a_very_long_model_activity_line")).not.toHaveClass("truncate"); }); +test("uses accessible muted text for historical live-log rows", () => { + useSessionStore.setState({ + transcript: [ + { role: "assistant", text: "Earlier activity" }, + { role: "assistant", text: "Current activity" }, + ], + }); + render(); + + const historicalRow = screen.getByText("Earlier activity").closest("li"); + expect(historicalRow).not.toBeNull(); + expect(historicalRow).toHaveClass("text-muted-foreground"); + expect(historicalRow).not.toHaveClass("text-muted-foreground/55"); +}); + test.each([ { working: false, transcript: [{ role: "assistant" as const, text: "hidden" }] }, { working: true, transcript: [] }, diff --git a/frontend/src/shell/CentralStatus.tsx b/frontend/src/shell/CentralStatus.tsx index 0396dbce..393ef00c 100644 --- a/frontend/src/shell/CentralStatus.tsx +++ b/frontend/src/shell/CentralStatus.tsx @@ -51,7 +51,7 @@ export function CentralStatus({ working }: { working: boolean }) { key={index} className={[ "flex items-baseline gap-2 font-mono text-[0.72rem] leading-relaxed", - isLast ? "text-foreground/80" : "text-muted-foreground/55", + isLast ? "text-foreground/80" : "text-muted-foreground", ].join(" ")} >