Build applications that make decisions (chatbots, agents, simulations, etc...). Monitor, trace, persist, and execute on your own infrastructure.
Python aiburrchatbot-frameworkdagsgenerative-aigraphshacktoberfestllmopsllmsmlopspersistent-data-structurestate-machinestate-managementvisibility
Multiple fixes for column width
elijahbenizzy355751da57c4
diff --git a/telemetry/ui/src/components/routes/app/StepList.tsx b/telemetry/ui/src/components/routes/app/StepList.tsxindex 8403cabb..ddae49ac 100644--- a/telemetry/ui/src/components/routes/app/StepList.tsx+++ b/telemetry/ui/src/components/routes/app/StepList.tsx@@ -158,7 +158,8 @@ const CommonTableRow = (props: {});}e.stopPropagation();- }}>+ }}+ >{props.children}</TableRow>);@@ -233,7 +234,8 @@ const ActionTableRow = (props: {setCurrentHoverIndex={setCurrentHoverIndex}setCurrentSelectedIndex={setCurrentSelectedIndex}appID={props.appID}- partitionKey={props.partitionKey}>+ partitionKey={props.partitionKey}+ ><TableCell className="text-gray-500 w-12 max-w-12 min-w-12"><div className="flex flex-row items-center"><RecursionDepthPadding depth={props.depth}>@@ -251,7 +253,8 @@ const ActionTableRow = (props: {/></div><div- className={`${props.minimized ? 'w-32' : 'w-72 max-w-72'} flex flex-row justify-start gap-1 items-center`}>+ className={`${props.minimized ? 'w-32' : 'w-72 max-w-72'} flex flex-row justify-start gap-1 items-center`}+ ><Chiplabel={isStreaming ? 'stream' : 'action'}chipType={isStreaming ? 'stream' : 'action'}@@ -276,6 +279,7 @@ const ActionTableRow = (props: {</div></div></TableCell>+ {props.minimized && <TableCell colSpan={3} />}{!props.minimized && (<><TableCell className="h-[1px] px-0" colSpan={1}>@@ -500,7 +504,8 @@ const LinkSubTable = (props: {currentSelectedIndex={currentSelectedIndex}step={props.step}setCurrentHoverIndex={setCurrentHoverIndex}- setCurrentSelectedIndex={setCurrentSelectedIndex}>+ setCurrentSelectedIndex={setCurrentSelectedIndex}+ ><TableCell colSpan={1} className=""><RecursionDepthPadding depth={props.depth}><Icon className={`h-5 w-5 ${iconColor} -ml-1`} />@@ -508,7 +513,8 @@ const LinkSubTable = (props: {</TableCell><TableCellcolSpan={1}- className={`${normalText} w-48 min-w-48 max-w-48 truncate pl-9`}>+ className={`${normalText} w-48 min-w-48 max-w-48 truncate pl-9`}+ ><divclassName="z-50 truncate"onClick={(e) => {@@ -516,7 +522,8 @@ const LinkSubTable = (props: {`/project/${props.projectId}/${subApp.child.partition_key || 'null'}/${subApp.child.app_id}`);e.stopPropagation();- }}>+ }}+ ><span className="hover:underline">{subApp.child.app_id}</span></div></TableCell>@@ -547,7 +554,7 @@ const LinkSubTable = (props: {/></TableCell>)}- {/* <TableCell colSpan={1} /> */}+ <TableCell colSpan={1} /></CommonTableRow>{subApplicationIsExpanded ? (<SelfLoadingSubApplicationContainer@@ -643,9 +650,11 @@ const StepSubTableRow = (props: {currentSelectedIndex={currentSelectedIndex}step={props.step}setCurrentHoverIndex={setCurrentHoverIndex}- setCurrentSelectedIndex={setCurrentSelectedIndex}>+ setCurrentSelectedIndex={setCurrentSelectedIndex}+ ><TableCell- className={` ${lightText} w-10 min-w-10 ${props.displaySpanID ? '' : 'text-opacity-0'}`}>+ className={` ${lightText} w-10 min-w-10 ${props.displaySpanID ? '' : 'text-opacity-0'}`}+ ><RecursionDepthPadding depth={props.depth}><span>{spanIDUniqueToAction}</span></RecursionDepthPadding>@@ -654,12 +663,14 @@ const StepSubTableRow = (props: {<><TableCellonClick={onClick}- className={`${normalText} ${props.minimized ? 'w-32 min-w-32' : 'w-72 max-w-72'} flex flex-col`}>+ className={`${normalText} ${props.minimized ? 'w-32 min-w-32' : 'w-72 max-w-72'} flex flex-col`}+ ><div className="flex flex-row gap-1 items-center">{[...Array(depth).keys()].map((i) => (<Iconkey={i}- className={`${i === depth - 1 ? 'opacity-0' : 'opacity-0'} text-lg text-gray-600 w-4 flex-shrink-0`}></Icon>+ className={`${i === depth - 1 ? 'opacity-0' : 'opacity-0'} text-lg text-gray-600 w-4 flex-shrink-0`}+ ></Icon>))}<Chiplabel={@@ -715,7 +726,8 @@ const StepSubTableRow = (props: {className="flex justify-start overflow-hidden pl-20"onClick={(e) => {e.stopPropagation();- }}>+ }}+ ><RenderedFieldvalue={(props.model as AttributeModel).value}defaultExpanded={true} // no real need for default expanded@@ -723,7 +735,7 @@ const StepSubTableRow = (props: {</div>)}</TableCell>- {props.displayAnnotations && <TableCell className="" />}+ {props.displayAnnotations && <TableCell className="" colSpan={2} />}</>) : (<TableCell colSpan={5}></TableCell>@@ -1111,11 +1123,13 @@ const WaterfallPiece: React.FC<{onClick={(e) => {props.setSubActionExpanded?.(!props.isSubActionExpanded);e.stopPropagation();- }}>+ }}+ ><divclassName={`${props.isHighlighted ? 'bg-transparent' : props.bgColor} opacity-50 h-1 px-0 rounded-sm flex flex-row justify-center items-center`}onMouseEnter={() => setIsHovered(true)}- onMouseLeave={() => setIsHovered(false)}>+ onMouseLeave={() => setIsHovered(false)}+ ><SubActionIconclassName={`hover:scale-125 transform-none cursor-pointer h-4 w-4 rounded-full text-gray-700 ${props.isHighlighted ? props.bgColor : 'bg-white'}`}/>@@ -1132,7 +1146,8 @@ const WaterfallPiece: React.FC<{style={{left: `calc(${leftPositionPercentage}% - 20px)`,width: `calc(${widthPercentage}% + 40px)` // 20px buffer on each side- }}></div>+ }}+ ></div>{<div@@ -1146,7 +1161,8 @@ const WaterfallPiece: React.FC<{left: isCloseToEnd? `auto`: `calc(${leftPositionPercentage}% + ${widthPercentage}%)`- }}>+ }}+ >{hoverItem}</div>}@@ -1803,7 +1819,8 @@ const ParentLink = (props: {<TableCell colSpan={2} className="text-gray-500"><div className="flex flex-row gap-1 items-center pl-5"><Link- to={`/project/${props.projectId}/${props.parentPointer.partition_key}/${props.parentPointer.app_id}`}>+ to={`/project/${props.projectId}/${props.parentPointer.partition_key}/${props.parentPointer.app_id}`}+ ><span className="hover:underline">{props.parentPointer.app_id}</span></Link><span>@</span>