Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

fix(ui): allow for long model names in select filter (#2173)

Richard Krümmelda042d828482
diff --git a/.env.dev.example b/.env.dev.example
index 4ddeb63284..4f3820c96a 100644
--- a/.env.dev.example
+++ b/.env.dev.example
@@ -47,5 +47,5 @@ REDIS_PORT=6379
REDIS_AUTH="myredissecret"
LANGFUSE_WORKER_PASSWORD=mybasicauthsecret
-# openssl rand -base64 32 used only here
+# openssl rand -hex 32 used only here
ENCRYPTION_KEY=6c16874e5c0f0cc74ddec00425fa99fbe9ffbe412b7d5d906a4b00005df91403
\ No newline at end of file
diff --git a/web/src/components/ui/command.tsx b/web/src/components/ui/command.tsx
index 923b66fcff..173f9c41aa 100644
--- a/web/src/components/ui/command.tsx
+++ b/web/src/components/ui/command.tsx
@@ -42,7 +42,7 @@ const CommandInput = React.forwardRef<
React.ComponentPropsWithoutRef<typeof CommandPrimitive.Input>
>(({ className, ...props }, ref) => (
<div
- className="flex items-center rounded-lg border px-3"
+ className="flex items-center rounded-md border px-3"
cmdk-input-wrapper=""
>
<Search className="mr-2 h-4 w-4 shrink-0 opacity-50" />
diff --git a/web/src/components/ui/table.tsx b/web/src/components/ui/table.tsx
index 250b066925..323a891a20 100644
--- a/web/src/components/ui/table.tsx
+++ b/web/src/components/ui/table.tsx
@@ -74,7 +74,7 @@ const TableHead = React.forwardRef<
<th
ref={ref}
className={cn(
- "sticky top-0 z-10 border-b bg-background px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",
+ "sticky top-0 z-10 rounded-t-md border-b bg-background px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",
className,
)}
{...props}
diff --git a/web/src/features/filters/components/multi-select.tsx b/web/src/features/filters/components/multi-select.tsx
index b0cd913d03..4b99f38c06 100644
--- a/web/src/features/filters/components/multi-select.tsx
+++ b/web/src/features/filters/components/multi-select.tsx
@@ -118,9 +118,9 @@ export function MultiSelect({
>
<Check className={cn("h-4 w-4")} />
</div>
- <span>{option.value}</span>
+ <span className="overflow-x-scroll">{option.value}</span>
{option.count !== undefined ? (
- <span className="ml-auto flex h-4 w-4 items-center justify-center font-mono text-xs">
+ <span className="ml-auto flex h-4 w-4 items-center justify-center pl-1 font-mono text-xs">
{option.count}
</span>
) : null}