: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
chore(data-warehouse): release SQL insight version history to all users (#74589)
Anna Szellf3339f40409b
diff --git a/frontend/src/lib/constants.tsx b/frontend/src/lib/constants.tsxindex 79f7fd05d680..ed7390c6ef33 100644--- a/frontend/src/lib/constants.tsx+++ b/frontend/src/lib/constants.tsx@@ -480,7 +480,6 @@ export const FEATURE_FLAGS = {SHOW_REPLAY_FILTERS_FEEDBACK_BUTTON: 'show-replay-filters-feedback-button', // owner: @ksvat #team-replaySIGNUP_AA_TEST_4_WAY: 'signup-aa-test-4-way', // owner: @andehen #team-experiments multivariate=control,test-1,test-2,test-3SLACK_DWH: 'slack-dwh', // owner: @MarconLP #team-warehouse-sources- SQL_EDITOR_QUERY_HISTORY: 'sql-editor-query-history', // owner: @annaszell #team-data-toolsSQL_EDITOR_VIM_MODE: 'sql-editor-vim-mode', // owner: @arthurdedeusSSE_DASHBOARDS: 'sse-dashboards', // owner: @aspicer #team-analytics-platformSTREAMLIT_APPS: 'streamlit-apps', // owner: @sakcediff --git a/frontend/src/scenes/data-warehouse/editor/SQLEditor.tsx b/frontend/src/scenes/data-warehouse/editor/SQLEditor.tsxindex a3d5326d9100..81af481f3edc 100644--- a/frontend/src/scenes/data-warehouse/editor/SQLEditor.tsx+++ b/frontend/src/scenes/data-warehouse/editor/SQLEditor.tsx@@ -639,17 +639,15 @@ function SQLEditorSceneTitle(): JSX.Element | null {</>) : editingInsight ? (<>- {featureFlags[FEATURE_FLAGS.SQL_EDITOR_QUERY_HISTORY] && (- <LemonButton- onClick={() => openHistoryModal()}- icon={<IconBook />}- type="secondary"- size="small"- data-attr="sql-editor-insight-history-button"- >- History- </LemonButton>- )}+ <LemonButton+ onClick={() => openHistoryModal()}+ icon={<IconBook />}+ type="secondary"+ size="small"+ data-attr="sql-editor-insight-history-button"+ >+ History+ </LemonButton><LemonButtondisabledReason={!isSourceQueryLastRun