diff --git a/ui/litellm-dashboard/src/components/shared/table_cells/UserPopoverCell.tsx b/ui/litellm-dashboard/src/components/shared/table_cells/UserPopoverCell.tsx
index 223d66d7421..eb786e45541 100644
--- a/ui/litellm-dashboard/src/components/shared/table_cells/UserPopoverCell.tsx
+++ b/ui/litellm-dashboard/src/components/shared/table_cells/UserPopoverCell.tsx
@@ -31,7 +31,7 @@ export function UserPopoverCell({ userAlias, userEmail, userId, width }: UserPop
{label}
{value ? (
-
+
) : (
-
)}
diff --git a/ui/litellm-dashboard/src/components/shared/table_cells/id_cell.test.tsx b/ui/litellm-dashboard/src/components/shared/table_cells/id_cell.test.tsx
index 395c1815dd0..c715210fdde 100644
--- a/ui/litellm-dashboard/src/components/shared/table_cells/id_cell.test.tsx
+++ b/ui/litellm-dashboard/src/components/shared/table_cells/id_cell.test.tsx
@@ -71,6 +71,14 @@ describe("IdCell", () => {
expect(rowClick).not.toHaveBeenCalled();
});
+ it("names the copy button after the field it copies", async () => {
+ const user = userEvent.setup();
+ render();
+ expect(screen.queryByRole("button", { name: "Copy ID" })).not.toBeInTheDocument();
+ await user.click(screen.getByRole("button", { name: "Copy User Email" }));
+ expect(copyToClipboardMock).toHaveBeenCalledWith("alice@example.com");
+ });
+
it("passes dataTestId through to the id element", () => {
render();
expect(screen.getByTestId("key-id-cell")).toHaveTextContent("k-1");
diff --git a/ui/litellm-dashboard/src/components/shared/table_cells/id_cell.tsx b/ui/litellm-dashboard/src/components/shared/table_cells/id_cell.tsx
index 1b109a86106..33c7f835e64 100644
--- a/ui/litellm-dashboard/src/components/shared/table_cells/id_cell.tsx
+++ b/ui/litellm-dashboard/src/components/shared/table_cells/id_cell.tsx
@@ -15,6 +15,7 @@ interface IdCellProps {
variant?: IdCellVariant;
onClick?: (value: string) => void;
copyable?: boolean;
+ copyLabel?: string;
truncate?: boolean;
fallback?: string;
tooltip?: React.ReactNode;
@@ -39,6 +40,7 @@ export function IdCell({
variant = "pill",
onClick,
copyable = false,
+ copyLabel = "Copy ID",
truncate = true,
fallback = "-",
tooltip,
@@ -80,7 +82,7 @@ export function IdCell({
{withTooltip}