-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(data-exploration): convert funnel correlation to data exploration #14963
Conversation
e34b1d8
to
90df0a0
Compare
I don't know why GitHub thinks this should need Django tests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything worked fine when clicking around in the interface. Going through the code now. This chunk seems legit 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great to me
@@ -30,12 +30,12 @@ import { | |||
import { PathCanvasLabel } from 'scenes/paths/PathsLabel' | |||
import { InsightLegend } from 'lib/components/InsightLegend/InsightLegend' | |||
import { InsightLegendButtonDataExploration } from 'lib/components/InsightLegend/InsightLegendButton' | |||
// import { FunnelCorrelation } from './views/Funnels/FunnelCorrelation' | |||
// import { AlertMessage } from 'lib/lemon-ui/AlertMessage' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems unnecessary too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That'll go in again when I implement the isUsingSessionAnalysis
flag.
* master: fix(flags): don't enclose in overall transaction so we get latest reads (#15003) fix(tests): make getEventsByPerson output stable to avoid flakes (#15009) feat(data-exploration): convert funnel correlation to data exploration (#14963) fix: Set hobby deployments to 'latest' by default (#14956) feat(hogql): lambdas (#14987) feat(hogql): arrays and tuples (#14986) fix(funnel): always use total step count for funnel chart label (#14993)
Overview: Conversion of Funnel Correlation to Data Exploration
Conversion of funnel correlation to data exploration is a wrap!
I've stacked the relevant PRs on top of each other for easier review-ability, but for clicking around feel free to go straight to the last one #14992.
Here's a brief summary of the PRs:
In broad terms, I've split out the correlations related code from
funnelLogic
into separate logics with a clear purpose:funnelCorrelationLogic
: event and event property correlationfunnelPropertyCorrelationLogic
: property correlationfunnelCorrelationDetailsLogic
: the details popupfunnelCorrelationFeedbackLogic
: the feedback formfunnelCorrelationUsageLogic
: usage tracking with posthog.jsThe components and logics then disambiguate between data exploration and legacy mode for everything that is pulled in from the funnel.
I'm going to give this one more review before merging in myself, but the whole thing is ready for review now.
Problem
In order to convert the funnel correlation work to data exploration, the
<FunnelCorrelation />
component needed a bit of preparation. I'm going to stack other PRs converting the funnel correlations on top.Changes
This PR:
How did you test this code?
Manual testing