Skip to content
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

Pass in funnel_step_breakdown param for funnels breakdown persons modal #5289

Merged
merged 7 commits into from
Jul 22, 2021

Conversation

liyiy
Copy link
Contributor

@liyiy liyiy commented Jul 22, 2021

Changes

Please describe.
If this affects the frontend, include screenshots.

We have to pass in funnel_step_breakdown in order to get the breakdown persons back properly

Screen.Recording.2021-07-22.at.1.43.29.PM.mov

Checklist

  • All querysets/queries filter by Organization, by Team, and by User
  • Django backend tests
  • Jest frontend tests
  • Cypress end-to-end tests
  • Migrations are safe to run at scale (e.g. PostHog Cloud) – present proof if not obvious
  • New/changed UI is decent on smartphones (viewport width around 360px)

@liyiy liyiy requested a review from mariusandra July 22, 2021 16:55
@timgl timgl temporarily deployed to posthog-pr-5289 July 22, 2021 16:56 Inactive
@timgl timgl temporarily deployed to posthog-pr-5289 July 22, 2021 16:56 Inactive
@liyiy liyiy changed the title Pass in funnel_step_breakdown param for persons modal Pass in funnel_step_breakdown param for funnels breakdown persons modal Jul 22, 2021
@liyiy liyiy force-pushed the funnel-breakdown-persons branch from aabe7bb to 1d7c9a2 Compare July 22, 2021 17:43
@timgl timgl temporarily deployed to posthog-pr-5289 July 22, 2021 17:43 Inactive
@mariusandra
Copy link
Collaborator

  • Can we also show the breakdown title somewhere in the persons modal?
  • Would it be easy to add the option to click on the dropped off part?

@mariusandra
Copy link
Collaborator

If this will turn into a final modal improvements PR, then two more things:

  1. "Persons who completed step" shows even if I'm looking at a dropoff
  2. The "Persons who completed step /Actions (Log / Graph) #3" turns into "step #0" if I load more people

@clarkus
Copy link
Contributor

clarkus commented Jul 22, 2021

@liyiy @mariusandra should we remove the CSV export button from the modal for this release? @EDsCODE mentioned on slack that the backend only supports this for trends right now.

@liyiy
Copy link
Contributor Author

liyiy commented Jul 22, 2021

@liyiy @mariusandra should we remove the CSV export button from the modal for this release? @EDsCODE mentioned on slack that the backend only supports this for trends right now.

approved and merged here #5297

@timgl timgl temporarily deployed to posthog-pr-5289 July 22, 2021 20:32 Inactive
@timgl timgl temporarily deployed to posthog-pr-5289 July 22, 2021 20:47 Inactive
@liyiy
Copy link
Contributor Author

liyiy commented Jul 22, 2021

  • Can we also show the breakdown title somewhere in the persons modal?
  • Would it be easy to add the option to click on the dropped off part?
  • "Persons who completed step" shows even if I'm looking at a dropoff
  • The "Persons who completed step /Actions (Log / Graph) /Actions (Log / Graph) #3" turns into "step #0" if I load more people

All points tackled!

only thing is that long breakdown names get kind of ugly in the title, should I just '...' it if it's too long? @clarkus ->

Screen Shot 2021-07-22 at 4 39 20 PM

VS

Screen Shot 2021-07-22 at 4 08 49 PM

Copy link
Collaborator

@mariusandra mariusandra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Check with @clarkus for how to best show this and feel free to merge after. I'd actually put the breakdown itself onto a second line with a slightly different style... and perhaps end that with "..."

@clarkus
Copy link
Contributor

clarkus commented Jul 22, 2021

I think truncating to a single line for now will be fine. I'd like to use that as the solution for a while before we try to improve it. We could separate out the values, but then that could lead to lots of "awkward whitespace™" which isn't a problem, but it might make the product feel less polished.

One note on truncation. It's most valuable when it replaces repeated, non-meaningful values. Anything that doesn't aid in uniquely identifying or distinguishing an option from other options could be replaced by truncation .... That said, that's hard to do and probably doesn't add enough value to justify consideration for this release.

@liyiy
Copy link
Contributor Author

liyiy commented Jul 22, 2021

Screen Shot 2021-07-22 at 6 24 59 PM

@timgl timgl temporarily deployed to posthog-pr-5289 July 22, 2021 22:26 Inactive
@liyiy liyiy enabled auto-merge (squash) July 22, 2021 22:26
@liyiy liyiy merged commit 8fba8cd into master Jul 22, 2021
@liyiy liyiy deleted the funnel-breakdown-persons branch July 22, 2021 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants