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

Feature Request: Count of items in a filtered list #10410

Closed
joethreepwood opened this issue Jun 22, 2022 · 1 comment
Closed

Feature Request: Count of items in a filtered list #10410

joethreepwood opened this issue Jun 22, 2022 · 1 comment
Labels
enhancement New feature or request feature/lemon-ui

Comments

@joethreepwood
Copy link
Contributor

Is your feature request related to a problem?

It would be really handy to have a count of how many items there are in a list when filtering. This would be especially handy if I'm trying to figure out whether I can export a list straight from PostHog, or if I need to export via the API (because the number of entries is over 10,000).

Example: I want a list of people who opted in to email, so I can then decide how I want to segment that list down for G2 review targeting. Creating a filter (email_opt_in = true) gives me a list of users. At the top of the page I have no information of how many Persons are in this filtered list.

I can scroll to the bottom of the page, to see there are 100 people on the first page. But I have no idea how many pages there are.

Screenshot 2022-06-22 at 11 28 23

I can export this list, but the warning text of this prompt appears no matter the size of my list and is ambiguous in helping me decide if my list is over 10,000 users or not.

Screenshot 2022-06-22 at 11 28 57

Describe the solution you'd like

Either:

  1. A count at the top of the page which shows how many entries are in a filtered list.
  2. An indication at the bottom of the table which tells me how many pages there are in this table.
  3. A better export warning prompt which tells me how many entries are in a list (This list contains 10,001 users. To export more than 10,000 users, please use the API.)

Describe alternatives you've considered

Additional context

Tagging @clarkus and @lottiecoxon as it's a UI issue in part.

Thank you for your feature request – we love each and every one!

@joethreepwood joethreepwood added the enhancement New feature or request label Jun 22, 2022
@clarkus
Copy link
Contributor

clarkus commented Jun 22, 2022

I think this is a solid improvement. I think there might be technical constraints, but the general pattern I've been pushing for tables is to show the current result count per page, as well as the total result size. When filters are applied, the total result size should decrease, but the number of items per page would remain constant.

Screen Shot 2022-06-22 at 12 12 58 PM

Tactically the things to communicate are:

  • Results per page
  • Total results in the set
  • Limitations around exporting and how to recover
    • If the total result set is larger than our export limit, indicate this prominently on the button and don't wait to reveal it until the user tries to export.
    • Give easy, approachable ways to recover. For example, add filters to reduce your set, only export the first 10,000 items and drop the rest, link to docs on how to export the API, a support link to engage with us to help the user recover.

Additional considerations:

  • Find ways to increase the limit for exporting via the web interface
  • Allow for long-running export tasks that prompt a user to download once complete

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature/lemon-ui
Projects
Development

No branches or pull requests

2 participants