🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
fix(evals): trace table should be full width (#10386)
Nimar8247a15fabda
diff --git a/web/src/components/table/resizable-filter-layout.tsx b/web/src/components/table/resizable-filter-layout.tsxindex c160c27d73..5a95cf388f 100644--- a/web/src/components/table/resizable-filter-layout.tsx+++ b/web/src/components/table/resizable-filter-layout.tsx@@ -24,8 +24,13 @@ export function ResizableFilterLayout({ children }: PropsWithChildren) {// Extract filter sidebar and table content from childrenconst childrenArray = Children.toArray(children).filter(Boolean);- const filterSidebar = childrenArray[0];- const tableContent = childrenArray.slice(1);++ // If there's only one child, it's the table content (no filter sidebar)+ const hasFilterSidebar = childrenArray.length > 1;+ const filterSidebar = hasFilterSidebar ? childrenArray[0] : null;+ const tableContent = hasFilterSidebar+ ? childrenArray.slice(1)+ : childrenArray;const filterDefault = 15;const tableDefault = 85;diff --git a/web/src/features/evals/components/inner-evaluator-form.tsx b/web/src/features/evals/components/inner-evaluator-form.tsxindex 236a6ce209..2d494e8746 100644--- a/web/src/features/evals/components/inner-evaluator-form.tsx+++ b/web/src/features/evals/components/inner-evaluator-form.tsx@@ -116,7 +116,7 @@ const TracesPreview = memo(Sample over the last 24 hours that match these filters</FormDescription></div>- <div className="mb-4 flex max-h-[30dvh] flex-col overflow-hidden border-b border-l border-r">+ <div className="mb-4 flex max-h-[30dvh] w-full flex-col overflow-hidden border-b border-l border-r"><Suspense fallback={<Skeleton className="h-[30dvh] w-full" />}><TracesTableprojectId={projectId}