Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

Studio: grey the sidebar dot a finished chat leaves (#8258)

Michael Han3a6f3951bb95
diff --git a/studio/frontend/src/components/app-sidebar.tsx b/studio/frontend/src/components/app-sidebar.tsx
index 4174263a061..d301dea4b0c 100644
--- a/studio/frontend/src/components/app-sidebar.tsx
+++ b/studio/frontend/src/components/app-sidebar.tsx
@@ -1647,7 +1647,8 @@ export function AppSidebar() {
)}
aria-hidden
>
- <span className="size-2 rounded-full bg-[#d07a5f] dark:bg-[#df8a6f]" />
+ {/* Neutral: a finished reply is news, not a fault. */}
+ <span className="size-2 rounded-full bg-muted-foreground/60" />
</span>
) : null}
{variant === "project" && (
diff --git a/studio/frontend/tests/sidebar-unread-dot.test.ts b/studio/frontend/tests/sidebar-unread-dot.test.ts
new file mode 100644
index 00000000000..235762597b8
--- /dev/null
+++ b/studio/frontend/tests/sidebar-unread-dot.test.ts
@@ -0,0 +1,29 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0
+
+// The dot a finished reply leaves on a sidebar row. Read from the source: the
+// node suite has no DOM to mount the sidebar in.
+
+import assert from "node:assert/strict";
+import { readFileSync } from "node:fs";
+import test from "node:test";
+
+const SIDEBAR = readFileSync(
+ new URL("../src/components/app-sidebar.tsx", import.meta.url),
+ "utf8",
+);
+
+test("the unread dot is grey", () => {
+ assert.match(SIDEBAR, /size-2 rounded-full bg-muted-foreground\/60/);
+});
+
+// A literal pair misses the contrast-boost theme, which recomputes
+// --muted-foreground rather than swapping light for dark.
+test("the unread dot carries no hardcoded light/dark pair", () => {
+ assert.doesNotMatch(SIDEBAR, /d07a5f|df8a6f/i);
+});
+
+// Warm there does mean stopped or errored.
+test("training run status dots are untouched", () => {
+ assert.match(SIDEBAR, /runStatusDotClass\(run\.status\)/);
+});