litellm/ui/litellm-dashboard/e2e_tests/fixtures
ryan-crabbe-berri 382d78ec16
feat(ui): migrate old usage report to App Router path route (#30694)
Cut the legacy "Old Usage" report (?page=usage) over from the switch in
(dashboard)/page.tsx to a path route at (dashboard)/old-usage. The segment is
old-usage rather than usage because the modern usage dashboard (new_usage)
already owns /usage. Adding the MIGRATED_PAGES entry repoints the sidebar item
and redirects existing ?page=usage links to /ui/old-usage.

The report was the switch's catch-all else, so removing it means choosing a new
fallback: collapse the now-redundant explicit api-keys arm into the else so the
main dashboard (UserDashboard) is the default. Unknown ?page= values now land on
the dashboard instead of the Old Usage report, which is the sensible default.

The new route sources identity from useAuthorized() and passes keys={null}: the
key-filter dropdown read the parent's keys state, which was already empty on
direct navigation to ?page=usage, so this preserves that rather than wiring a
paginated key fetch into a deprecated report.
2026-06-18 10:28:05 -07:00
..
mock_llm_server [Feature] E2E UI tests: proxy-admin team and key management with CI integration 2026-04-08 11:51:15 -07:00
config.yml test(e2e): add edit team model TPM/RPM limits test 2026-04-13 16:27:39 -07:00
menuMappings.ts e2e refactoring 2026-01-08 21:50:19 -08:00
migratedPages.ts feat(ui): migrate old usage report to App Router path route (#30694) 2026-06-18 10:28:05 -07:00
pages.ts refactor(ui): remove orphaned pass-through-settings route (#30692) 2026-06-17 18:26:21 -07:00
roles.ts Adding e2e tests for sidebar 2025-12-30 12:19:25 -08:00
seed.sql test(e2e): cover Internal User create-key flow when in no teams (#29083) 2026-05-30 00:26:28 -07:00
users.ts [Fix] Add missing test fixtures and address review feedback 2026-04-08 12:40:41 -07:00