litellm-mirror/ui/litellm-dashboard
Krish Dholakia 66680c421d
Add global filtering to Users tab (#10195)
* style(internal_user_endpoints.py): add response model to `/user/list` endpoint

make sure we maintain consistent response spec

* fix(key_management_endpoints.py): return 'created_at' and 'updated_at' on `/key/generate`

Show 'created_at' on UI when key created

* test(test_keys.py): add e2e test to ensure created at is always returned

* fix(view_users.tsx): support global search by user email

allows easier search

* test(search_users.spec.ts): add e2e test ensure user search works on admin ui

* fix(view_users.tsx): support filtering user by role and user id

More powerful filtering on internal users table

* fix(view_users.tsx): allow filtering users by team

* style(view_users.tsx): cleanup ui to show filters in consistent style

* refactor(view_users.tsx): cleanup to just use 1 variable for the data

* fix(view_users.tsx): cleanup use effect hooks

* fix(internal_user_endpoints.py): fix check to pass testing

* test: update tests

* test: update tests

* Revert "test: update tests"

This reverts commit 6553eeb232.

* fix(view_userts.tsx): add back in 'previous' and 'next' tabs for pagination
2025-04-22 13:59:43 -07:00
..
out build: update ui build 2025-04-21 16:26:36 -07:00
public set_local_icons 2025-03-19 14:37:57 +00:00
src Add global filtering to Users tab (#10195) 2025-04-22 13:59:43 -07:00
.eslintrc.json build(ui/litellm-dashboard): initial commit of litellm dashboard 2024-01-27 12:12:48 -08:00
build_ui.sh (ui) fix build command 2024-02-21 21:02:46 -08:00
build_ui_custom_path.sh build ui on custom path 2024-08-05 16:34:37 -07:00
next.config.mjs use correct build paths 2024-08-05 15:59:50 -07:00
package-lock.json build(deps): bump @babel/runtime in /ui/litellm-dashboard (#10001) 2025-04-15 16:35:26 -07:00
package.json [UI] Linting fixes (#9933) 2025-04-11 21:23:59 -07:00
postcss.config.js build(ui/litellm-dashboard): initial commit of litellm dashboard 2024-01-27 12:12:48 -08:00
README.md build(ui/litellm-dashboard): initial commit of litellm dashboard 2024-01-27 12:12:48 -08:00
tailwind.config.js (ui) adjust size 2024-03-28 23:27:23 -07:00
tailwind.config.ts (ui) use indigo theme 2024-02-03 18:35:32 -08:00
tsconfig.json build(ui/litellm-dashboard): initial commit of litellm dashboard 2024-01-27 12:12:48 -08:00
ui_colors.json ui - fix filter by color scheme 2024-06-03 18:39:32 -07:00

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.