litellm/ui/litellm-dashboard/src/components/email_events
Yuneng Jiang b2cf17d4a2
refactor(ui): migrate logging-and-alerts, caching and policies to shadcn
Markup-only migration of the 17 files these three routes exclusively own,
replacing antd and Tremor with the installed shadcn (base-vega) primitives and
lucide icons. No route behaviour changes; the tests written in the previous
commit are untouched here and pass against both the old and the new markup.

Colour now comes from tokens rather than from hardcoded utilities, so the
health-check button, the alerts and the badges no longer pin their own palette.
email_settings also loses an invalid DOM nesting (a table cell inside a div, and
a div inside a paragraph) that React had been warning about.

Two modals on the policies page moved from the Policies panel up to the panel
root. Base UI Tabs mounts only the active panel, unlike Tremor, and both are
opened from the Templates tab, so leaving them nested would have made "Use
Template" do nothing.

Retires 53 antd import suppressions from the eslint baseline.
2026-07-23 23:17:52 -07:00
..
email_event_settings.test.tsx test(ui): pin logging-and-alerts, caching and policies behaviour before the shadcn migration 2026-07-23 23:01:09 -07:00
email_event_settings.tsx refactor(ui): migrate logging-and-alerts, caching and policies to shadcn 2026-07-23 23:17:52 -07:00
index.ts added and ran prettier autoformatter 2025-10-04 18:19:48 -07:00
types.ts added and ran prettier autoformatter 2025-10-04 18:19:48 -07:00