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: no divider above the Live monitor's Detailed view row (#14972)

Michael Han65c1ab9d6da5
diff --git a/studio/frontend/src/features/settings/tabs/resources-tab.tsx b/studio/frontend/src/features/settings/tabs/resources-tab.tsx
index 079d3e53c82..45ed66acbbc 100644
--- a/studio/frontend/src/features/settings/tabs/resources-tab.tsx
+++ b/studio/frontend/src/features/settings/tabs/resources-tab.tsx
@@ -357,7 +357,6 @@ export function ResourcesTab() {
return () => window.cancelAnimationFrame(frame);
}, [consumeScrollTarget, scrollTarget]);
-
const metrics = useMemo(() => {
const devices = displayedGpu?.devices ?? [];
const ramTotal = systemInfo.memory?.total_gb ?? 0;
@@ -748,7 +747,6 @@ export function ResourcesTab() {
description={t(
"settings.resources.liveMonitor.detailedViewDescription",
)}
- className="border-t border-border/60"
>
<Switch
aria-label={t("settings.resources.liveMonitor.detailedView")}
diff --git a/studio/frontend/tests/monitor-details.test.ts b/studio/frontend/tests/monitor-details.test.ts
index a90b2e4851b..0ee9cbd62f4 100644
--- a/studio/frontend/tests/monitor-details.test.ts
+++ b/studio/frontend/tests/monitor-details.test.ts
@@ -122,3 +122,15 @@ test("the detailed view is opt-in and adds no request of its own", () => {
assert.doesNotMatch(monitor, /useGpuUtilization|api\/train\/hardware/);
assert.match(monitor, /showDetails && displayedGpu\?\.available/);
});
+
+test("the Detailed view row follows the Live monitor cards without a divider", () => {
+ const tab = readFileSync(
+ new URL("../src/features/settings/tabs/resources-tab.tsx", import.meta.url),
+ "utf8",
+ );
+ const row = tab.match(
+ /<SettingsRow\s+label=\{t\("settings\.resources\.liveMonitor\.detailedView"\)\}[^>]*>/,
+ );
+ assert.ok(row);
+ assert.doesNotMatch(row[0], /border-t/);
+});