From 69ba1840d5fb66e19b14e8e784276fb826c687e5 Mon Sep 17 00:00:00 2001 From: Yucheng Zhu Date: Tue, 28 Jul 2026 13:50:08 -0700 Subject: [PATCH] chore(ui): drop the via-scope badge suffix and clarify the auto-enable toggle Viewers only need to know which destinations receive their traces; whether the binding came from an assignment or the destination's scope is admin plumbing, so the (via scope) suffix goes. The add-destination toggle is relabeled Enable for entire scope with a tooltip spelling out on (whole scope exports automatically) versus off (only explicitly assigned keys, teams, or orgs export) --- .../components/logging_credentials/AccessControlFields.tsx | 2 +- ui/litellm-dashboard/src/components/logging_settings_view.tsx | 2 +- .../src/components/organization/organization_view.tsx | 4 ++-- ui/litellm-dashboard/src/components/settings.tsx | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ui/litellm-dashboard/src/components/logging_credentials/AccessControlFields.tsx b/ui/litellm-dashboard/src/components/logging_credentials/AccessControlFields.tsx index 37c2479593c..04fa924b21b 100644 --- a/ui/litellm-dashboard/src/components/logging_credentials/AccessControlFields.tsx +++ b/ui/litellm-dashboard/src/components/logging_credentials/AccessControlFields.tsx @@ -30,7 +30,7 @@ const AccessControlFields: React.FC = ({ value = {}, o <> onChange({ ...value, global })} /> diff --git a/ui/litellm-dashboard/src/components/logging_settings_view.tsx b/ui/litellm-dashboard/src/components/logging_settings_view.tsx index 9417634ab8e..b94f3f5dbd1 100644 --- a/ui/litellm-dashboard/src/components/logging_settings_view.tsx +++ b/ui/litellm-dashboard/src/components/logging_settings_view.tsx @@ -90,7 +90,7 @@ export function LoggingSettingsView({ {entries.map((entry, index) => ( {entry.name} - {entry.source === "scope" ? " (via scope)" : ""} + ))} diff --git a/ui/litellm-dashboard/src/components/organization/organization_view.tsx b/ui/litellm-dashboard/src/components/organization/organization_view.tsx index ae9916d716c..84b02e0386f 100644 --- a/ui/litellm-dashboard/src/components/organization/organization_view.tsx +++ b/ui/litellm-dashboard/src/components/organization/organization_view.tsx @@ -271,7 +271,7 @@ const OrganizationInfoView: React.FC = ({ loggingExporterBadges.map((exporter, index) => ( {exporter.name} - {exporter.viaScope ? " (via scope)" : ""} + )) ) : ( @@ -373,7 +373,7 @@ const OrganizationInfoView: React.FC = ({ {loggingExporterBadges.map((exporter, index) => ( {exporter.name} - {exporter.viaScope ? " (via scope)" : ""} + ))} diff --git a/ui/litellm-dashboard/src/components/settings.tsx b/ui/litellm-dashboard/src/components/settings.tsx index 3a59217cde6..d5c919377c1 100644 --- a/ui/litellm-dashboard/src/components/settings.tsx +++ b/ui/litellm-dashboard/src/components/settings.tsx @@ -900,8 +900,8 @@ const Settings: React.FC = ({ accessToken, userRole, userID, ))}