Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(tracing): match the facet rail toggle to the logs display bar (#70748)

Jon McCallum71c32c473a7a
diff --git a/products/tracing/frontend/TracingDisplayBar.tsx b/products/tracing/frontend/TracingDisplayBar.tsx
index a9f44cdc0cb2..f1cbc47ab891 100644
--- a/products/tracing/frontend/TracingDisplayBar.tsx
+++ b/products/tracing/frontend/TracingDisplayBar.tsx
@@ -39,13 +39,13 @@ export function TracingDisplayBar(): JSX.Element {
{facetRailEnabled && (
<LemonButton
size="small"
- type="secondary"
icon={facetRailCollapsed ? <IconChevronRight /> : <IconChevronLeft />}
onClick={() => setFacetRailCollapsed(!facetRailCollapsed)}
- aria-label={facetRailCollapsed ? 'Show facets' : 'Hide facets'}
- tooltip={facetRailCollapsed ? 'Show facets' : 'Hide facets'}
+ aria-label={facetRailCollapsed ? 'Show filters' : 'Hide filters'}
data-attr="tracing-facet-rail-toggle"
- />
+ >
+ {facetRailCollapsed ? 'Show filters' : 'Hide filters'}
+ </LemonButton>
)}
{operationsViewEnabled && (
<LemonSegmentedButton<'traces' | 'operations'>