litellm/ui/litellm-dashboard/tests
yuneng-jiang bb37a11b3b
feat(ui): rebuild the command palette on shadcn Command (#49528)
Replace the hand-rolled combobox in the Cmd/Ctrl+K palette with shadcn's
base-vega Command and CommandDialog (cmdk) and bind the shortcut with
react-hotkeys-hook. cmdk now owns arrow keys, wraparound, Home/End and IME
composition, Base UI keeps the dialog mounted for its closing animation and
returns focus to the trigger, and mod+k is ignored while focus is inside
another dialog

Results keep their fixed Keys, Actions, Pages order with shouldFilter
disabled. The highlight resets to the first row whenever debounced key
results load, so Enter after typing still opens the top key

cmdk 1.1.1 leaves aria-activedescendant empty or stale after it picks a row
on its own (dip/cmdk#413), so a MutationObserver keeps it on the row that is
actually aria-selected until upstream fixes it
2026-11-03 15:21:15 -08:00
..
eslint-rules feat(ui): share trace drawer as a closable SidePanel and polish Lens (#44473) 2026-10-04 02:20:14 +00:00
mocks fix(ui): read the preset catalog through the shared mock in the lib test 2026-09-02 21:42:47 -07:00
autoRouterSetup.ts fix(auto-router): separate tuning and select chained heuristic (#44928) 2026-10-06 13:43:53 -07:00
CreateKeyPage.expiredToken.test.tsx refactor(ui): remove the deprecated Old Usage page (#49284) 2026-10-30 18:43:13 +00:00
fetch-location-rule.test.ts refactor(ui): shared HTTP client + location-pinned fetch() lint rule (#29723) 2026-06-04 20:27:58 -07:00
fieldOrientation.ts test(ui): assert the resolved checkbox layout, not just data-orientation 2026-09-01 13:54:54 -04:00
jsdomFetchEnv.ts chore(build): move the Admin UI toolchain to Node 24 (#35801) 2026-08-04 12:36:07 -07:00
lint-budget-lib.test.ts chore(ui): remove eslint-metrics.json lint-count snapshot 2026-07-11 11:54:42 -07:00
mounted-form-host.tsx refactor(ui): port the add model form off antd Form onto react-hook-form (#37446) 2026-08-18 23:43:54 -07:00
setup.unit.ts test(ui): split the vitest suite into unit, component, integration and type projects (#37488) 2026-08-19 20:40:14 +00:00
setupTests.ts feat(ui): rebuild the command palette on shadcn Command (#49528) 2026-11-03 15:21:15 -08:00
test-utils.tsx feat(ui): shareable URL state for usage views and users-to-usage deeplinks (#43425) 2026-10-16 16:42:29 -07:00
top_key_view.test.tsx fix(ui): fall back to user id in Top Virtual Keys user column 2026-09-19 11:04:46 -07:00