litellm/ui/litellm-dashboard/e2e_tests/tests
ryan-crabbe-berri 530c0b2326
feat(ui): migrate playground to path routing and colocate its files (#30185)
* feat(ui): cut playground over to the /ui/playground path route

Follows the api-reference recipe: the sidebar and deep links route
llm-playground to the path route, ?page=llm-playground redirects, and
the legacy switch arm is deleted. The route's page.tsx was already the
real implementation, so no view extraction was needed.

* refactor(ui): move playground-owned files into its route folder

Per the (dashboard) README convention, page-owned code lives in the
page's folder: chat_ui/compareUI/complianceUI components, the chat
hooks, and the playground-only llm_calls helpers move under
(dashboard)/playground/. Modules with non-playground consumers (chat
message primitives; fetch_models, chat_completion, responses_api) stay
at their lowest common ancestor in src/components/{chat_ui,llm_calls}
because legacy pages still import them. eslint-suppressions entries are
re-keyed to the new paths so the grandfathered baseline still applies.

* test(ui): teach sidebar e2e spec about migrated path routes

The sidebar spec asserted ?page=<key> for every item, which the
playground cutover correctly broke: the sidebar now links to
/ui/playground and the legacy URL redirects there. Drive the expected
URL from the migration fixture (now a page-id -> segment map) so
future cutovers only add a fixture entry. Also wrap one import line
in AgentBuilderView.tsx that the move left unformatted; the changed-
files prettier check flagged it.
2026-06-11 12:07:17 -07:00
..
auth style(ui): run prettier --write across the dashboard (#29622) 2026-06-04 11:37:54 -07:00
internal-user style(ui): run prettier --write across the dashboard (#29622) 2026-06-04 11:37:54 -07:00
internal-viewer style(ui): run prettier --write across the dashboard (#29622) 2026-06-04 11:37:54 -07:00
login refactor(ui): centralize proxy base URL resolution into tested resolver (#29793) 2026-06-05 11:53:26 -07:00
mcp feat(mcp): per-server env vars with global + per-user scopes (#28917) 2026-06-05 20:15:11 -07:00
migration test(ui): data-driven App Router migration E2E smoke (default + server-root-path) (#29974) 2026-06-09 10:40:01 -07:00
modelHub style(ui): run prettier --write across the dashboard (#29622) 2026-06-04 11:37:54 -07:00
modelsPage style(ui): run prettier --write across the dashboard (#29622) 2026-06-04 11:37:54 -07:00
navigation feat(ui): migrate playground to path routing and colocate its files (#30185) 2026-06-11 12:07:17 -07:00
proxy-admin style(ui): run prettier --write across the dashboard (#29622) 2026-06-04 11:37:54 -07:00
settings style(ui): run prettier --write across the dashboard (#29622) 2026-06-04 11:37:54 -07:00
team-admin style(ui): run prettier --write across the dashboard (#29622) 2026-06-04 11:37:54 -07:00
users Neon Branch on every commit + skip flaky tests 2026-01-09 23:25:42 -08:00