🪢 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: long trace names shouldn't break at icons (#7382)
Nimar083b1357a15a
diff --git a/web/src/components/trace/ObservationTree.tsx b/web/src/components/trace/ObservationTree.tsxindex bea64aa793..f334da306e 100644--- a/web/src/components/trace/ObservationTree.tsx+++ b/web/src/components/trace/ObservationTree.tsx@@ -390,17 +390,18 @@ const ObservationTreeNodeCard = ({)}ref={currentObservationRef}>- {/* Type badge */}- <ItemBadge- type={observation.type}- isSmall- className="flex-shrink-0 scale-75"- />+ {/* Type badge and name */}+ <div className="flex items-center gap-2 flex-shrink-0">+ <ItemBadge+ type={observation.type}+ isSmall+ className="flex-shrink-0 scale-75"+ />+ <span className="text-sm font-medium whitespace-nowrap">{observation.name}</span>+ </div>- {/* Name and duration */}+ {/* Duration and Comments */}<div className="flex items-center gap-2">- <span className="text-sm font-medium">{observation.name}</span>-{comments && showComments ? (<CommentCountIcon count={comments.get(observation.id)} />) : null}