litellm/ui/litellm-dashboard/src/utils
tin-berri b417e858f9
fix(mcp): load MCP tool configuration tools via the OBO/passthrough-aware GET path (#29960)
* fix(ui): load MCP tool configuration tools via the OBO/passthrough-aware GET path

* fix(mcp): admin-only include_disabled_tools so the settings UI shows toggled-off tools

* fix(ui): repopulate MCP server edit form when server data loads after mount (OAuth return)

* fix(ui): persist MCP OAuth token on save and return to the Settings tab after authorize

* fix(ui): scope MCP OAuth callback to the initiating form so create and edit flows don't cross-talk

* fix(ui): derive OAuth-return Settings tab via lazy state init instead of setState-in-effect

* Fix MCP OAuth edit token handling

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
(cherry picked from commit 51ba6e39cd)
2026-06-15 18:21:29 -07:00
..
budgetUtils.ts Show absolute date in Budget Reset column 2026-04-23 15:57:22 -07:00
cookieUtils.test.ts style(ui): run prettier --write across the dashboard (#29622) 2026-06-04 11:37:54 -07:00
cookieUtils.ts fix(ui): break logout redirect loop across origins (#29360) 2026-05-30 19:02:29 -07:00
dataUtils.test.ts Usage Entity labels 2025-12-12 12:13:51 -08:00
dataUtils.ts Usage Entity labels 2025-12-12 12:13:51 -08: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
localStorageUtils.test.ts feat: hide new badges 2025-12-31 10:42:34 -08:00
localStorageUtils.ts feat: hide new badges 2025-12-31 10:42:34 -08: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-15 18:21:29 -07:00
mcpTokenStore.test.ts style(ui): run prettier --write across the dashboard (#29622) 2026-06-04 11:37:54 -07:00
mcpTokenStore.ts style(ui): run prettier --write across the dashboard (#29622) 2026-06-04 11:37:54 -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
pkce.ts Extract shared PKCE helpers into src/utils/pkce.ts 2026-04-16 10:35:52 -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
returnUrlUtils.test.ts style(ui): run prettier --write across the dashboard (#29622) 2026-06-04 11:37:54 -07:00
returnUrlUtils.ts feat(ui): add key creation deep-links with SSO return URL support 2026-02-26 15:41:54 -05:00
roles.test.ts style(ui): run prettier --write across the dashboard (#29622) 2026-06-04 11:37:54 -07:00
roles.ts style(ui): run prettier --write across the dashboard (#29622) 2026-06-04 11:37:54 -07:00
secureStorage.ts style(ui): run prettier --write across the dashboard (#29622) 2026-06-04 11:37:54 -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