From 173266920e95f29cbb65f6422e24c8059cb1c6b2 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Thu, 23 Apr 2026 20:09:05 +0000 Subject: [PATCH] chore(ui): whitelist tremor in 4 more large antd-coupled files - mcp_tools/mcp_tools (361 LOC) - claude_code_plugins/add_plugin_form (365 LOC) - vector_store_management/VectorStoreForm (367 LOC) - EntityUsageExport/utils.ts (369 LOC): DateRangePickerValue type only Each file is deeply antd-form driven; tremor primitives kept behind inline eslint-disable so lint stays green while the underlying form migration is queued for a follow-up pass. Gates: Build \u2713. Co-authored-by: yuneng-jiang --- ui/litellm-dashboard/src/components/EntityUsageExport/utils.ts | 1 + .../src/components/claude_code_plugins/add_plugin_form.tsx | 1 + ui/litellm-dashboard/src/components/mcp_tools/mcp_tools.tsx | 1 + .../src/components/vector_store_management/VectorStoreForm.tsx | 1 + 4 files changed, 4 insertions(+) diff --git a/ui/litellm-dashboard/src/components/EntityUsageExport/utils.ts b/ui/litellm-dashboard/src/components/EntityUsageExport/utils.ts index 6013e276481..f3ef2d372d5 100644 --- a/ui/litellm-dashboard/src/components/EntityUsageExport/utils.ts +++ b/ui/litellm-dashboard/src/components/EntityUsageExport/utils.ts @@ -1,4 +1,5 @@ import { formatNumberWithCommas } from "@/utils/dataUtils"; +// eslint-disable-next-line litellm-ui/no-banned-ui-imports import type { DateRangePickerValue } from "@tremor/react"; import Papa from "papaparse"; import type { EntityBreakdown, EntitySpendData, EntityType, ExportMetadata, ExportScope } from "./types"; diff --git a/ui/litellm-dashboard/src/components/claude_code_plugins/add_plugin_form.tsx b/ui/litellm-dashboard/src/components/claude_code_plugins/add_plugin_form.tsx index fdbef3a766b..7fdf7fbf299 100644 --- a/ui/litellm-dashboard/src/components/claude_code_plugins/add_plugin_form.tsx +++ b/ui/litellm-dashboard/src/components/claude_code_plugins/add_plugin_form.tsx @@ -1,6 +1,7 @@ import React, { useState } from "react"; import { Modal, Form, Input, Select } from "antd"; import MessageManager from "@/components/molecules/message_manager"; +// eslint-disable-next-line litellm-ui/no-banned-ui-imports import { Button } from "@tremor/react"; import { registerClaudeCodePlugin } from "../networking"; import { diff --git a/ui/litellm-dashboard/src/components/mcp_tools/mcp_tools.tsx b/ui/litellm-dashboard/src/components/mcp_tools/mcp_tools.tsx index 198bf96c3f0..4e91ec685a3 100644 --- a/ui/litellm-dashboard/src/components/mcp_tools/mcp_tools.tsx +++ b/ui/litellm-dashboard/src/components/mcp_tools/mcp_tools.tsx @@ -4,6 +4,7 @@ import { ToolTestPanel } from "./ToolTestPanel"; import { MCPTool, MCPToolsViewerProps, MCPContent, CallMCPToolResponse } from "./types"; import { listMCPTools, callMCPTool } from "../networking"; +// eslint-disable-next-line litellm-ui/no-banned-ui-imports import { Card, Title, Text } from "@tremor/react"; import { RobotOutlined, ToolOutlined, SearchOutlined, KeyOutlined } from "@ant-design/icons"; import { Input, Button as AntdButton } from "antd"; diff --git a/ui/litellm-dashboard/src/components/vector_store_management/VectorStoreForm.tsx b/ui/litellm-dashboard/src/components/vector_store_management/VectorStoreForm.tsx index 18b5bd87d14..14150b2685a 100644 --- a/ui/litellm-dashboard/src/components/vector_store_management/VectorStoreForm.tsx +++ b/ui/litellm-dashboard/src/components/vector_store_management/VectorStoreForm.tsx @@ -1,4 +1,5 @@ import React, { useState, useEffect } from "react"; +// eslint-disable-next-line litellm-ui/no-banned-ui-imports import { TextInput, Button as TremorButton } from "@tremor/react"; import { Modal, Form, Select, Tooltip, Input, Alert } from "antd"; import { InfoCircleOutlined } from "@ant-design/icons";