litellm/ui/litellm-dashboard/src/utils
yuneng-jiang 8404bc094c
refactor(ui): move models text onto i18n (#50112)
Every string the Models + Endpoints, Model Insights and Transform Request
pages write themselves now goes through t() or Trans, including the shared
auto-router settings those pages render on other routes. 1,651 English
messages are added under 28 new top-level keys in en.json.

This is a pure text move. The English on screen does not change, option
lists and constants keep their shape, and text that could not move without
restructuring stays English. ModelInfoEditForm.tsx, ComplexityRouterConfig.tsx
and build_complexity_router_config.ts grew past the 800 line limit and get
max-lines entries in eslint-suppressions.json instead of being split.
2026-11-04 16:59:59 -08:00
..
activityTimestamp.test.ts feat: improve Lens dev seeding and live UI (#44468) 2026-10-04 01:03:11 +00:00
activityTimestamp.ts feat: improve Lens dev seeding and live UI (#44468) 2026-10-04 01:03:11 +00:00
budgetUtils.test.ts fix(ui): show the budget period date range instead of "cycle" on team member spend (#48488) 2026-10-26 17:24:44 -07:00
budgetUtils.ts refactor(ui): move teams, users and orgs text onto i18n (#49484) 2026-11-03 19:52:52 +00: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 fix(ui): store SSO exchange token via storeLoginToken to keep Secure flag (#45840) 2026-10-10 13:33:03 -07:00
cookieUtils.ts fix(ui): break logout redirect loop across origins (#29360) 2026-05-30 19:02:29 -07:00
dataUtils.test.ts fix(ui): restore clipboard copying in key and log details (#48425) 2026-10-26 11:12:11 -07:00
dataUtils.ts refactor(ui): move shell, entry and public hub text onto i18n (#50110) 2026-11-04 16:59:42 -08: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 fix(ui): link model access group chips to the access group filter (#45402) 2026-10-08 15:32:33 -07:00
entityLinks.ts fix(ui): link model access group chips to the access group filter (#45402) 2026-10-08 15:32:33 -07:00
errorPatterns.ts refactor(ui): move models text onto i18n (#50112) 2026-11-04 16:59:59 -08: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): replace deployment warning banners with a health icon, alert banner and panel (#46498) 2026-10-14 18:32:40 -07:00
licenseUtils.ts feat(ui): replace deployment warning banners with a health icon, alert banner and panel (#46498) 2026-10-14 18:32:40 -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 refactor(mcp): drop the experimental label from the MCP server and client paths (#48513) 2026-10-27 17:47:50 +00: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
modelEditParams.ts fix(ui): persist model parameter deletions after refresh (#48456) 2026-10-26 18:50:12 -07:00
modelPermissions.test.ts fix(proxy): enforce internal-user model creation prohibition (#44438) 2026-10-05 11:32:05 -07:00
modelPermissions.ts fix(proxy): enforce internal-user model creation prohibition (#44438) 2026-10-05 11:32:05 -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): inspect client usage for users and team members (#47974) 2026-10-23 17:04:53 +00:00
promptCacheUsage.ts feat(ui): inspect client usage for users and team members (#47974) 2026-10-23 17:04:53 +00: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 feat(helm): support a separate hostname per component in the componentized deploy (#46360) 2026-10-14 14:56:36 -07:00
returnUrlUtils.ts feat(helm): support a separate hostname per component in the componentized deploy (#46360) 2026-10-14 14:56:36 -07:00
roles.test.ts fix(ui): gate MCP live connections tab to proxy admin tier roles 2026-09-17 22:36:00 +00:00
roles.ts feat(ui): inspect client usage for users and team members (#47974) 2026-10-23 17:04:53 +00: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
sentinels.ts feat(ui): link the User, Team and Created By cells on the Virtual Keys page 2026-09-10 15:55:03 -07:00
streamErrorMessage.test.ts fix(proxy)!: end a chat completions stream with an error event when a guardrail blocks mid-stream (#46953) 2026-10-17 18:00:12 -07:00
streamErrorMessage.ts fix(proxy)!: end a chat completions stream with an error event when a guardrail blocks mid-stream (#46953) 2026-10-17 18:00:12 -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 refactor(ui): move shell, entry and public hub text onto i18n (#50110) 2026-11-04 16:59:42 -08:00
uiHref.test.ts refactor(ui): route the sidebar by pathname and shrink the ?page= shim to a redirect table 2026-09-05 16:44:11 -07:00
uiHref.ts refactor(ui): route the sidebar by pathname and shrink the ?page= shim to a redirect table 2026-09-05 16:44:11 -07:00
versionUtils.test.ts feat(ui): add upgrade banner with latest release changelog stats 2026-09-09 10:38:45 -07:00
versionUtils.ts feat(ui): add upgrade banner with latest release changelog stats 2026-09-09 10:38:45 -07:00