@@ -20,23 +20,11 @@ export const Row = observer(
2020 >
2121 { /* Expand/Collapse Icon */ }
2222 < td className = "px-3 py-3 w-8" >
23- { isExpanded ? (
23+ < div className = "w-4 h-4 flex items-center justify-center" >
2424 < svg
25- className = "h-4 w-4 text-gray-500"
26- fill = "none"
27- stroke = "currentColor"
28- viewBox = "0 0 24 24"
29- >
30- < path
31- strokeLinecap = "round"
32- strokeLinejoin = "round"
33- strokeWidth = { 2 }
34- d = "M19 9l-7 7-7-7"
35- />
36- </ svg >
37- ) : (
38- < svg
39- className = "h-4 w-4 text-gray-500"
25+ className = { `h-4 w-4 text-gray-500 transition-transform duration-200 ${
26+ isExpanded ? "rotate-90" : ""
27+ } `}
4028 fill = "none"
4129 stroke = "currentColor"
4230 viewBox = "0 0 24 24"
@@ -48,39 +36,41 @@ export const Row = observer(
4836 d = "M9 5l7 7-7 7"
4937 />
5038 </ svg >
51- ) }
39+ </ div >
5240 </ td >
5341
5442 { /* Name */ }
5543 < td className = "px-3 py-3 text-xs" >
56- < span className = "text-gray-900" >
44+ < span className = "text-gray-900 truncate block " >
5745 { row . eval_metadata ?. name || "N/A" }
5846 </ span >
5947 </ td >
6048
6149 { /* Status */ }
6250 < td className = "px-3 py-3 text-xs" >
63- < StatusIndicator status = { row . eval_metadata ?. status || "N/A" } />
51+ < div className = "whitespace-nowrap" >
52+ < StatusIndicator status = { row . eval_metadata ?. status || "N/A" } />
53+ </ div >
6454 </ td >
6555
6656 { /* Row ID */ }
6757 < td className = "px-3 py-3 text-xs" >
68- < span className = "font-mono text-gray-900" >
58+ < span className = "font-mono text-gray-900 whitespace-nowrap " >
6959 { row . input_metadata . row_id }
7060 </ span >
7161 </ td >
7262
7363 { /* Model */ }
7464 < td className = "px-3 py-3 text-xs" >
75- < span className = "text-gray-900" >
65+ < span className = "text-gray-900 truncate block " >
7666 { row . input_metadata . completion_params ?. model || "N/A" }
7767 </ span >
7868 </ td >
7969
8070 { /* Score */ }
8171 < td className = "px-3 py-3 text-xs" >
8272 < span
83- className = { `font-mono ${
73+ className = { `font-mono whitespace-nowrap ${
8474 row . evaluation_result ?. score
8575 ? row . evaluation_result . score >= 0.8
8676 ? "text-green-700"
@@ -96,7 +86,7 @@ export const Row = observer(
9686
9787 { /* Created */ }
9888 < td className = "px-3 py-3 text-xs" >
99- < span className = "text-gray-600" >
89+ < span className = "text-gray-600 whitespace-nowrap " >
10090 { row . created_at instanceof Date
10191 ? row . created_at . toLocaleDateString ( ) +
10292 " " +
@@ -113,12 +103,14 @@ export const Row = observer(
113103 < tr >
114104 < td colSpan = { 8 } className = "p-0" >
115105 < div className = "p-4 bg-gray-50 border-t border-gray-200" >
116- < div className = "flex gap-6 " >
106+ < div className = "flex gap-3 w-fit " >
117107 { /* Left Column - Chat Interface */ }
118- < ChatInterface messages = { row . messages } />
108+ < div className = "min-w-0" >
109+ < ChatInterface messages = { row . messages } />
110+ </ div >
119111
120112 { /* Right Column - Metadata */ }
121- < div className = "flex-1 space-y-3 min-w-0 " >
113+ < div className = "w-[500px] flex-shrink-0 space-y-3" >
122114 { /* Eval Metadata */ }
123115 < MetadataSection
124116 title = "Eval Metadata"
0 commit comments