Repository navigation
fix(ui): rename Virtual Keys 'Key Hash' filter label to 'Key ID' - #32672
ryan-crabbe-berri merged 1 commit into
Conversation
Greptile SummaryThis PR corrects a UI label mismatch on the Virtual Keys page: the filter that searches by token was labeled "Key Hash" while the column it targets is labeled "Key ID". Only the visible
Confidence Score: 5/5A one-line display label change with no effect on logic, API calls, or filter behavior — safe to merge. The diff touches a single string in a filter definition array. No runtime logic, API contract, or state management is affected. The internal filter No files require special attention.
|
| Filename | Overview |
|---|---|
| ui/litellm-dashboard/src/components/VirtualKeysPage/VirtualKeysTable.tsx | Single-line display label rename — changes the user-visible label of the key-token filter from "Key Hash" to "Key ID" to match the corresponding column heading; the internal name key and all filter logic are untouched. |
Reviews (1): Last reviewed commit: "fix(ui): rename Virtual Keys 'Key Hash' ..." | Re-trigger Greptile
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Relevant issues
Linear ticket
Pre-Submission checklist
Please complete all items before asking a LiteLLM maintainer to review your PR
@greptileaito re-request a review after pushing changes)Delays in PR merge?
If you're seeing a delay in your PR being merged, ping the LiteLLM Team on Slack (#pr-review).
Screenshots / Proof of Fix
On the Virtual Keys table, the filter that searches by the key token was labeled "Key Hash", while the very column it filters is labeled "Key ID". That mismatch made the filter look like it did something different from the column. This renames the filter's display label (and its "Enter ..." placeholder) to "Key ID" so the two line up. The underlying filter state key and the
keyHashAPI param are unchanged, so behavior is identicalTo verify, go to http://localhost:4000/ui/?page=api-keys, click Filters, and confirm the last filter now reads "Key ID" instead of "Key Hash"
Type
🐛 Bug Fix
Changes
Changed the
labelfor the key-token filter inVirtualKeysTable.tsxfrom "Key Hash" to "Key ID". No logic or API changes; only the visible label and placeholder text