: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.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(error-tracking): stop sticky filter bar covering source maps banner bottom (#76717)
Aleksander Błaszkiewicz72e813ffa3bf
diff --git a/frontend/src/lib/constants.tsx b/frontend/src/lib/constants.tsxindex d501f4d35252..5c4ecbfffbe5 100644--- a/frontend/src/lib/constants.tsx+++ b/frontend/src/lib/constants.tsx@@ -306,7 +306,6 @@ export const FEATURE_FLAGS = {ERROR_TRACKING_RATE_LIMITING_PER_ISSUE: 'error-tracking-rate-limiting-per-issue', // owner: @ablaszkiewicz #team-error-trackingERROR_TRACKING_RECOMMENDATIONS: 'error-tracking-recommendations', // owner: @ablaszkiewicz #team-error-trackingERROR_TRACKING_RELATED_ISSUES: 'error-tracking-related-issues', // owner: #team-error-tracking- ERROR_TRACKING_SOURCE_MAPS_BANNER: 'error-tracking-source-maps-banner', // owner: @ablaszkiewicz #team-error-trackingERROR_TRACKING_WEEKLY_DIGEST: 'error-tracking-weekly-digest', // owner: #team-error-trackingEVENT_MEDIA_PREVIEWS: 'event-media-previews', // owner: @alexliderEXPERIMENT_CLEANUP_E2E_DUMMY: 'experiment-cleanup-e2e-dummy', // owner: @jurajmajerik #team-experiments multivariate=control,test, throwaway dogfood flag validating the flag-cleanup PR flow end to enddiff --git a/products/error_tracking/frontend/scenes/ErrorTrackingScene/ErrorTrackingScene.tsx b/products/error_tracking/frontend/scenes/ErrorTrackingScene/ErrorTrackingScene.tsxindex 5c2b47fc52fa..a5d3a22900bc 100644--- a/products/error_tracking/frontend/scenes/ErrorTrackingScene/ErrorTrackingScene.tsx+++ b/products/error_tracking/frontend/scenes/ErrorTrackingScene/ErrorTrackingScene.tsx@@ -53,7 +53,6 @@ export function ErrorTrackingScene(): JSX.Element {const { activeTab } = useValues(errorTrackingSceneLogic)const { setActiveTab } = useActions(errorTrackingSceneLogic)const hasRecommendations = useFeatureFlag('ERROR_TRACKING_RECOMMENDATIONS')- const hasSourceMapsBanner = useFeatureFlag('ERROR_TRACKING_SOURCE_MAPS_BANNER')// Same gate as the settings section: configuration endpoints require error tracking viewer access.const configurationAccessDeniedReason = getAccessControlDisabledReason(AccessControlResourceType.ErrorTracking,@@ -84,7 +83,7 @@ export function ErrorTrackingScene(): JSX.Element {<ErrorTrackingSetupPrompt><ErrorTrackingIssueFilteringTool />{hasSentExceptionEventLoading || hasSentExceptionEvent ? null : <IngestionStatusCheck />}- {hasSourceMapsBanner ? <SourceMapsBanner /> : null}+ <SourceMapsBanner /><IssuesList /></ErrorTrackingSetupPrompt>),diff --git a/products/error_tracking/frontend/scenes/ErrorTrackingScene/tabs/issues/SourceMapsBanner.tsx b/products/error_tracking/frontend/scenes/ErrorTrackingScene/tabs/issues/SourceMapsBanner.tsxindex c4ef1e5b8dcf..daad9a5a6ae4 100644--- a/products/error_tracking/frontend/scenes/ErrorTrackingScene/tabs/issues/SourceMapsBanner.tsx+++ b/products/error_tracking/frontend/scenes/ErrorTrackingScene/tabs/issues/SourceMapsBanner.tsx@@ -48,7 +48,9 @@ function SourceMapsBannerContent({ percent, lookbackHours }: { percent: number;return (<>- <div className="mb-2">+ {/* Use mb-6 (not mb-2) because IssuesList's SceneStickyBar uses -mt-4 to pull up under the tab bar.+ The extra bottom margin prevents the sticky bar from overlapping the card's bottom edge. */}+ <div className="mb-6"><div className="rounded-lg border border-border bg-bg-light pl-3 pr-4 py-3 mt-2"><div className="flex items-center gap-4">{/* The hog is absolutely positioned so it doesn't drive the card height —