-
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
EPIC: Filters UX 2.0 #2760
Comments
From another customer call,
|
Another user reporting it was unintuitive where to find the cumulative graph. Some confusion with "Sum" property aggregator too. |
Potentially relevant tickets are tagged https://github.com/PostHog/posthog/issues?q=is%3Aissue+is%3Aopen+label%3Aanalytics-filters - though there are others that don't have the label |
#4050 has reworked other filtering touchpoints (e.g. interval, timeframe, ...), so keeping this issue now only to discuss refactoring the main filtering experience. This is what we're doing currently in sessions for reference, while I think it's a better experience, unsure if it's the right approach for insights too. Regardless, we should keep a uniform experience everywhere. |
From #4535 by @corywatilo, Action-level filteringCurrently to filter an action, there's a button below the dropdown. ProblemThere is some confusion between user-level filtering and action-level filtering. Typical filtering in an analytics UI filters the users like, "limit to users who did X". User-level filtering is super powerful, but placing both on the same UI can be confusing to newcomers. I'd like to propose we move the action-level filters into a place where you can find it if you're looking for it, but won't confuse you if you're not looking for it. Solutions |
From #4535 by @mariusandra
What I like about the current filter is that (once you press "add filters" and then press "add filter" 😅 -- can we remove two steps?) you can just start searching for a property and you'll find it, no matter if it's a event property, person property or even cohort. This does bring drawbacks. For example, as a new user, what the hell am I supposed to choose? Had I used trends, I would have gotten a slightly worse experience: |
From #4535 by @clarkusI put together some conceptual changes to the picker based on the work happening in #4267 (comment). I think we could maintain the ability to quickly filter down the full list, while still exposing category groups that allow for scoped keyword searches. Note that this work was done for picking actions and events, but could easily apply to other structured sets like user and events properties. I also noticed that we're using some inconsistent labeling across query building in our insights features. Generally the actions users can take are hiding / showing filters, adding a filter, updating a filter, removing a filter, etc. I think we could clarify these actions across insight tabs, and trigger the option selection flow immediately instead of forcing a user to click that option after they click "add filter". |
Re @corywatilo
Re @clarkus
|
Love the mockup from @clarkus . Some UX thoughts:
|
This can depend on context, but by default we'd show the
Tab switching without a clear reason could be really confusing. Ideally we'd show an empty state for the event properties when there aren't any matching results. The user would then elect to navigate to that other tab via a click or some other keyboard event.
I think we could retain the existing summary card shown on hover. I'll include this in the designs and produce something a bit more well rounded.
I need to do some research on this topic. I would avoid
Great idea. I'll add this. |
@mariusandra I did some reading on best practices for keyboard navigation at https://xd.adobe.com/ideas/principles/web-design/best-practices-for-prototyping-keyboard-accessibility/ and https://inclusive-components.design/tabbed-interfaces/. I think we should stick with the default |
I took @corywatilo's wireframe to a higher fidelity version aligned with the other recent filtering work. Given this format, I'd want to rework my previous filtering concepts to fit within a popover / overlay context. Doing that next. |
Not sure if this element should be in this issue, but love this, definitely a significant improvement! Keen on building this |
Just mentioning #5189 as it implements some changes proposed here. There is a lingering issue to handle multiple-selection scenarios in filters. For example, you're filtering based on a browser property and want to use a Notable issues:
|
Below are my notes on how this feature is currently working and how it could generally be structured for an improvement. We've recently improved the experience for finding properties, so the remaining work is mostly focused on operators and selecting values. If any of the notes below are inaccurate or could be improved, please let me know. I'll be using this as the basic test case for designing an update. Notes These might be a valid cases, but as a less-technical user, I wasn't sure how these filters would evaluate or if they were even valid. Here's my working list of types and their supported operators. Some properties can be evaluated via multiple data types or operator sets. These operators also imply a single or multiple select scenario for the value field.
|
Some pretty solid stuff here, love these new visuals! Some feedback,
Re data types:
|
Absolutely. I'm going to do that once I feel like I have the structure of the workflow figured out. Most of the constraint is knowing the full range of options that the component has to support. Secondary to that, identifying gaps that we can improve on - date operators for example.
Yes agree, but some operators don't have simple icons we can use. I also feel like that while these mathematical symbols are technically accurate, they're not immediately meaningful for a portion of users. The more I work on this the more I feel like showing the full operator text is the better experience. Speaking of icons I am also chipping away at #4266 which is not represented here.
Totally agree - I am working on these with the goal of having them work in any context. I am still working through these ideas, but just wanted to show that I am testing against a variety of scenarios. Here cohorts are shown.
Excellent feedback. I'll add this to my list of things to address.
👍 will make this clearer in the mockups. |
I think we can close this with the new taxonomic filter, wdyt @clarkus ? |
Sure thing. I have some other changes in the works that I will file separately once they're ready for work. |
From our own dogfooding and feedback from users we've now identified that the filters experience needs some love. The experience is not very fluid, and can even be confusing at times. Creating this issue to group all related issues, centralize feedback and serve as a basis for planning/discussion of a new filtering experience.
One key thing that we've discussed about this is that we need to think of a standardized component/experience that we can reuse across the app (i.e. for insights, sessions, persons, events, ...)
Additional context
The text was updated successfully, but these errors were encountered: