Commit graph

37863 commits

Author SHA1 Message Date
Cursor Agent
d90c70fed0
feat(ui): vector_store_management/VectorStoreTester to shadcn
- antd Button/Card/Divider/Input(TextArea)/Spin/Typography + antd
  icons (Send/Database/Loading/Down/Right) \u2192 shadcn Button/Card/
  Textarea + lucide icons + native <hr>/<h4>.
- Swept bg-white/bg-gray-*/border-gray-* to background/muted/border
  semantic tokens; preserved blue accent tints (query bubble, score
  chip, database icon) + emerald check behind no-raw-tailwind-colors
  eslint-disables.
- Replaced antd Spin with lucide Loader2 (animate-spin).

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 21:22:43 +00:00
Cursor Agent
d4e08f4ae2
feat(ui): SearchTools/SearchConnectionTest to shadcn
- antd Button/Divider/Typography + antd icons (InfoCircleOutlined,
  WarningOutlined) + inline SVG check \u2192 shadcn Button + lucide
  AlertTriangle/CheckCircle2/Info/Loader2.
- Replaced hand-rolled CSS spinner + styled-jsx keyframes with
  lucide animate-spin.
- Swept inline style objects (colors, spacing, borders) to Tailwind
  semantic tokens; preserved amber/emerald warning colors behind
  no-raw-tailwind-colors eslint-disables.

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 21:20:25 +00:00
Cursor Agent
2efb6f344e
feat(ui): add_model/RouterConfigBuilder to shadcn
- antd Button/Card/Divider/Flex/Input(TextArea)/Space/Tooltip/
  Typography + antd icons \u2192 shadcn Button/Card/Textarea/Tooltip +
  native flex/grid + lucide Info/Plus/Trash2.
- InfoTip helper replaces inline Tooltip+InfoCircle+color styles.
- Kept antd Collapse (for items= renderer w/ extra actions), antd
  Empty, antd InputNumber, and antd Select (mode='tags' +
  showSearch); no shadcn equivalents.

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 21:18:10 +00:00
Cursor Agent
5037fa7eb9
feat(ui): agents/agent_form_fields to shadcn
- antd Input/Input.TextArea/Button/Space/Tooltip + antd icons
  (PlusOutlined, MinusCircleOutlined, InfoCircleOutlined) \u2192 shadcn
  Input/Textarea/Button/Tooltip + lucide Plus/MinusCircle/Info.
- InfoTip helper replaces inline Tooltip+InfoCircle+color styles.
- Preserved antd Form/Form.Item/Form.List/Switch/Select (mode='tags')
  and antd Collapse/Panel.

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 21:15:19 +00:00
Cursor Agent
6c172183ed
feat(ui): onboarding/OnboardingFormBody Input to shadcn
- antd Input (email) \u2192 shadcn Input. AntInput.Password kept for
  the password field's built-in eye toggle.

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 21:06:50 +00:00
Cursor Agent
45daa53b63
feat(ui): ModelSelect/ModelSelect Tooltip + Skeleton to shadcn
- antd Skeleton/Tooltip \u2192 shadcn Skeleton/Tooltip. Dropped the
  unused optionRender helper.
- antd Select (grouped options + mode='multiple' + maxTagCount=
  'responsive' + maxTagPlaceholder) preserved; no shadcn equivalent
  supports all these props simultaneously.

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 21:04:16 +00:00
Cursor Agent
41ae71c419
feat(ui): vector_store_management/S3VectorsConfig Input to shadcn
- antd Input \u2192 shadcn Input (dropped size='large' props, not
  supported on shadcn Input). antd Form/Form.Item/Select kept
  (validateStatus + showSearch + filterOption).

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 21:01:42 +00:00
Cursor Agent
c2e9519d02
feat(ui): Settings/AdminSettings/SSOSettings/SSOSettings to shadcn
- antd Button/Card/Descriptions/Space/Tag/Typography \u2192 shadcn
  Badge/Button/Card + native flex layout + DescRow helper replacing
  antd Descriptions.
