mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
* refactor(ui): move the search tool, tag and vector store views off tremor Swaps the tremor Button, TextInput, Text, Title, Card, Badge, Accordion and TabGroup usages in the search tools, tag management and vector store views for the shadcn primitives, following the tremor conversion cookbook. Both tab panels in the vector store info view carry keepMounted so the tester's state survives switching to Details and back, and a test pins that contract. tremor's Button renders a bare button element with no type, so inside the antd Forms here the Test Connection button in the create search tool modal and the Cancel buttons in the tag editor and the vector store form were implicit submit buttons. The shadcn Button defaults to type="button", so they can no longer submit, and every button that is meant to submit now carries an explicit type="submit". Clicking Test Connection and Cancel against a live proxy on the merge base already only ran the connection test and only cancelled, so this closes a latent trap rather than changing what the pages do. Decrements the seven no-restricted-imports suppression counts these files no longer need, leaving the antd half of each entry in place for the antd pass. * refactor(ui): use the line tab strip in the vector store detail view The detail view's tabs kept the default pill TabsList, so it no longer matched the underline strip tremor rendered before the swap or the one the vector store list view already uses. * test(ui): pin the tag and vector store form save and cancel buttons Cancel in the tag editor used to submit the form and save the tag because the tremor button carried no type; nothing in the suite failed if it started doing that again. Each form now has a pair of cases: Save Changes and Create still submit, and Cancel leaves the record alone. * fix(ui): keep the reveal toggle on the search tool API key tremor's TextInput drew its own show/hide button whenever the type was password, and the shadcn Input is a plain native input, so the straight prop pass-through silently deleted that affordance from the create search tool form's API key field. Puts it on antd's Input.Password instead, which is what the sibling edit form in the same directory (SearchTools.tsx) already uses for the very same field, so the reveal survives and the two forms behave the same. The file already imports antd, so this adds no import and no suppression. |
||
|---|---|---|
| .. | ||
| litellm-dashboard | ||
| Dockerfile | ||
| nginx.conf | ||