mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-06 08:16:43 +00:00
Establishes a real design.md/AGENTS.md for the chat UI (tokens, component patterns, decision trees) after several rounds of hand-rolled Tailwind shipping invisible or broken states, then audits every component in the directory against it: raw <button>s replaced with shadcn Button throughout, spinners replaced with Skeleton for list/table loading states, dark-mode contrast bugs fixed (MCPAppsPanel cards were bg-background instead of bg-card, identical to the page background in dark mode), Badge variants and status colors aligned with the documented semantics, and the sidebar's active-nav-item styling switched to the purpose-built sidebar-* tokens instead of the generic accent/secondary tokens that collapse to the same value in this theme. Also: disables model comparison mode and multi-select in favor of a single active model, moves the model picker from a standalone top bar into the composer, removes the sidebar collapse toggle and the non-functional "Search chats" entry, and renames the conversation list's "Today" group to "Recents". Fixes a real scroll bug: the model picker's dropdown list was unscrollable because its container used max-height instead of an explicit height, which doesn't count as a definite size for the percentage-height Radix ScrollArea viewport to resolve against — so the viewport silently expanded to full content height instead of clipping, and scroll events fell through to the page behind it. Same latent bug fixed in the sidebar's conversation list. |
||
|---|---|---|
| .. | ||
| litellm-dashboard | ||
| Dockerfile | ||
| nginx.conf | ||