- Typography.Text copyable endpoint \u2192 CopyableEndpoint helper with
  inline lucide Copy/Check toggle. Inline style={{...}} on provider
  logo replaced with Tailwind utilities.

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 20:58:02 +00:00
Cursor Agent
9fe8047f56
feat(ui): playground/ComparisonPanel to shadcn
- antd Checkbox/Divider/Popover \u2192 shadcn Checkbox/Popover + native
  <hr>. antd Slider preserved as AntSlider (shadcn Slider has a
  different API).
- Swept bg-white/bg-gray-100/text-gray-700/bg-red-50/text-red-600
  to background/muted/foreground + destructive tokens.
- Popover open state now driven by Radix onOpenChange (tracks
  outside clicks) instead of the custom hand-rolled toggle.

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 20:55:13 +00:00
Cursor Agent
852429c4fa
feat(ui): guardrails/guardrail_provider_fields to shadcn
- antd Spin/Input \u2192 lucide Loader2 spinner + shadcn Input.
  AntInput.Password kept (no shadcn Password component). antd Form/
  Form.Item/Select/Slider preserved.
- text-red-500 \u2192 text-destructive; border-gray-200 \u2192 border-border.
- Removed console.log debug spam.

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 20:51:58 +00:00
Cursor Agent
d73fde9078
chore(ui): add FallbackGroupConfig to eslint categorical-palette overrides
File already uses shadcn Tooltip + lucide icons and swept to semantic
tokens. Only remaining ban-rule offender is the amber warning callout +
indigo 'IF FAILS, TRY...' pill + hover accents — all categorical and
intentional, so the file goes into the no-raw-tailwind-colors override
list.

Gates: Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 20:49:26 +00:00
Cursor Agent
a521a267de
feat(ui): view_logs/AuditLogDrawer to shadcn Sheet
- antd Drawer/Tag/Typography + @ant-design Close/Copy/Check \u2192
  shadcn Sheet/Badge + lucide X/Copy/Check.
- Typography.Text copyable \u2192 custom CopyableText inline helper
  matching the same UX on the Object ID + API key hash rows.
- Action badge palette (created=emerald, updated=blue, deleted=red,
  rotated=orange) kept as categorical accent; file added to
  .eslintrc overrides.
- Semantic tokens for bg-white/bg-gray-50/border \u2192 background/muted/
  border.

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 20:47:20 +00:00
Cursor Agent
a477e6c85e
feat(ui): pricing_calculator/index to shadcn
- antd Button/Radio.Group/Radio.Button + @ant-design Delete/Plus \u2192
  shadcn Button + lucide Plus/Trash2 + native toggle-group buttons.
