: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(funnels): describe hovered period in compare drop-off tooltip (#68147)
Thomas Obermüller8b599df70045
diff --git a/frontend/snapshots.yml b/frontend/snapshots.ymlindex 80f3304d22c2..4666b8731f1b 100644--- a/frontend/snapshots.yml+++ b/frontend/snapshots.yml@@ -573,9 +573,9 @@ snapshots:components-hogcharts-barchart--stacked-mixed-sign--light:hash: v1.k794b7964.783a592ef93ea6815d668de2dc46f2f71e097e82fa87ccdb165077aba6f22f05.WgfCLRIkyAwBSBTX4ArM43aSMGra4LVSvng-EgVJ8JEcomponents-hogcharts-barchart--stacked-with-track-ceiling--dark:- hash: v1.k794b7964.1ea8d87a1726a9a532850eb97fe6d93137d5dbb1aa960392741c9242778248b7.b88PGR3XtCLRXIoJ6hnH5yS7esXRS5Q2Ej3S6W7PO5g+ hash: v1.k794b7964.4d6af1cf2f9f40c43c1aa42f1db3e8b6b491fbd03822a1e212a174929bcff44c.9jelO9EuZPIYnl_KcqLSNzvsL2QWZyEkxTa9BkgrXwUcomponents-hogcharts-barchart--stacked-with-track-ceiling--light:- hash: v1.k794b7964.0d490f49e93f7af73d125716612fe4cb232d5476b6d8f29bd967dbe38fe5071c.ZPyhSX_pPV9Rg8G1VgMII5VYCH7ewyRl6ks4C0AGElg+ hash: v1.k794b7964.19d5cb131384840fa5bfcf44ca71355898806b5c925ed7c1d170e4eb45c22903.B1XnP82iqYswdSGz6pzKkAZPSkHrxHyUSSn-0ZKOP9scomponents-hogcharts-barchart--with-bar-track--dark:hash: v1.k794b7964.de5256f47ec3704df2dd127bfec33e5ab78996934790bbb5ec1cd6c4ff7f8e2c.i8guKOl7HSHy8hCyJOzQt80iM2xHCnvCPLXVedHAo9scomponents-hogcharts-barchart--with-bar-track--light:@@ -837,7 +837,7 @@ snapshots:components-hogcharts-piechart--with-breakdown-labels--light:hash: v1.k794b7964.bf784228da762a8863cac34da1233ba75792c32d7e11d42cbea859ebd1480367.RWfmnGln-i1Gxp-y0amq8goeKI5sEQxvWr0R10YyJHQcomponents-hogcharts-referenceline--fill-sides--dark:- hash: v1.k794b7964.41d688d69cc669299398feee2e4f7986720e7d4aca69b3f6fa8c8e393b8b0c52.ykaqMNcqN3CyZHWIl_dxBhROh0rhUQ2tS2raPG1SgIs+ hash: v1.k794b7964.acab36e04b2a92190ca4add4f71d9e99abcbac5f7a0dd296fabeb6e762e377fc.jQyBm-m9DF4DfHq2RGkaoyHq0v1J5Q_46M7kIcWv6Lgcomponents-hogcharts-referenceline--fill-sides--light:hash: v1.k794b7964.cba4b7516c16ba631def6da38855cfa32905188b9e12f6f99966b6463b833112.PSZlkJ8OoVhL9Oo58AA2c2MFk4R5gpJ9OC6q0bgo1LMcomponents-hogcharts-referenceline--horizontal-goal--dark:@@ -1381,9 +1381,9 @@ snapshots:components-playerinspector--default--light:hash: v1.k794b7964.5f6b124544434943c3e216078a8dc5d116b18b12ffd5006cfb83b4fe69577f9a.e5100-mHzZ2l-oUiNJVjY2Bf6_qgcCgPoJEBuw4vKUIcomponents-playerinspector--with-logs-filter--dark:- hash: v1.k794b7964.81638d612b02f4198ac27f6c2ee030fbb1f7f63fa6f61d418363a4c977ae5e96.e_NxV6eZxgRi7UyolNkoX79EWtWWfN6WNRY_C-HdTxQ+ hash: v1.k794b7964.4a27837802248b94d5c146c18b6962bfc713ce40ec3da10a23d4fc89639cf794.PRcX4NksDqdhgKXU-BTlmrZ4mkRVcQIAlLsj5nbUq9Icomponents-playerinspector--with-logs-filter--light:- hash: v1.k794b7964.65c73551ca898228e94266e312726fa49633b5c23258bdae7d11304e08c9101e.soqrtGoaYmCKjlLNAK8T7n5cjJhcrj0XzAq0w7g_bok+ hash: v1.k794b7964.92f552147017e8b361ea4c2eff62c087ce37fedfc44d40945ba40dbf12e01f08.KBu7dt9Qb1dmTqIGmFIKmCjktRGu8gAFQa0YzD86djAcomponents-playerinspector--with-logs-filter-upsell--dark:hash: v1.k794b7964.5e4afe863e34df7278c0dd092946adfd396ee778f0cd0a41e5e3f5e1771a9601.SBOdVp0jJnn1w2H4fMR-3Vf2ac00QSBFQjsl93AbcYAcomponents-playerinspector--with-logs-filter-upsell--light:@@ -4411,27 +4411,27 @@ snapshots:products-posthog-ai-runalertactivity--connection-lost--dark:hash: v1.k794b7964.410f559d98dc233ee8047dd8cfd5ce5f16bf47298ac0f3ea7c38e21913f3e79e._jbCcWpMORUlIHh_Te_m_hWib0TJ1zlg4bw-cm35FTIproducts-posthog-ai-runalertactivity--connection-lost--light:- hash: v1.k794b7964.2112a18454f05a8ad2283cf4784f8bfb308c08e971a8c1ba7d1c9f09295b4ecf.DgVdEj2TYus9n65ozaoy2nm_4L6vJx38hJPE3pxq45g+ hash: v1.k794b7964.6a54547f7784b2a6ddcdde131600ed37ee2abdb56180e9cff603e8a7a3e395bf.cUg8KJHc-L7D6KFrCng16YTN5A0-WRMfw75cElwkroIproducts-posthog-ai-virtualizedthread--bounded-embed--dark:- hash: v1.k794b7964.3654eccce875b2647d60ed3d63ef7b931f816bf9a909e882e4124af248bc5237.d_GnZyfxRooS8JpR9PWZPy8voXShxV1MhN_f-y-9sSU+ hash: v1.k794b7964.252ed79bcc1090bd563f70c1cc024708ee80db603cd9befef05589e36b3b91fe.twGDMp1FHmr8OyTgi-2ks6hFRxl0KlA6WzNw8YRYhFIproducts-posthog-ai-virtualizedthread--bounded-embed--light:- hash: v1.k794b7964.69656756a67c0a767697dad493cd8723d1b0b02d6139daa7ccf239e13bbf4b18.Gn-HL-umfDc_UzayRriBJHxgfmh68ZKco5cZHJM8-QQ+ hash: v1.k794b7964.30523b5a63c7ee42612284ad9988d196bdb35b8aa8f72bc84ba4a2d769cd3e95.C0jbc0L-8Sh5BgNejRYXCKBPBuHSYt-cxXGVHER0k98products-posthog-ai-virtualizedthread--empty--dark:hash: v1.k794b7964.3c6bd1817f79c0b71b0a35d9b4ad0cb849e535848cfdde260a247512e8809867.LFzd0rlATuBsPxh2yr6hSn3azdZnap1SJakTPsIXrxAproducts-posthog-ai-virtualizedthread--empty--light:hash: v1.k794b7964.cba8d5296d97792661212d90a466f4342e6d294f599f9d88c5e8c7fc5fc50276.sEJXRBTpONyFemcwSFRthEN4jGic_598f_-rBcUihdUproducts-posthog-ai-virtualizedthread--flow-mode--dark:- hash: v1.k794b7964.8ae00f228b650921e150c11dfea6b12dd4bdafdc79fb8719f23e40e4bff5f1b4.nhovHqVlxH4rM2NTbOhJwXIpyim_y4VujH4ULUu8J9c+ hash: v1.k794b7964.738b2ca8c99af83445eac22f297cab287765e3ab43cfd74bfcc59eabdd91a176.ncGc4hkDTJsjvRUDykctMrJhAf2A3ZfwNXxuJM4Wxikproducts-posthog-ai-virtualizedthread--flow-mode--light:- hash: v1.k794b7964.a474c06ab48650a728e98b457fcde2507028d41662b6aa4a76306c7313ccc40f.0FJqdKxwms0G3OSIp39fsQXJqh2Pvw3mKHebXnQD7wI+ hash: v1.k794b7964.286ad5494ca46f6f2e8fd3b3b1f43eeddbfefb44681c2b8f3efdea6e468f87bb.g8h3k0R2qo_ZV9nQu4xPH1F83vXjGuZ6RqsY_j1tNfwproducts-posthog-ai-virtualizedthread--header-footer-only--dark:hash: v1.k794b7964.f871490a90f21e7396cf85ca29406ee82b2057eeddc81beb76c45fa1f0b38fec.x2WRDzfjAny2ZHFUSDjdIqxV2ZUVw6nv6LoYAVy3Tekproducts-posthog-ai-virtualizedthread--header-footer-only--light:hash: v1.k794b7964.c40751f22ab1f0d2fd0911d01da3dd63993a6ce1c12e5a6ef15a578df56cf38c.i86QjfqJZAIuAAVNayl7ebKkRCugCy3GUmCq1FbtGTgproducts-posthog-ai-virtualizedthread--long-thread--dark:- hash: v1.k794b7964.db52fa12fc166be411a4be0f4e5a1a0fc9ae83956506095f543208a7a64b5619.QnzV9aSYTYrYtYHqAw55a9D2fhoZo_IvxEYSe2KsXac+ hash: v1.k794b7964.ab407d100e82b2804ac63958c38fc48af75120b67e9158c9b280487b2245687e.kZn1-gur30DNFrP7TDua5UGXGu6HziGnAVPc9Zz3wMUproducts-posthog-ai-virtualizedthread--long-thread--light:- hash: v1.k794b7964.0dd9ece6534a30639fe65f18a2aa5830d7ec6b792266dc56c54c86d35a26c21c.SFLgQDaDq9Rs9b86vgkC2een50HyFXWctj7Pksmf8Is+ hash: v1.k794b7964.ea4454f7d7d4dc076ff61362f178cfa010fda1c721696790f03057e864699826.drgUhmxnD0Dt_wm7kKiSeLzeU3WrrNcDJPwFY_rxnecproducts-workflows-customerioimportmodal--all-steps-completed--dark:hash: v1.k794b7964.da9d1ebf1836700267307224631511bd8fe3b9fb0906654a383e545e1c6f98f1.lPijIVizKAMxsGEVt28x0Y5izfhcfnbjbPhoHzriWFgproducts-workflows-customerioimportmodal--all-steps-completed--light:@@ -4897,13 +4897,13 @@ snapshots:scenes-app-batchexports--runs-with-data--light:hash: v1.k794b7964.4c1646577dc53efffd814b1a2e723f9da6b10d3641e979f48c5d0447859e2348.fkHuUw1l_9c3rJKSi467jx-6Nv81nNp-PjeRmsgU7l0scenes-app-customer-analytics-accounts--default--dark:- hash: v1.k794b7964.6cd8b44854e9b3fba45cbd64a6511d7eabe97c7f2ccf2bbeb5b2e059a9d501a1.DxoOOyw70dy9WuQmmcDhLd6fdgDHbyZkcmA9j79-YIc+ hash: v1.k794b7964.c208ae9e334d2f3dc220f35ceb269b124a054acef5e342fdbc583e026f05d52f.vE6mY_JxSO2tMmTZ8TbCRnXZW8qRN8fNdsmT0zXP5VUscenes-app-customer-analytics-accounts--default--light:- hash: v1.k794b7964.313667b895fb13da06fd151024b127ae7afdb0877d5111acc88ced9c1c90a543.WFeCmyRCSveUnxCMhGk_q6VHRSMEODj35wJpjfA7Io0+ hash: v1.k794b7964.3d2515571d6b369099cb87266a3f6c619806ebcef93c26000282a1a0b8cfe979.O2c6Y2Ba6CnAChnAc3dbccjAPzPa74dRTqzmF1H76aEscenes-app-customer-analytics-accounts--empty--dark:- hash: v1.k794b7964.92297962d237959293e4c1289c1e5742fe5e8313ea12f7e00df1b81ffeb0c200.cNCidY7BOaKo38JMRDzslfVq-ykcaOu8omdtuxoxRN0+ hash: v1.k794b7964.892b7da6722a32bd8383152a945e4bbc30eefebf1b9daa79d615e55a969e1a52._oCcXCKvTuiGNNd4h0WZ2YoMvWXtHmgHCxHmljYucH0scenes-app-customer-analytics-accounts--empty--light:- hash: v1.k794b7964.6a953fbd445c3d41543568a4b7345613381d6b5add4c6278c2bd08a5c9e5a84d.IzJDAUfGm_rEBbrP8RuKk50qAV3lJfcHEYSp9rURN8Y+ hash: v1.k794b7964.fc9180344a16b4c4831f1c377d8f603b5df857f6f9822bb3075e95d8290659a4.eZFjKAI4DZ4GhnNMihMFzc7-Eu_7X5Pf-rBe1j1cP5Mscenes-app-customer-analytics-accounts--feature-gate-off--dark:hash: v1.k794b7964.4b8d5226ee154debdf333ff93d65a90ca766bcb25951e1baf36affb8b84b548d.dWZSHssPc83RkHVE-JPJA562bJR7MUim2yfqhjfNE50scenes-app-customer-analytics-accounts--feature-gate-off--light:@@ -4913,9 +4913,9 @@ snapshots:scenes-app-customer-analytics-accounts--row-expanded-empty--light:hash: v1.k794b7964.904bd5b939f99d43408ae3a8a814a3c299bd57bf13a0fd1d98ff6033fd66e343.K1Z16ICEF6-O9kIej8kGnYyarloq2oZH5rdtmx-8Hu0scenes-app-customer-analytics-accounts--row-expanded-links-disabled--dark:- hash: v1.k794b7964.e9ae25bbbbde36eb5f7f095726b21bf3f076ec89fab67df5e6671e8ba4b32351.RrF7jJW9IjD2dhcPxtZ4XrNhjC9mwnyd7uVAz3Adchw+ hash: v1.k794b7964.eb82c630f551bcf603b6ae6993e3bba7b40c2a8e44751b2eb4268b3ec933daa7.Wi33tmhx6YssHXKkt7xHdmg2Meu_RF6kIvTw3b1yqxUscenes-app-customer-analytics-accounts--row-expanded-links-disabled--light:- hash: v1.k794b7964.3df17af670a653895eb47235466a6e2659ae6d7171800a5182d4bf12228c0e8c.Ap8UzCxHbKLhxpCtW6H1ofhfBOWuzoF9OKTC6mYMvsk+ hash: v1.k794b7964.73635ec0fe5ba7adcee656e61aa707fa86f31d999c779fe8a3a49ad728cc7888.29U_MqSrw4nraIw62cWdUY2EORZiGiBpCR1Vlx3i7F4scenes-app-customer-analytics-accounts--row-expanded-usage-not-found--dark:hash: v1.k794b7964.137c8d62bee6083229b1fd200b955e223176e6776f93fb208ce0a03199b1459f.apnOkM3HfEz6yzXcm0itK4pM0uWHX4IQrxQWyUUt4_Qscenes-app-customer-analytics-accounts--row-expanded-usage-not-found--light:@@ -5681,17 +5681,17 @@ snapshots:scenes-app-inbox-pullrequestdiffview--truncated--light:hash: v1.k794b7964.c8211a05cd4404a003460d2c4abe79fb078edd5c7801422dbb3a5c55cc50f6a1.R85Q2EEe3EteBgaslGBlB4Vp7AdPgMstb0whb50OXycscenes-app-inbox-scene--empty--dark:- hash: v1.k794b7964.4062dc535c6b287e7d179fc08f590cf44364851444688a16fde9cefdfe1a59fe.73H03n9uiyzATpE90PPhAJSCjMQdJycqfyb33SsM2Qw+ hash: v1.k794b7964.e04bdcbb575a980b96b6a867887812c540dee0f3e7cbaedcc518e56446c4569d.4qhmlXOjxjxbBOxC6_wPnGOnoyea0I9wvEIvNqSlxdcscenes-app-inbox-scene--empty--light:- hash: v1.k794b7964.4dc18c81fce4d272a7fe528ce6dcf968226d28c3cba5c339427f3cae2fbff59b.ZuSWlL9bKliCCWwLoAFBZ8V4UJeJhORJHVc1hdNeZN4+ hash: v1.k794b7964.b605ab6f2e557c692a05e9312a7394adb26f6fcdf981f77f991de89fb0ffca6c.gskUCxdPX4W5AaL-Qr9TBiq4Ll0zle4EPV71DzW3-40scenes-app-inbox-scene--inbox--dark:- hash: v1.k794b7964.74459b08895d8a687feb4700d1c83a3bee0bb1cd528b4b9282545d9575337b8c.CYkZaSQL4SLdAMhWdvLlMR4F50otejWUlRpcMRsqrwc+ hash: v1.k794b7964.7ade0c95519de555691da00b03aaa9aeea1ba0c32762354222d23676099ea0da.OmzLebXW_1EJ-lRFDeh7flQ6cl3OqskJfVarjDu4FQcscenes-app-inbox-scene--inbox--light:- hash: v1.k794b7964.9d7488ba5550f2ac95e857753bd2ca09fce0bd92b41dbe8b20526faa901273d4.kFLMYntxGePRp7_PLiYlAz9IqiF-wI1SkybehONlfEc+ hash: v1.k794b7964.cd4a9d438b8342df350fcc8de14e27707c460e73d08772f90fec51dcb346858d.pXZHp6MatJwXk0M_5UL2njnpvO02KcZWmTtPqoeaj6Escenes-app-inbox-scene--self-driving-onboarding--dark:- hash: v1.k794b7964.8ea91408055ea62484d3ae2d7d02e8dccb4a36f7f7cdf3aefc505d0dd46e8b9b.wFEU_msqY_8GDa-F0wGUMtrnq-ornhw6cz3MPilMsFo+ hash: v1.k794b7964.157a08e7eac299f9695c887ef4b94fc129b8973a8e68df1b5be6c94b14f39cd7.9L6YIsKiRmwqiuSb9bqDcddtelRDGeAcY355ZzTXaFIscenes-app-inbox-scene--self-driving-onboarding--light:- hash: v1.k794b7964.be32db3ce6a6761655bbd1ccbb59559ac6548ce664b323aa20ffd8afbd1e6cce.T5ktNLx04c1AEDXKWjpcc_5iFGVE8JLPQJyj3814fAU+ hash: v1.k794b7964.35ccf8547b124cd9adeaae5edaf9943755f7788cfd4296e2f6c254490c5e6c17.pvQ5JFSpCQy5ZVl3jGG9wuCyEMqfmS1PIXl49SD8Yzgscenes-app-inbox-scene--self-driving-paused--dark:hash: v1.k794b7964.eae93d2c506e66eb23f36e19f05bf6f07286d9a895dbad8f970c009fd98f1d53.7hksyy3ldoFdJY9rpLYMe7FNYuMAi-U1Vlh3OGhv3wYscenes-app-inbox-scene--self-driving-paused--light:@@ -6093,7 +6093,7 @@ snapshots:scenes-app-marketing-analytics-cell-actions--source-cell-action-unmapped--light:hash: v1.k794b7964.c15b997111d34fb17ad2dd192b97c01d0a7ab3a320c5edf9a3e20b0b63a4ff9b.UHxcXJdZkFGXRnzIMFWO99QMD_gZm0V47g8f1j4OFS0scenes-app-mcp-analytics--dashboard--dark:- hash: v1.k794b7964.aa8074db9f16841b8436c40fc9124a0615a56a08edb0772bb88cf5377e4bf42d.1LP_nshkiTFuoA99D-QwEE4lc_56NFQZ9g3x-XQf9pc+ hash: v1.k794b7964.b808f4aa884cd8841113e007d72e6eda60f523efb574cb49ce240fc997e34786.PwJQj0mMYEYRECT3GMPWfu8ZDviUUiO78jXxO0ThK2Escenes-app-mcp-analytics--dashboard--light:hash: v1.k794b7964.8a54f39fa61e29de60a8f182dcd18b1f0009797449d34d562b9544db08b4fd44.hPsGJnRmLWXT9gbM8Tgn_9reho5TcafpOON2b9wwososcenes-app-mcp-analytics--intent-clustering--dark:@@ -6621,13 +6621,13 @@ snapshots:scenes-app-settings-environment--settings-environment-error-tracking--light:hash: v1.k794b7964.34564919bb8e3dd4c4f3f2d929ac349c0f4e68511a52370ca1a98688a5a791e6.TdwiSrM8i4SiYlk_3cucgjew961g8Fi0OnvgTlL5suAscenes-app-settings-environment--settings-environment-error-tracking-configuration--dark:- hash: v1.k794b7964.9bb457d533f1e32f082fc500534edb11749cf44b05a082ea1998c96a008da1ab.Zyb0s0wuv8F6hbM0SDhIQIbuslPQEiEuiIFaD688RDw+ hash: v1.k794b7964.56ec7a0f848a210db0b28301b8de7a858daa47b4075114d92e49dcc314e53771.eBsNSzM5P7mAshc2EMJhB6A8K6MuESVzMaT_zktP0jIscenes-app-settings-environment--settings-environment-error-tracking-configuration--light:hash: v1.k794b7964.adb8f8b9586c3cda5749b248291df41cfc5da3f9e1764fbaef8c0c2c3b5315dc.BLb5wQ4ykREEPkol8psVfNFlk1KlbWmTZDwW8MncIPoscenes-app-settings-environment--settings-environment-feature-flags--dark:- hash: v1.k794b7964.30b8626c10b8092ae04aa1a4abff45097cfe74c5d378ea7609d918bcaec06957.5xPcL7DEHhwH7ESDwgyw1SgA7MiXV7YTD5yBl4wksF8+ hash: v1.k794b7964.56670f556ffac0360ec521741db9822f4e545e25b45bd8ed4ad012da8885c30a.qj9dLuAFy8v0TwEH-UTymXnlWPe2eu-YjAOpe2zc3Q8scenes-app-settings-environment--settings-environment-feature-flags--light:- hash: v1.k794b7964.07f99df02068a82b0d18065303ed1f16b0bf65b43b4f12795a0979d16c00db41.mqz62rGGXnDqQO-HnIvh7mDs2oq_su7o8YwJKA0upo0+ hash: v1.k794b7964.a75d48c515b605a99cfd76c57830849c850c07ae3694e73b52c117095e489497.bh3Qsafj4UigFS0Z-DDe15ZdQwiilaKZWTR4-ESKijIscenes-app-settings-environment--settings-environment-heatmaps--dark:hash: v1.k794b7964.1562a01b0a70e04f8e738a84b1f4fad61f94fde8e35b5768179e1c230485ee57.v2cJdkb0JPIw7-6TIaaSWqiJMrjU5pb9YRj09dwvGfQscenes-app-settings-environment--settings-environment-heatmaps--light:@@ -6885,17 +6885,17 @@ snapshots:scenes-app-tasks--loading--light:hash: v1.k794b7964.f0e22f44051cdc8f0aa6e8fbae2efb8d2e672cc5c5db3ce04c9df2f3ea4b5bab.H3KRqwm7Z9X2s_IIsx7uC6IylDK5cpITlXMAzErawAkscenes-app-tasks--mobile-list--dark:- hash: v1.k794b7964.a0a985b52a8331bf69fda86b8dc2c7af689a31eaf1990bc693b5f2dbd2ecd4b1.51RqCmZxdfUQHlZ-XD0FywRGawgRagqI9YDwnnYBhrE+ hash: v1.k794b7964.aa12d9283f2d371e340c367e042cc94b3368451aae7648d72a75604e50c32612.JvoQ6Mf3LGKxdkiERXq65fWkNggXdufEyGvsagLl5WEscenes-app-tasks--mobile-list--light:- hash: v1.k794b7964.50c8ac93976b058d01b73dad46708ba0ef914ca4fdba16327e95828c269937b8.7a_rsE1aagzO9X_AndD14I2F5_XU6tBCzO2zwfrS8-o+ hash: v1.k794b7964.9fd49300ca0d02ce3fe8cf6ea7eb850af2f42332d19a821ac73a6108f33fd651.aHbvQ9EqCKA43njPMkK_xgXEq4rToiJ0U8zAsxjwEWAscenes-app-tasks--mobile-new-task--dark:hash: v1.k794b7964.925ac11a122dff1a1267cb5a187720dbc2b55d5a59c03abc911a806479e0922e.bPh1Qead2VSXaMYpbE0pno5Ou3K5ik25-oaG3Lo7Tqwscenes-app-tasks--mobile-new-task--light:hash: v1.k794b7964.9a23821e9850e4d74283f7d4f2c746980c22f1cf2bdad658bdd9e3d1d1421784.cp0oGyWmClM9o2F_B7rgCmOP7yKWfM31Pc2ly27jS1sscenes-app-tasks--mobile-task-selected--dark:- hash: v1.k794b7964.d7c9b5029050478dd7cb80b1ed74634374afd58e20d36b5518adb493f34b6301.DfxUOM0JvzedJL83fmS12yK_lfRaxfAcdqu9fGAO0JY+ hash: v1.k794b7964.db0156b3fd83b5c3494116788236075e0bc2c5ace019e4c1d9947d2b21fa70fb.4HfTdy-PBBkgEn0HFlUkrJm0D6GCiujf_ljrGGrLrscscenes-app-tasks--mobile-task-selected--light:- hash: v1.k794b7964.7ec4174f866286b0f1b2ea6f4a62525a44e1fb90d9b90a252d1c6ef49c70965f.APpNECCS5zOAoFgVr2Boha_nxKW6g3t19T1wv_EWaZ4+ hash: v1.k794b7964.8de299235efc98c794efccb4501e490a0f77ee19c901ceaf672266cec2b5ada3.rce6dJ7kA184L-8c5CwwlsEO140N_TEYcHSO-_10d18scenes-app-tasks--new-task--dark:hash: v1.k794b7964.aa4fc013197a1895092a74d4ca7dfface2ff9aeee16622f571946362be3d0370.tZEh4_RJFReOGhgSQVcUVW9J86vwlMyMVF-zayREDeQscenes-app-tasks--new-task--light:diff --git a/products/product_analytics/frontend/insights/funnels/FunnelBarHorizontalChart/FunnelBarHorizontalChart.tsx b/products/product_analytics/frontend/insights/funnels/FunnelBarHorizontalChart/FunnelBarHorizontalChart.tsxindex 530b548eea15..9ee3d57596ad 100644--- a/products/product_analytics/frontend/insights/funnels/FunnelBarHorizontalChart/FunnelBarHorizontalChart.tsx+++ b/products/product_analytics/frontend/insights/funnels/FunnelBarHorizontalChart/FunnelBarHorizontalChart.tsx@@ -103,9 +103,22 @@ export function FunnelBarHorizontalChart({const onSegmentClick = (meta: FunnelBarHorizontalSegmentMeta): void => {// Stacked breakdown + compare: the drop-off band aggregates every value for the- // period, so it can't be scoped to one value and isn't clickable. Pure compare tags- // each drop-off with its period's breakdownIndex, so it stays interactive.+ // period, so open the period's whole-step drop-off — compare-scoped, but with no+ // breakdown filter. Pure compare tags each drop-off with its period's+ // breakdownIndex instead, so it routes through the series branch below.if (isComparedFunnel && meta.isDropOff && meta.breakdownIndex == null) {+ if (meta.compareLabel) {+ openPersonsModalForSeries({+ step,+ series: {+ ...step,+ breakdown: undefined,+ breakdown_value: undefined,+ compare_label: meta.compareLabel,+ },+ converted: false,+ })+ }return}// Compare: both the bar and its drop-off filler carry a period breakdownIndex, so@@ -143,6 +156,7 @@ export function FunnelBarHorizontalChart({context={ctx}step={step}stepIndex={stepIndex}+ firstStep={steps[0]}breakdownFilter={breakdownFilter}groupTypeLabel={groupTypeLabel}showPersonsModal={showPersonsModal}diff --git a/products/product_analytics/frontend/insights/funnels/FunnelBarHorizontalChart/FunnelBarHorizontalTooltip.tsx b/products/product_analytics/frontend/insights/funnels/FunnelBarHorizontalChart/FunnelBarHorizontalTooltip.tsxindex 1f50f52962ed..b38f6162b514 100644--- a/products/product_analytics/frontend/insights/funnels/FunnelBarHorizontalChart/FunnelBarHorizontalTooltip.tsx+++ b/products/product_analytics/frontend/insights/funnels/FunnelBarHorizontalChart/FunnelBarHorizontalTooltip.tsx@@ -17,6 +17,8 @@ interface FunnelBarHorizontalTooltipProps {context: TooltipContext<FunnelBarHorizontalSegmentMeta>step: FunnelStepWithConversionMetricsstepIndex: number+ /** First funnel step — basis for a compare stack drop-off's period-aggregate from-start rate. */+ firstStep: FunnelStepWithConversionMetricsbreakdownFilter: BreakdownFilter | null | undefinedgroupTypeLabel: stringshowPersonsModal: boolean@@ -28,6 +30,7 @@ export function FunnelBarHorizontalTooltip({context,step,stepIndex,+ firstStep,breakdownFilter,groupTypeLabel,showPersonsModal,@@ -37,7 +40,7 @@ export function FunnelBarHorizontalTooltip({const { featureFlags } = useValues(featureFlagLogic)const quillTooltipEnabled = !!featureFlags[FEATURE_FLAGS.PRODUCT_ANALYTICS_INSIGHTS_TOOLTIPS]- const target = resolveFunnelBarHorizontalHover(context, step, stepIndex)+ const target = resolveFunnelBarHorizontalHover(context, step, stepIndex, firstStep)if (!target) {return null}diff --git a/products/product_analytics/frontend/insights/funnels/FunnelBarHorizontalChart/funnelBarHorizontalTransforms.test.ts b/products/product_analytics/frontend/insights/funnels/FunnelBarHorizontalChart/funnelBarHorizontalTransforms.test.tsindex 576341c700f0..20d7aa1d158e 100644--- a/products/product_analytics/frontend/insights/funnels/FunnelBarHorizontalChart/funnelBarHorizontalTransforms.test.ts+++ b/products/product_analytics/frontend/insights/funnels/FunnelBarHorizontalChart/funnelBarHorizontalTransforms.test.ts@@ -490,11 +490,17 @@ describe('buildFunnelBarHorizontalData', () => {expect(result[0].bars[1].series[2].trackData).toEqual([75])})- it('tags the aggregate drop-off so it isn’t attributed to a single value (breakdownIndex null)', () => {+ it('tags the aggregate drop-off with its period instead of a single value, so a click opens the period’s drop-off', () => {const [step0] = buildFunnelBarHorizontalCompareData(breakdownCompareSteps, options)- const currentDropOff = step0.bars[0].series.find((s) => s.meta?.isDropOff)-- expect(currentDropOff?.meta?.breakdownIndex).toBeNull()+ const [currentDropOff] = step0.bars[0].series.filter((s) => s.meta?.isDropOff)+ const [previousDropOff] = step0.bars[1].series.filter((s) => s.meta?.isDropOff)++ expect(currentDropOff?.meta).toEqual({ isDropOff: true, breakdownIndex: null, compareLabel: 'current' })+ expect(previousDropOff?.meta).toEqual({+ isDropOff: true,+ breakdownIndex: null,+ compareLabel: 'previous',+ })expect(currentDropOff?.visibility?.tooltip).toBe(false)})@@ -529,6 +535,16 @@ describe('buildFunnelBarHorizontalData', () => {makeStep({ count: 10, fromBasisStep: 0.25, breakdown_value: 'desktop' }),],})+ // First step of the same funnel; only the breakdown + compare drop-off path reads it.+ const firstStep = makeStep({+ count: 100,+ fromBasisStep: 1,+ name: 'Viewed',+ nested_breakdown: [+ makeStep({ count: 60, fromBasisStep: 1, breakdown_value: 'mobile' }),+ makeStep({ count: 40, fromBasisStep: 1, breakdown_value: 'desktop' }),+ ],+ })const segmentEntry = (breakdownIndex: number | null,@@ -586,11 +602,105 @@ describe('buildFunnelBarHorizontalData', () => {expected: { series: step.nested_breakdown![0], isDropOffHover: true, color: '#aaa' },},])('$description', ({ seriesData, hoveredSeriesKey, hoverPosition, expected }) => {- const target = resolveFunnelBarHorizontalHover({ hoveredSeriesKey, seriesData, hoverPosition }, step, 1)+ const target = resolveFunnelBarHorizontalHover(+ { hoveredSeriesKey, seriesData, hoverPosition },+ step,+ 1,+ firstStep+ )expect(target?.series).toEqual(expected.series)expect(target?.isDropOffHover).toBe(expected.isDropOffHover)expect(target?.color).toBe(expected.color)})++ describe('breakdown + compare stack drop-off', () => {+ // nested_breakdown pairs [value current, value previous, …]; the aggregate step spreads the+ // current period's totals and compare_label, so the whole-step fallback would label every+ // stack's drop-off "current" with current-period numbers.+ const compareVariant = (+ count: number,+ breakdownValue: string,+ compareLabel: 'current' | 'previous',+ droppedOffFromPrevious = 0+ ): FunnelStepWithConversionMetrics =>+ makeStep({+ count,+ fromBasisStep: 0,+ breakdown_value: breakdownValue,+ compare_label: compareLabel,+ droppedOffFromPrevious,+ })+ const firstCompareStep = makeStep({+ count: 200,+ fromBasisStep: 1,+ compare_label: 'current',+ breakdown_value: 'mobile',+ nested_breakdown: [+ compareVariant(120, 'mobile', 'current'),+ compareVariant(90, 'mobile', 'previous'),+ compareVariant(80, 'desktop', 'current'),+ compareVariant(60, 'desktop', 'previous'),+ ],+ })+ const compareStep = makeStep({+ count: 50,+ fromBasisStep: 0.25,+ compare_label: 'current',+ breakdown_value: 'mobile',+ droppedOffFromPrevious: 50,+ nested_breakdown: [+ compareVariant(30, 'mobile', 'current', 30),+ compareVariant(15, 'mobile', 'previous', 30),+ compareVariant(20, 'desktop', 'current', 20),+ compareVariant(15, 'desktop', 'previous', 15),+ ],+ })++ // Current period: 200 first-step entrants, 100 reached this step (50 converted + 50+ // dropped); previous period: 150 first-step entrants, 75 reached (30 + 45). fromPrevious+ // and total intentionally differ so a swapped computation fails.+ it.each([+ {+ period: 'current',+ stackSegments: [segmentEntry(0, '#aaa'), segmentEntry(2, '#bbb')],+ expected: { count: 50, droppedOffFromPrevious: 50, fromPrevious: 0.5, total: 0.25 },+ },+ {+ period: 'previous',+ stackSegments: [segmentEntry(1, '#aaa'), segmentEntry(3, '#bbb')],+ expected: { count: 30, droppedOffFromPrevious: 45, fromPrevious: 0.4, total: 0.2 },+ },+ ])(+ 'resolves the $period stack’s drop-off band to that period’s aggregate',+ ({ period, stackSegments, expected }) => {+ const target = resolveFunnelBarHorizontalHover(+ {+ hoveredSeriesKey: FUNNEL_BAR_HORIZONTAL_FILLER_KEY,+ seriesData: stackSegments,+ hoverPosition: null,+ },+ compareStep,+ 1,+ firstCompareStep+ )++ expect(target?.series).toEqual(+ expect.objectContaining({+ compare_label: period,+ count: expected.count,+ droppedOffFromPrevious: expected.droppedOffFromPrevious,+ conversionRates: expect.objectContaining({+ fromPrevious: expected.fromPrevious,+ total: expected.total,+ }),+ breakdown_value: undefined,+ })+ )+ expect(target?.isDropOffHover).toBe(true)+ expect(target?.color).toBeUndefined()+ }+ )+ })})describe('series keys', () => {diff --git a/products/product_analytics/frontend/insights/funnels/FunnelBarHorizontalChart/funnelBarHorizontalTransforms.ts b/products/product_analytics/frontend/insights/funnels/FunnelBarHorizontalChart/funnelBarHorizontalTransforms.tsindex badfb1552ba0..1165723569d2 100644--- a/products/product_analytics/frontend/insights/funnels/FunnelBarHorizontalChart/funnelBarHorizontalTransforms.ts+++ b/products/product_analytics/frontend/insights/funnels/FunnelBarHorizontalChart/funnelBarHorizontalTransforms.ts@@ -10,6 +10,7 @@ import {buildFunnelBarHorizontalFiller,FUNNEL_BAR_HORIZONTAL_FILLER_KEY,FUNNEL_BAR_HORIZONTAL_SEGMENT_KEY_PREFIX,+ funnelConversionRate,RATE_TO_PERCENT,type FunnelBarHorizontalSegmentMeta,type FunnelBarHorizontalStepData,@@ -158,11 +159,14 @@ type FunnelBarHorizontalHoverContext = Pick</** Resolves which breakdown variant a hover maps to. `hoveredSeriesKey` identifies the exact* stacked segment under the cursor (including the tooltip-hidden drop-off filler) — without it,* `seriesData` lists every breakdown segment in declaration order and index 0 is just the first- * breakdown, not the hovered one. Returns `null` when there is nothing to describe. */+ * breakdown, not the hovered one. `firstStep` is the funnel's first step; it feeds the period+ * aggregate's from-start rate for breakdown + compare stack drop-offs, and is required so that+ * path can't silently degrade to a 0% rate. Returns `null` when there is nothing to describe. */export function resolveFunnelBarHorizontalHover(context: FunnelBarHorizontalHoverContext,step: FunnelStepWithConversionMetrics,- stepIndex: number+ stepIndex: number,+ firstStep: FunnelStepWithConversionMetrics): FunnelBarHorizontalHoverTarget | null {const { hoveredSeriesKey, seriesData } = contextconst variantAt = (breakdownIndex: number | null | undefined): FunnelStepWithConversionMetrics =>@@ -170,16 +174,29 @@ export function resolveFunnelBarHorizontalHover(if (hoveredSeriesKey === FUNNEL_BAR_HORIZONTAL_FILLER_KEY) {// Drop-off region. A lone visible segment (compare bar, plain funnel) shares the filler's- // variant, so resolve from it; multiple segments (breakdown) means the whole step's drop-off.- // The aggregate step inherits `breakdown_value` from its first variant (aggregateBreakdownResult- // spreads it), so clear it — the whole step's drop-off is not one breakdown's.+ // variant, so resolve from it.const entry = seriesData.length === 1 ? seriesData[0] : undefined+ if (entry) {+ return {+ series: variantAt(entry.series.meta?.breakdownIndex),+ isDropOffHover: stepIndex > 0,+ color: entry.color,+ }+ }+ // Multiple segments: the whole stack's drop-off. A breakdown + compare stack holds one+ // period's values, so describe that period's aggregate — the aggregate step itself carries+ // the current period's totals and `compare_label`, which would mislabel the previous stack.+ // A plain breakdown stack is the whole step; it inherits `breakdown_value` from its first+ // variant (aggregateBreakdownResult spreads it), so clear it — the whole step's drop-off is+ // not one breakdown's.+ const stackCompareLabel = seriesData[0]+ ? variantAt(seriesData[0].series.meta?.breakdownIndex).compare_label+ : undefinedreturn {- series: entry- ? variantAt(entry.series.meta?.breakdownIndex)+ series: stackCompareLabel+ ? comparePeriodAggregate(step, firstStep, stackCompareLabel): { ...step, breakdown: undefined, breakdown_value: undefined },isDropOffHover: stepIndex > 0,- color: entry?.color,}}@@ -204,10 +221,48 @@ export function resolveFunnelBarHorizontalHover(return { series: variantAt(entry.series.meta?.breakdownIndex), isDropOffHover, color: entry.color }}+/** One period's aggregate view of a breakdown + compare step, for the stack-wide drop-off band —+ * the band spans every breakdown value of one period, so the tooltip needs that period's summed+ * count, drop-off, and rates. `breakdown_value` is cleared for the same reason as the whole-step+ * path: the period's drop-off is not one breakdown's. */+function comparePeriodAggregate(+ step: FunnelStepWithConversionMetrics,+ firstStep: FunnelStepWithConversionMetrics,+ compareLabel: NonNullable<FunnelStepWithConversionMetrics['compare_label']>+): FunnelStepWithConversionMetrics {+ const periodVariants = (+ candidate: FunnelStepWithConversionMetrics+ ): Omit<FunnelStepWithConversionMetrics, 'nested_breakdown'>[] =>+ (candidate.nested_breakdown ?? []).filter((variant) => variant.compare_label === compareLabel)+ const count = periodVariants(step).reduce((sum, variant) => sum + variant.count, 0)+ const droppedOffFromPrevious = periodVariants(step).reduce(+ (sum, variant) => sum + variant.droppedOffFromPrevious,+ 0+ )+ const firstStepCount = periodVariants(firstStep).reduce((sum, variant) => sum + variant.count, 0)+ const total = funnelConversionRate(count, firstStepCount)+ return {+ ...step,+ breakdown: undefined,+ breakdown_value: undefined,+ compare_label: compareLabel,+ count,+ droppedOffFromPrevious,+ conversionRates: {+ // Entrants into this step for the period = converted + dropped, so the rate needs no+ // separate previous-step lookup.+ fromPrevious: funnelConversionRate(count, count + droppedOffFromPrevious),+ total,+ fromBasisStep: total,+ },+ }+}+/** Builds the breakdown + compare layout: two stacks per step (current, then previous), each split into* breakdown-value segments and scaled to whichever period had more total entrants at the first step. The* smaller period's stack is shorter, its volume gap left blank. The aggregate drop-off band spans all- * values for the period, so it's tagged `breakdownIndex: null` — the chart leaves it non-clickable. */+ * values for the period, so it's tagged `breakdownIndex: null` plus its period's `compareLabel` — a+ * click opens the period's whole-step drop-off persons rather than a single value's. */function buildBreakdownCompareStacks(steps: FunnelStepWithConversionMetrics[],options: BuildOptions@@ -236,13 +291,16 @@ function buildBreakdownCompareStacks(bars: [{label: String(stepIndex),- series: [...current, buildFunnelBarHorizontalDropOff(current, currentEntry, options.fillerColor)],+ series: [+ ...current,+ buildFunnelBarHorizontalDropOff(current, currentEntry, options.fillerColor, null, 'current'),+ ],},{label: String(stepIndex),series: [...previous,- buildFunnelBarHorizontalDropOff(previous, previousEntry, options.fillerColor),+ buildFunnelBarHorizontalDropOff(previous, previousEntry, options.fillerColor, null, 'previous'),],},],diff --git a/products/product_analytics/frontend/insights/funnels/shared/funnelBarHorizontalShared.ts b/products/product_analytics/frontend/insights/funnels/shared/funnelBarHorizontalShared.tsindex 980c8b7d8826..0472eb99967d 100644--- a/products/product_analytics/frontend/insights/funnels/shared/funnelBarHorizontalShared.ts+++ b/products/product_analytics/frontend/insights/funnels/shared/funnelBarHorizontalShared.ts@@ -24,6 +24,10 @@ export function funnelConversionRate(count: number, basisCount: number): numberexport interface FunnelBarHorizontalSegmentMeta {isDropOff: booleanbreakdownIndex: number | null+ /** Compare mode: the period a segment belongs to. Set on the breakdown + compare aggregate+ * drop-off band — its `breakdownIndex` is null (it spans every value of the period), so this+ * is what lets a click scope the persons modal to the right period. */+ compareLabel?: 'current' | 'previous'}/** Series for one step's single-band bar. Each series' `data` has exactly one value. */@@ -63,7 +67,8 @@ export function buildFunnelBarHorizontalDropOff(segments: Series<FunnelBarHorizontalSegmentMeta>[],entryLevelPercent: number,color: string,- breakdownIndex: number | null = null+ breakdownIndex: number | null = null,+ compareLabel?: 'current' | 'previous'): Series<FunnelBarHorizontalSegmentMeta> {const covered = segments.reduce((sum, s) => sum + (s.data[0] ?? 0), 0)return {@@ -72,7 +77,7 @@ export function buildFunnelBarHorizontalDropOff(data: [Math.max(0, entryLevelPercent - covered)],color,visibility: { tooltip: false },- meta: { isDropOff: true, breakdownIndex },+ meta: { isDropOff: true, breakdownIndex, compareLabel },trackData: [entryLevelPercent],}}diff --git a/products/product_analytics/frontend/insights/funnels/shared/funnelStepsBarShared.ts b/products/product_analytics/frontend/insights/funnels/shared/funnelStepsBarShared.tsindex 10b99ca4a3ed..c202fcca2792 100644--- a/products/product_analytics/frontend/insights/funnels/shared/funnelStepsBarShared.ts+++ b/products/product_analytics/frontend/insights/funnels/shared/funnelStepsBarShared.ts@@ -107,7 +107,7 @@ export function buildFunnelStepsBars<TMeta = unknown>(data: variant.data,color: variant.color,meta: variant.meta,- ...(variant.trackData ? { trackData: variant.trackData } : {}),+ trackData: variant.trackData,}))return {series,