litellm/ui/litellm-dashboard/src/utils
Mateo Wang bad55da9bf
Merge pull request #38872 from BerriAI/litellm_fix_viewer_add_model_tab
fix(ui): hide model write affordances from view-only admin sessions
2026-09-01 14:52:54 -07:00
..
budgetUtils.ts Show absolute date in Budget Reset column 2026-04-23 15:57:22 -07:00
capabilities.test.ts fix(proxy): let org admins view their organization's usage (#37235) 2026-08-18 14:44:36 -07:00
capabilities.ts fix(proxy): let org admins view their organization's usage (#37235) 2026-08-18 14:44:36 -07:00
cookieUtils.test.ts test(ui): split the vitest suite into unit, component, integration and type projects (#37488) 2026-08-19 20:40:14 +00:00
cookieUtils.ts fix(ui): break logout redirect loop across origins (#29360) 2026-05-30 19:02:29 -07:00
dataUtils.test.ts test(ui): split the vitest suite into unit, component, integration and type projects (#37488) 2026-08-19 20:40:14 +00:00
dataUtils.ts refactor(ui): codemod every toast call site onto lib/toast and delete the antd-era facades (#37253) 2026-08-18 18:24:49 +00:00
debounceConstants.ts refactor(ui): standardize debounce waits behind shared DEBOUNCE_WAIT_MS constant (#33040) 2026-07-13 12:19:57 -07:00
entityLinks.test.ts feat(ui): link team and key model chips to the models page filtered to that group 2026-08-27 21:08:33 -07:00
entityLinks.ts fix(ui): filter the models page by exact model group instead of substring search 2026-08-29 10:18:06 -07:00
errorPatterns.ts added and ran prettier autoformatter 2025-10-04 18:19:48 -07:00
errorUtils.test.ts Add unit tests for 5 previously untested UI dashboard files 2026-03-16 12:53:20 -07:00
errorUtils.ts style(ui): run prettier --write across the dashboard (#29622) 2026-06-04 11:37:54 -07:00
jwtUtils.test.ts useAuthorized refactor 2026-02-04 16:37:45 -08:00
jwtUtils.ts useAuthorized refactor 2026-02-04 16:37:45 -08:00
keyExpiryUtils.test.ts fix(ui): require new expiration when regenerating an expired key (#29838) 2026-06-06 09:18:19 -07:00
keyExpiryUtils.ts fix(ui): require new expiration when regenerating an expired key (#29838) 2026-06-06 09:18:19 -07:00
keyUpdateUtils.test.ts Key Max Budget Removal Error Fix 2025-10-17 12:04:58 -07:00
keyUpdateUtils.ts Key Max Budget Removal Error Fix 2025-10-17 12:04:58 -07:00
licenseUtils.test.ts feat(ui): show exact license expiration date in usage cards 2026-07-15 16:52:21 -07:00
licenseUtils.ts feat(ui): show exact license expiration date in usage cards 2026-07-15 16:52:21 -07:00
localStorageUtils.test.ts test(ui): split the vitest suite into unit, component, integration and type projects (#37488) 2026-08-19 20:40:14 +00:00
localStorageUtils.ts feat: hide new badges 2025-12-31 10:42:34 -08:00
maskedSecretUtils.ts fix(ui): stop credential edit from persisting the masked api key (#33797) 2026-07-17 18:25:24 -07:00
mcpHeaderUtils.test.ts feat(mcp): Add tool call and tool list support via UI for Oauth mcps (#28454) 2026-05-22 09:04:04 -07:00
mcpHeaderUtils.ts fix(mcp): load MCP tool configuration tools via the OBO/passthrough-aware GET path (#29960) 2026-06-08 19:58:51 -07:00
mcpTokenStore.test.ts test(ui): split the vitest suite into unit, component, integration and type projects (#37488) 2026-08-19 20:40:14 +00:00
mcpTokenStore.ts refactor(ui): route MCP session tokens through the shared storage helper 2026-08-04 14:15:29 -07:00
mcpToolCrudClassification.test.ts Add unit tests for 5 previously untested UI dashboard files 2026-03-16 12:53:20 -07:00
mcpToolCrudClassification.ts feat(ui): group MCP tools by CRUD risk category in allowlist panels (#23403) 2026-03-11 21:15:25 -07:00
migratedPages.test.ts feat(ui): migrate api-keys landing to App Router path route (#30699) 2026-06-18 17:38:07 -07:00
migratedPages.ts feat(spend): track prompt compression saved tokens in daily spend aggregates (#33810) 2026-07-18 17:47:54 -07:00
modelPermissions.test.ts fix(ui): withhold team-scoped model writes from view-only sessions too 2026-08-30 10:01:44 -07:00
modelPermissions.ts fix(ui): withhold team-scoped model writes from view-only sessions too 2026-08-30 10:01:44 -07:00
pkce.ts Extract shared PKCE helpers into src/utils/pkce.ts 2026-04-16 10:35:52 -07:00
promptCacheUsage.test.ts feat(ui): show provider prompt cache tokens in chat response metrics (#36827) 2026-08-13 16:58:14 -07:00
promptCacheUsage.ts feat(ui): show provider prompt cache tokens in chat response metrics (#36827) 2026-08-13 16:58:14 -07:00
proxyUtils.test.ts style(ui): run prettier --write across the dashboard (#29622) 2026-06-04 11:37:54 -07:00
proxyUtils.ts added and ran prettier autoformatter 2025-10-04 18:19:48 -07:00
ptuDatetime.test.ts feat(ptu): PTU inputs on the model form and flat cost on the Usage page (#35393) 2026-08-10 11:05:06 -07:00
ptuDatetime.ts feat(ptu): PTU inputs on the model form and flat cost on the Usage page (#35393) 2026-08-10 11:05:06 -07:00
ptuModelInfo.test.ts feat(ptu): gate PTU flat-cost attribution behind an opt-in env var (#36138) 2026-08-10 12:23:20 -07:00
ptuModelInfo.ts feat(ptu): gate PTU flat-cost attribution behind an opt-in env var (#36138) 2026-08-10 12:23:20 -07:00
ptuValidation.test.ts fix(ptu): stop per-token billing on a PTU-configured deployment (#36829) 2026-08-13 20:16:12 -07:00
ptuValidation.ts refactor(ui): move the model info edit form off antd Form (#37392) 2026-08-18 17:40:49 -07:00
returnUrlUtils.test.ts test(ui): split the vitest suite into unit, component, integration and type projects (#37488) 2026-08-19 20:40:14 +00:00
returnUrlUtils.ts fix(ui): navigate to /ui/login/ with trailing slash via hard navigation (#33561) 2026-07-16 12:18:55 -07:00
roles.test.ts feat(ui): add per-key Savings tab to key detail page (#37693) 2026-08-21 14:50:02 -07:00
roles.ts feat(ui): add per-key Savings tab to key detail page (#37693) 2026-08-21 14:50:02 -07:00
searchUtils.test.ts feat(ui): add search to Agent Hub tab and admin agents table 2026-09-01 11:46:58 -07:00
searchUtils.ts feat(ui): add search to Agent Hub tab and admin agents table 2026-09-01 11:46:58 -07:00
secureStorage.ts style(ui): run prettier --write across the dashboard (#29622) 2026-06-04 11:37:54 -07:00
tabRoutes.test.ts refactor(ui): extract shared tab-routing helpers and adopt them in Models + Endpoints (#34435) 2026-07-23 16:36:25 -07:00
tabRoutes.ts refactor(ui): extract shared tab-routing helpers and adopt them in Models + Endpoints (#34435) 2026-07-23 16:36:25 -07:00
teamUtils.test.ts Deprecate useTeam in favor of react query 2025-12-23 20:15:42 -08:00
teamUtils.ts Deprecate useTeam in favor of react query 2025-12-23 20:15:42 -08:00
textUtils.test.ts Adding unit testing coverage 2026-01-03 17:25:46 -08:00
textUtils.ts [Feature] UI - Add LiteLLM Params to Edit Model (#16496) 2025-11-11 18:52:11 -08:00