From 891513486491a2f4a76d2c428527f0cf98bf7b32 Mon Sep 17 00:00:00 2001 From: Yuneng Jiang Date: Wed, 26 Aug 2026 11:11:28 -0700 Subject: [PATCH] chore(ui): remove stale "New" badges from the dashboard The badges flagged UI that shipped a while ago, so they no longer tell anyone anything. Dropped all four render sites: the Settings and Admin Settings items in the left nav, the UI Settings tab in the admin panel, and the Submitted MCPs tab. The NewBadge component stays so the next genuinely new surface can use it again. BetaBadge and the "hide new badges" account toggle are untouched, since that toggle still gates BetaBadge. --- .../admin-panel/_components/AdminPanel.tsx | 8 +------- .../mcp-servers/_components/mcp_servers.tsx | 5 ++--- ui/litellm-dashboard/src/components/leftnav.tsx | 16 ++-------------- 3 files changed, 5 insertions(+), 24 deletions(-) diff --git a/ui/litellm-dashboard/src/app/(dashboard)/admin-panel/_components/AdminPanel.tsx b/ui/litellm-dashboard/src/app/(dashboard)/admin-panel/_components/AdminPanel.tsx index 7dc3f57bd6f..a98eb50ce77 100644 --- a/ui/litellm-dashboard/src/app/(dashboard)/admin-panel/_components/AdminPanel.tsx +++ b/ui/litellm-dashboard/src/app/(dashboard)/admin-panel/_components/AdminPanel.tsx @@ -10,7 +10,6 @@ import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "@ import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs"; import { Info, TriangleAlert } from "lucide-react"; import React, { useEffect, useState } from "react"; -import NewBadge from "@/components/common_components/NewBadge"; import { useBaseUrl } from "@/components/constants"; import { toast } from "@/lib/toast"; import { addAllowedIP, deleteAllowedIP, getAllowedIPs, getSSOSettings } from "@/components/networking"; @@ -378,12 +377,7 @@ const AdminPanel: React.FC = ({ proxySettings }) => { }, { key: "ui-settings", - label: ( - - UI Settings - - - ), + label: "UI Settings", children: (
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/mcp-servers/_components/mcp_servers.tsx b/ui/litellm-dashboard/src/app/(dashboard)/mcp-servers/_components/mcp_servers.tsx index c6418a13897..24c01e8bc16 100644 --- a/ui/litellm-dashboard/src/app/(dashboard)/mcp-servers/_components/mcp_servers.tsx +++ b/ui/litellm-dashboard/src/app/(dashboard)/mcp-servers/_components/mcp_servers.tsx @@ -15,7 +15,6 @@ import { AlertDialogHeader, AlertDialogTitle, } from "@/components/ui/alert-dialog"; -import NewBadge from "@/components/common_components/NewBadge"; import React, { useEffect, useState, useMemo, useCallback } from "react"; import { useQuery } from "@tanstack/react-query"; import { useMCPServers } from "@/app/(dashboard)/hooks/mcpServers/useMCPServers"; @@ -538,8 +537,8 @@ const MCPServers: React.FC = ({ accessToken, userRole, userID }) )} {isAdminRole(userRole) && ( - - Submitted MCPs + + Submitted MCPs )} diff --git a/ui/litellm-dashboard/src/components/leftnav.tsx b/ui/litellm-dashboard/src/components/leftnav.tsx index b58d7bd0d02..42389facac2 100644 --- a/ui/litellm-dashboard/src/components/leftnav.tsx +++ b/ui/litellm-dashboard/src/components/leftnav.tsx @@ -74,7 +74,6 @@ import { rolesWithWriteAccess, } from "../utils/roles"; import BetaBadge from "./BetaBadge"; -import NewBadge from "./common_components/NewBadge"; import SidebarAccountMenu from "./SidebarAccountMenu/SidebarAccountMenu"; import SidebarUsageCard from "./SidebarUsageCard"; import { MIGRATED_PAGES, migratedHref, legacyPageHref } from "@/utils/migratedPages"; @@ -320,11 +319,7 @@ const menuGroups: MenuGroup[] = [ { key: "settings", page: "settings", - label: ( - - Settings - - ), + label: "Settings", icon: , roles: all_admin_roles, children: [ @@ -345,14 +340,7 @@ const menuGroups: MenuGroup[] = [ { key: "admin-panel", page: "admin-panel", - label: ( - - Admin Settings{" "} - - - - - ), + label: "Admin Settings", icon: , roles: all_admin_roles, },