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(web-analytics): drop wrapper from overview tile in legacy layout (#59672)

Lucas Ricoybb32fb0bf41c
diff --git a/frontend/snapshots.yml b/frontend/snapshots.yml
index d7131647c01e..5bb9f1e96d44 100644
--- a/frontend/snapshots.yml
+++ b/frontend/snapshots.yml
@@ -5679,13 +5679,13 @@ snapshots:
scenes-app-surveys-surveyresponsekeysreference--webhook--light:
hash: v1.k794b7964.9b5c484a3a1bd7a09c266a1f164e3ed9eef3ffabbcd12253f0843b3f0b69a808.cc6Rai2vShlFJA_KypMbVcc1IIaVX0nTcZ29RPEEZjo
scenes-app-web-analytics--web-analytics-dashboard--dark:
- hash: v1.k794b7964.4b46c2f6fe707da2296bb53689b78800c6478ee779b197f1c311e2fea63de47c.0idZJlmr3jSbs5CaHGbFEeReoC41p1zUD0S9g6TdzdI
+ hash: v1.k794b7964.d7b833f0cf1fb73f4fd63eaaec11a0ae77460a097417c015b6c385ed8c23372b.agGsZJi_TCBCrXfhnJVChkxc5jk9bRbxw9YlStqReCc
scenes-app-web-analytics--web-analytics-dashboard--light:
- hash: v1.k794b7964.1a9d085f23feb03cee402959f38286106f3e6201e54b2da29ce257da3433965a.7K4YAMqJHpqG_Z7jmf2Gki7X9dJk7SpanYq_mEo4V14
+ hash: v1.k794b7964.d444394ec1ae74353fc3729a6158cad8e458d4c50956f130d23a51dfce28b3c5.HxbeiWtnMpqh9Oq1y6XG8OB5NSnhQa2qjfRva2I_gQc
scenes-app-web-analytics--web-analytics-dashboard-loading--dark:
- hash: v1.k794b7964.1396963ac1b7fa949a14ff560871decc5622769b2a0aea9d64e590214348836f.Kk2iDi-dCZLh6dhYUIG7BeaGFJLke_ifbsPvQupPDTg
+ hash: v1.k794b7964.78cf0a7ff2043f9e470916584b4443ab86ec54ad8bead7fb466194c1265e9f3f.-o4yUbKF5TJW3UesCfzxXHfoZ0LXnuJigE_8ofOlezw
scenes-app-web-analytics--web-analytics-dashboard-loading--light:
- hash: v1.k794b7964.133ccd88e47f023f7ed62a7d061a9bace5dbfa19b90096da72f171f966880233.cYFsJznbj_wqUBrfvtZ4ovRfUESxGDZVEtUAyEZ7EIY
+ hash: v1.k794b7964.b3fd6f833ec6af3dd64c5b7491cceefc17586b8e2e21f69c8fb87601c72eaa84.t0CmRjOihCRZx1mErh3GCu6AJhjPsYuialJjsmZRHyo
scenes-other-billing--billing--dark:
hash: v1.k794b7964.0fbd211a7ee299a4abb1afb6d3d1e0589eb349c82c59bd5997b16e434356ee18.HyWfDl8iMD41jnar9y2uxNCx2MJJ6DuHch0n18cCWBA
scenes-other-billing--billing--light:
diff --git a/frontend/src/scenes/web-analytics/tiles/WebAnalyticsTile.tsx b/frontend/src/scenes/web-analytics/tiles/WebAnalyticsTile.tsx
index 17bc72373497..35b9b2b700cb 100644
--- a/frontend/src/scenes/web-analytics/tiles/WebAnalyticsTile.tsx
+++ b/frontend/src/scenes/web-analytics/tiles/WebAnalyticsTile.tsx
@@ -1504,6 +1504,18 @@ export const WebQuery = ({
)
}
+ if (!headerSlot) {
+ return (
+ <Query
+ uniqueKey={uniqueKey}
+ attachTo={attachTo}
+ query={query}
+ readOnly={true}
+ context={{ ...webAnalyticsDataTableQueryContext, insightProps }}
+ />
+ )
+ }
+
return (
<div className="border rounded bg-surface-primary flex-1 flex flex-col">
{headerSlot}