The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix(ui): add tooltip to the Active key status badge (#34109)
ryan-crabbe-berri01d624e860a9
diff --git a/ui/litellm-dashboard/src/components/VirtualKeysPage/VirtualKeysTable.test.tsx b/ui/litellm-dashboard/src/components/VirtualKeysPage/VirtualKeysTable.test.tsxindex 513054aae7a..420a1213a8d 100644--- a/ui/litellm-dashboard/src/components/VirtualKeysPage/VirtualKeysTable.test.tsx+++ b/ui/litellm-dashboard/src/components/VirtualKeysPage/VirtualKeysTable.test.tsx@@ -498,8 +498,13 @@ describe("Status column reflects blocked / expiry / scim metadata", () => {renderWithProviders(<VirtualKeysTable />);+ const tag = await screen.findByTestId(`key-status-${mockKey.token_id}`);+ expect(tag).toHaveTextContent("Active");++ const user = userEvent.setup();+ await user.hover(tag);await waitFor(() => {- expect(screen.getByTestId(`key-status-${mockKey.token_id}`)).toHaveTextContent("Active");+ expect(screen.getByText(/not blocked and has not expired/i)).toBeInTheDocument();});});diff --git a/ui/litellm-dashboard/src/components/VirtualKeysPage/keyTableColumns.tsx b/ui/litellm-dashboard/src/components/VirtualKeysPage/keyTableColumns.tsxindex 133ff89a898..901e878ee5f 100644--- a/ui/litellm-dashboard/src/components/VirtualKeysPage/keyTableColumns.tsx+++ b/ui/litellm-dashboard/src/components/VirtualKeysPage/keyTableColumns.tsx@@ -46,7 +46,11 @@ const getKeyStatus = (key: KeyResponse): KeyStatus => {if (!Number.isNaN(expiresAt) && expiresAt < Date.now()) {return { tone: "warning", label: "Expired", tooltip: "This key has passed its expiry date." };}- return { tone: "success", label: "Active" };+ return {+ tone: "success",+ label: "Active",+ tooltip: "This key is not blocked and has not expired.",+ };};const UserPopoverCell = ({