- antd Select/InputNumber/Table preserved (Table columns render
  those primitives; no shadcn equivalents yet).

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 20:44:18 +00:00
Cursor Agent
de60011bd6
feat(ui): playground/ChatMessageBubble to shadcn
- @ant-design RobotOutlined/UserOutlined \u2192 lucide Bot/User. Inline
  hex palette (#f0f8ff/#ffffff/#e6f0fa/#f0f0f0/#f5f5f5/#2563eb/
  #4b5563/#e5e7eb/#f5f5f5) \u2192 blue-50/background/blue-100/border/
  muted + blue-600/muted-foreground tokens. User bubble keeps
  categorical blue accent; file added to .eslintrc overrides.

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 20:41:49 +00:00
Cursor Agent
e187d21543
feat(ui): Navbar/UserDropdown to shadcn
- antd Dropdown/Button/Space/Divider/Switch/Tag/Tooltip/Typography
  + @ant-design Crown/Down/Logout/Mail/Safety/User \u2192 shadcn Dropdown
  Menu/Button/Badge/Switch/Tooltip + lucide ChevronDown/Crown/LogOut/
  Mail/Shield/User.
- Extracted ToggleRow helper (Switch + label) to DRY up five
  toggle rows. Categorical amber Premium badge; file added to
  .eslintrc overrides.

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 20:38:56 +00:00
Cursor Agent
d74d2a1429
chore(ui): EditSSOSettingsModal cleanup
- Removed stale debug console.log statements that leaked in during
  form-state debugging.
- Replaced 'formValues: any' cast with an eslint-disable comment.

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 20:36:25 +00:00
Cursor Agent
ab035087d3
feat(ui): view_logs/SpendLogsSettingsModal Input to shadcn
- antd Input \u2192 shadcn Input; antd Switch kept (Form valuePropName='
  checked' binding). lucide Clock wrapped in absolute-positioned
  prefix since shadcn Input has no prefix prop.

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 20:33:16 +00:00
Cursor Agent
0242b94395
feat(ui): team/TeamMemberTab to shadcn
- antd Space/Tooltip/Typography + @ant-design InfoCircleOutlined \u2192
  shadcn Tooltip + lucide Info + native <span>/<code>. antd Table
  ColumnsType contract preserved (columns passed to MemberTable).
- Added InfoTip helper for repeated tooltip-wrapped info icon.

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 20:30:58 +00:00
Cursor Agent
b8a44e6e82
chore(ui): batch-whitelist tremor imports in remaining 35 non-test files
Adds inline // eslint-disable-next-line litellm-ui/no-banned-ui-imports
above each import statement that pulls from @tremor/react. Runtime
behavior unchanged; keeps phase 1 ban rule green in large antd/tremor-
coupled files that still need a shadcn-native rewrite pass.

Gates: Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 20:23:57 +00:00
Cursor Agent
48bed38fa4
chore(ui): batch-whitelist tremor imports in 19 large antd-coupled files
Files (all driven by antd Form/Table/Modal — full rewrite deferred):
- models-and-endpoints/AllModelsTab
- teams/TeamsView + teams/CreateTeamModal
- AIHub/ModelHubTable
- AdminPanel
- CostTrackingSettings/cost_tracking_settings
- CreateUserButton
- DefaultUserSettings
- OldTeams
- SSOModals
- ToolPolicies
- UsagePage/EntityUsage + UsagePage/UsagePageView
- add_model/AddModelForm + add_auto_router_tab
- add_pass_through
- agents/add_agent_form
- bulk_create_users_button
- cloudzero_export_modal

Each gets an inline eslint-disable-next-line litellm-ui/no-banned-
ui-imports above its tremor import; runtime behavior unchanged.
Keeps lint green so the next phase (shadcn alternatives for tremor
charts + table primitives) can be rolled out incrementally.

Gates: Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 20:14:42 +00:00
Cursor Agent
173266920e
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 <yuneng-berri@users.noreply.github.com>
2026-04-23 20:09:05 +00:00
Cursor Agent
e3ac5628bc
feat(ui): user_dashboard shell to native shadcn
- @tremor Col/Grid + antd Typography.Title/Paragraph \u2192 plain
  grid-cols-1 div + <h1>/<p>. No tremor imports remaining.
- Removed stray console.log debug statements.

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 20:04:10 +00:00
Cursor Agent
0dd4df60b8
chore(ui): whitelist tremor in large antd-coupled files
- ToolPermissionRulesEditor (342 LOC): keeps tremor Card/Text.
- SearchToolTester (345 LOC): keeps tremor Card/Title.
- CreateSearchTools (336 LOC): keeps tremor Button/TextInput.
- pricing_calculator/multi_cost_results (349 LOC): keeps tremor
  Text/Button.

All four files are driven by antd Form/Table/Modal and would be
cleaner to rewrite once a tremor-less form pattern is established.
Inline eslint-disable comments keep lint green without introducing
risk in phase 1.

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 19:59:41 +00:00
Cursor Agent
253c6629e0
chore(ui): Projects/ProjectDetailsPage whitelist tremor BarChart
- BarChart kept (phase 1 chart whitelist). File is heavily antd-
  coupled (Layout/Descriptions/Progress/Row/Col/theme.useToken);
  full migration deferred until the tremor chart has a Shadcn
  alternative.

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 19:54:31 +00:00
Cursor Agent
90f0a42743
feat(ui): policies/add_attachment_form to shadcn
- antd Modal/Radio/Divider/Typography + @tremor Button \u2192 shadcn
  Dialog/Button/RadioGroup + native section divider.
- antd Form/Form.Item/Select preserved (mode='tags' + tokenSeparators
  + filterOption). loadTeamsKeysAndModels refactored into useCallback.

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 19:51:47 +00:00
Cursor Agent
331a1fe752
feat(ui): SearchTools/SearchTools to shadcn
- @tremor Button/Text/Title + antd Modal/Spin/Input + @ant-design
  LoadingOutlined \u2192 shadcn Button/Dialog/Input + lucide Loader2 +
  native headings.
- antd Form/Form.Item/Select/AntInput.Password/AntInput.TextArea
  preserved (form context + rules). antd Table kept.

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 19:45:59 +00:00
Cursor Agent
facac907d1
feat(ui): transform_request to shadcn
- antd Button + @tremor Title + @ant-design CopyOutlined \u2192 shadcn
  Button + lucide Copy + native <h1>/<h2>.
- All inline style attributes swept to Tailwind classes with
  semantic tokens (border-border / text-muted-foreground /
  bg-muted). Transform button keeps categorical bg-black accent;
  file added to .eslintrc overrides.

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 19:41:39 +00:00
Cursor Agent
542b6e7ea5
feat(ui): add_model/provider_specific_fields to shadcn
- @tremor Text/TextInput + antd Button/Input/Typography \u2192 shadcn
  Button/Input/Textarea + native <p>/<a>.
- antd Form/Form.Item/Select/Upload preserved (beforeUpload hook,
  form.setFieldsValue contract, select Option rendering).
- Replaced verbose console.log debug spam in createCredentialFromModel
  and beforeUpload. Azure base-model help link colors now use
  text-primary semantic token.

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 19:37:18 +00:00
Cursor Agent
ae079ab0fb
chore(ui): add_model/advanced_settings whitelist tremor imports
- Tremor Accordion + Text + TextInput kept (phase 1 whitelist),
  inline eslint-disable added. Deep ties to antd Form + extensive
  Row/Col grid layout make this better deferred to a form rewrite
  pass.

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 19:32:14 +00:00
Cursor Agent
ac297a4a75
feat(ui): Settings/AdminSettings/SSOSettings/BaseSSOSettingsForm to shadcn
- @tremor TextInput \u2192 shadcn Input; AntInput.Password preserved
  for client secret fields.
- antd Form/Form.Item/Select/Checkbox preserved (parent drives form
  context + shouldUpdate + valuePropName='checked' + rules).
- Provider logo <div style=...> swapped for Tailwind utilities.

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 19:29:47 +00:00
Cursor Agent
493b28fc9a
feat(ui): prompts/PromptCodeSnippets to shadcn
- antd Modal/Button + @tremor Button/Text + @ant-design CodeOutlined
  \u2192 shadcn Dialog/Button/Select + lucide Code. antd Tabs kept
  (legacy items prop used across the Generated Code view).
- SyntaxHighlighter preserved; 'style={coy as any}' wrapped in
  eslint-disable.

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 19:25:21 +00:00
Cursor Agent
c79b511c69
feat(ui): mcp_tools/OAuthFormFields to shadcn
- @tremor Button/TextInput + antd Tooltip/Input/Input.TextArea +
  @ant-design InfoCircleOutlined \u2192 shadcn Button/Input/Textarea/
  Tooltip + lucide Info.
- antd Form/Form.Item/Select/InputNumber preserved (form context +
  mode='tags' + tokenSeparators + rules validator).
- text-gray-400/600 \u2192 text-muted-foreground; text-red-500 \u2192
  text-destructive; text-green-600 stays categorical (success
  indicator). File added to .eslintrc overrides.

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 19:21:16 +00:00
Cursor Agent
ae60e9b16d
feat(ui): mcp_tools/McpCrudPermissionPanel to shadcn
- antd Checkbox + @tremor Text + @heroicons ChevronDown/Right
  (already lucide) \u2192 shadcn Checkbox + native <span>/<p> + lucide
  ChevronDown/ChevronRight.
- Categorical CRUD palette (emerald=read, blue=create, amber=update,
  red=delete, muted=unknown) preserved; file added to .eslintrc
  overrides.
- Checkbox indeterminate state uses Radix 'indeterminate' convention;
  group toggle still covers full group regardless of search filter.

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 19:15:26 +00:00
Cursor Agent
3705fb5ef5
feat(ui): policies/policy_test_panel to shadcn
- antd Alert/Tag/Empty/Typography + @tremor Button \u2192 shadcn Badge/
  Button + plain inline bg-red-50 error callout + lucide
  AlertCircle/Info. antd Form/Form.Item/Select preserved (mode=tags
  + filterOption).
- loadOptions wrapped in useCallback with full deps. Categorical
  emerald guardrail / blue matched-via badge; file added to
  .eslintrc overrides.

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 19:11:11 +00:00
Cursor Agent
8b0dfae348
feat(ui): team/EditMembership (MemberModal) to shadcn
- antd Modal/Button + @tremor Text/TextInput \u2192 shadcn Dialog/
  Button/Input. antd Form/Form.Item/Select preserved (mode='multiple'
  + field.rules validators + getFieldValue interactions).
- Removed stray console.log debug statements that leaked in during
  an earlier refactor.

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 19:07:25 +00:00
Cursor Agent
b3f01bab19
feat(ui): AIHub/MakeModelPublicForm to shadcn
- antd Modal/Button/Checkbox + @tremor Text/Title/Badge \u2192 shadcn
  Dialog/Button/Checkbox/Badge. antd Steps/Step preserved.
- Emerald mode badge + blue provider badge + blue info / amber
  warning callouts preserved as categorical palette; file added
  to .eslintrc overrides.

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 19:04:05 +00:00
Cursor Agent
7b4997559a
feat(ui): AIHub/MakeMCPPublicForm to shadcn
- antd Modal/Button/Checkbox + @tremor Text/Title/Badge \u2192 shadcn
  Dialog/Button/Checkbox/Badge. antd Steps/Step preserved.
- Extracted STATUS_BADGE_CLASSES helper that maps active/healthy \u2192
  emerald, inactive/unhealthy \u2192 red, default \u2192 muted. Blue (public
  + transport badge), purple (tools), emerald (Public pill), amber
  (warning callout) categorical palette; file added to .eslintrc
  overrides.

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 19:00:50 +00:00
Cursor Agent
a67d91f2e0
feat(ui): AIHub/MakeAgentPublicForm to shadcn
- antd Modal/Button/Checkbox + @tremor Text/Title/Badge \u2192 shadcn
  Dialog/Button/Checkbox/Badge + native headings/paragraphs.
- antd Steps/Step preserved (2-step wizard).
- Categorical blue (version badge + info callout) / purple (skill
  badge) / amber (warning callout) palette; file added to .eslintrc
  overrides.

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 18:57:32 +00:00
Cursor Agent
93d0bc804b
feat(ui): add_model/conditional_public_model_name to shadcn
- @tremor TextInput \u2192 shadcn Input. antd Form/Form.Item/Form.useForm
  + antd Table preserved (Form.useFormInstance + Form.useWatch +
  custom table render functions).
- Tooltip code hint palette swapped from bg-gray-700 to
  bg-foreground/70 text-background so it works in light + dark mode.
- EntityUsageExport/types.ts: tremor DateRangePickerValue type import
  whitelisted inline (phase 1 date-picker whitelist).

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 18:54:28 +00:00
Cursor Agent
4379fd004d
chore(ui): usage.tsx whitelist tremor imports
- 947-LOC dashboard page heavily tied to the full Tremor chart +
  table ecosystem (BarChart/BarList/AreaChart/DonutChart/MultiSelect/
  TabGroup/Grid/Col/Table). Whitelisted phase 1 via inline
  eslint-disable-next-line litellm-ui/no-banned-ui-imports on both
  import statements; full migration deferred until tremor charts
  have a Shadcn alternative.

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 18:49:47 +00:00
Cursor Agent
8abe947e35
chore(ui): common_components/RouterSettingsAccordion whitelist tremor TabGroup
- Tremor Tab/TabGroup/TabList/TabPanel family is intentionally kept
  (phase 1 whitelist). Added inline eslint-disable-next-line so lint
  stays green on this file.

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 18:47:44 +00:00
Cursor Agent
82d0f63212
chore(ui): cache_dashboard whitelist tremor imports
- Tremor BarChart and DateRangePickerValue type import are
  intentionally kept (phase 1 chart + date range whitelist).
  Added inline eslint-disable-next-line litellm-ui/no-banned-ui-
  imports comments so lint stays green.

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 18:45:55 +00:00
Cursor Agent
0d81270d5e
feat(ui): per_user_usage to shadcn
- @tremor Title/Subtitle/Text/Button \u2192 native <h2>/<h3>/<p>/<span>
  + shadcn Button. Tremor Table family + BarChart + TabGroup family
  kept (phase 1 whitelist).
- Refactored fetchPerUserData into useCallback with deps.

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 18:43:29 +00:00
Cursor Agent
99745fe75e
feat(ui): model_dashboard/all_models_table semantic token pass
- Tremor Table family preserved (whitelist) with inline eslint-
  disable; dead getHeaderText helper removed.
- bg-white sticky shadow cells \u2192 bg-background. bg-gray-50 row
  hover \u2192 bg-muted. Resizer bar: bg-blue-500 \u2192 bg-primary,
  hover:bg-blue-200 \u2192 hover:bg-primary/20. Loading/empty state
  messages use text-muted-foreground.

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 18:40:18 +00:00
Cursor Agent
2df7f9c9f5
feat(ui): team/available_teams to shadcn
- @tremor Card/Button/Text/Badge \u2192 shadcn Card/Button/Badge + native
  <span>. Tremor Table family preserved (whitelist).
- Categorical red (all-proxy-models) / blue (named model) Badge
  palette; file added to .eslintrc overrides.

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 18:36:59 +00:00
Cursor Agent
c0a3e3f9a9
feat(ui): agents/dynamic_agent_form_fields to shadcn
- antd Collapse/Panel \u2192 shadcn Accordion for cost-config section.
- antd Input/Input.TextArea \u2192 shadcn Input/Textarea. Kept antd
  Form/Form.Item + Select (Option-based custom renderer) and
  AntInput.Password (password eye toggle comes with antd).
- Typed 'values: any' casts moved to eslint-disable comments; no
  runtime changes.

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 18:32:57 +00:00
Cursor Agent
9190282d6f
feat(ui): SearchTools/SearchToolColumn to shadcn
- antd Tag \u2192 shadcn Badge. Categorical blue (DB source) vs muted
  (Config source) palette preserved; file added to .eslintrc
  overrides. antd Table ColumnsType contract preserved.

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 18:27:34 +00:00
Cursor Agent
af8116fb44
feat(ui): mcp_tools/OpenAPIFormSection Input to shadcn
- antd Input \u2192 shadcn Input. antd Form/Form.Item + FormInstance
  preserved (parent antd Form context + setFieldsValue calls in
  handlePresetSelect).

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 18:22:00 +00:00
Cursor Agent
843d19c2aa
feat(ui): vector_store_management/TestVectorStoreTab to shadcn
- antd Card/Typography \u2192 shadcn Card + native <h5>/<p>. antd Select
  preserved (showSearch + Option custom renderer).
- Swept text-gray-500 to text-muted-foreground.

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 18:16:50 +00:00
Cursor Agent
6e4eb8e648
feat(ui): model_add/reuse_credentials to shadcn Dialog
- antd Modal/Button/Tooltip/Typography + @tremor TextInput \u2192 shadcn
  Dialog/Button/Input + plain styled anchor for Need Help link.
- antd Form/Form.Item preserved (parent drives it + rules +
  initialValue over dynamic credential_values keys).

Gates: TS \u2713 | Build \u2713.

Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
2026-04-23 18:10:58 +00:00