Skip to content

Commit 28ee689

Browse files
committed
🤖 Remove runtime badge from left sidebar title bar
Remove RuntimeBadge from TitleBar component. Badge should only appear in: 1. Workspace list items (sidebar) 2. Workspace title header (main chat area) The left sidebar title bar should remain minimal with just version info. Generated with `cmux`
1 parent 4410703 commit 28ee689

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/components/TitleBar.tsx

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ import { VERSION } from "@/version";
44
import { TooltipWrapper, Tooltip } from "./Tooltip";
55
import type { UpdateStatus } from "@/types/ipc";
66
import { isTelemetryEnabled } from "@/telemetry";
7-
import { useApp } from "@/contexts/AppContext";
8-
import { RuntimeBadge } from "./RuntimeBadge";
97

108
// Update check intervals
119
const UPDATE_CHECK_INTERVAL_MS = 4 * 60 * 60 * 1000; // 4 hours
@@ -80,12 +78,6 @@ export function TitleBar() {
8078
const lastHoverCheckTime = useRef<number>(0);
8179
const telemetryEnabled = isTelemetryEnabled();
8280

83-
// Get selected workspace runtime config
84-
const { selectedWorkspace, workspaceMetadata } = useApp();
85-
const runtimeConfig = selectedWorkspace?.workspaceId
86-
? workspaceMetadata.get(selectedWorkspace.workspaceId)?.runtimeConfig
87-
: undefined;
88-
8981
useEffect(() => {
9082
// Skip update checks if telemetry is disabled
9183
if (!telemetryEnabled) {
@@ -250,7 +242,6 @@ export function TitleBar() {
250242
</Tooltip>
251243
</TooltipWrapper>
252244
)}
253-
<RuntimeBadge runtimeConfig={runtimeConfig} />
254245
<div className="min-w-0 cursor-text truncate text-xs font-normal tracking-wider select-text">
255246
cmux {gitDescribe ?? "(dev)"}
256247
</div>

0 commit comments

Comments
 (0)