🪢 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(trace-table): Only disable URL persistence for `ScoresTable` in peek mode (#12963)
Ben Bachem1bf83313e302
diff --git a/web/src/components/trace2/components/ObservationDetailView/ObservationDetailView.tsx b/web/src/components/trace2/components/ObservationDetailView/ObservationDetailView.tsxindex 43c4089d3e..4a824e0ef9 100644--- a/web/src/components/trace2/components/ObservationDetailView/ObservationDetailView.tsx+++ b/web/src/components/trace2/components/ObservationDetailView/ObservationDetailView.tsx@@ -129,6 +129,7 @@ export function ObservationDetailView({setJsonViewPreference,jsonBetaEnabled,setJsonBetaEnabled,+ isPeekMode,} = useViewPreferences();// Map jsonViewPreference to currentView format expected by child components@@ -480,7 +481,7 @@ export function ObservationDetailView({"userId",]}localStorageSuffix="ObservationPreview"- disableUrlPersistence+ disableUrlPersistence={isPeekMode}/></div></TabsBarContent>diff --git a/web/src/components/trace2/components/TraceDetailView/TraceDetailView.tsx b/web/src/components/trace2/components/TraceDetailView/TraceDetailView.tsxindex 59f1d85a4f..8b60b89959 100644--- a/web/src/components/trace2/components/TraceDetailView/TraceDetailView.tsx+++ b/web/src/components/trace2/components/TraceDetailView/TraceDetailView.tsx@@ -93,6 +93,7 @@ export function TraceDetailView({setJsonViewPreference,jsonBetaEnabled,setJsonBetaEnabled,+ isPeekMode,} = useViewPreferences();// Map jsonViewPreference to currentView format expected by child components@@ -421,7 +422,7 @@ export function TraceDetailView({traceId={trace.id}hiddenColumns={["traceName", "jobConfigurationId", "userId"]}localStorageSuffix="TracePreview"- disableUrlPersistence+ disableUrlPersistence={isPeekMode}/></div></TabsBarContent>