From d550b42ca3ba5d4e508bff81358b1aa06eb14e6e Mon Sep 17 00:00:00 2001 From: Gregory Schier Date: Tue, 13 Jan 2026 09:24:56 -0800 Subject: [PATCH] Add count badge to DNS tab and make workspace settings tabs reorderable --- src-web/components/WorkspaceSettingsDialog.tsx | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src-web/components/WorkspaceSettingsDialog.tsx b/src-web/components/WorkspaceSettingsDialog.tsx index 3c2977c0..2e7ae2b1 100644 --- a/src-web/components/WorkspaceSettingsDialog.tsx +++ b/src-web/components/WorkspaceSettingsDialog.tsx @@ -9,6 +9,7 @@ import { router } from '../lib/router'; import { CopyIconButton } from './CopyIconButton'; import { Banner } from './core/Banner'; import { Button } from './core/Button'; +import { CountBadge } from './core/CountBadge'; import { InlineCode } from './core/InlineCode'; import { PlainInput } from './core/PlainInput'; import { HStack, VStack } from './core/Stacks'; @@ -78,10 +79,18 @@ export function WorkspaceSettingsDialog({ workspaceId, hide, tab }: Props) { value: TAB_DATA, label: 'Storage', }, - { value: TAB_DNS, label: 'DNS' }, ...headersTab, ...authTab, + { + value: TAB_DNS, + label: 'DNS', + rightSlot: + workspace.settingDnsOverrides.length > 0 ? ( + + ) : null, + }, ]} + storageKey="workspace_settings_tabs_order" >