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

Concept: Universal search for people / recordings / cohorts / events / groups #7963

Open
macobo opened this issue Jan 10, 2022 · 5 comments
Open
Labels
concept Ideas that need some shaping up still enhancement New feature or request feature/activity Feature Tag: Activity (fka Events) feature/cohorts Feature Tag: Cohorts feature/group-analytics Feeature Tag: Group analytics feature/persons Feature Tag: Persons feature/replay Features for Team Replay team/product-analytics

Comments

@macobo
Copy link
Contributor

macobo commented Jan 10, 2022

Is your feature request related to a problem?

This issue tries to outline a solution to many disparate issues with the meta problem being:

  • search capabilities outside of insights are lacking
  • cohorts feature especially is very isolated from the rest of the app
  • improving each search feature leads only to improvements in one product area.

Describe the solution you'd like

A insights-like search functionality for everything qualitative: people / recordings / cohorts / events / groups.

Similar to insights, this would take the form of a sentence (containing various dropdowns), like:

Show me [People | Group Type G | Cohorts | Recordings | Events from people | Recordings from people] who [Have property | Belong to COHORT | Have done Y]

Where user can easily switch between what's being shown via dropdown or via selecting a new tab from side navigation.

There are also context-specific actions, for example:

  • When searching for people / specific group types, you can also save the results as a cohort
  • In recordings, Have done Y would only show recordings which match the filter

Viewing a cohort then becomes an action of selecting the appropriate filter and showing the same results as elsewhere. Note that with this approach, creating cohorts of groups would also become possible.

We could link to this view from any person modal with a static filter being set (e.g. has completed funnel step Y).

There could also be a time filter for various views.

This view could also power additional analytics - e.g. show correlated properties for people/cohort/group that was selected, show who might be slipping away, etc.

Describe alternatives you've considered

Universal search experience like one outlined in https://www.figma.com/file/NHPA2hVWwaKp4eTGWdigs9/?node-id=128%3A437. However this is too 'hard' to solve as an initial step.

Additional context

Grab bag of related issues:

cc @clarkus @EDsCODE @paolodamico @mariusandra @rcmarron

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

@macobo macobo added enhancement New feature or request feature/cohorts Feature Tag: Cohorts recordings feature/activity Feature Tag: Activity (fka Events) feature/group-analytics Feeature Tag: Group analytics concept Ideas that need some shaping up still labels Jan 10, 2022
@rcmarron
Copy link
Contributor

rcmarron commented Jan 11, 2022

This is great! I really like the concept.

It feels so powerful/intuitive to write one query and then be able to quickly flip between the type of result. I'm imagining a "query builder" on the top, and then tabs below that let you quickly change what's being searched for. The flow of:

  1. "I wonder which organizations have used feature Y"
  2. Search for that event and change the tab to organizations
  3. "Interesting CompanyXYZ is using it, I wonder who"
  4. Flip to persons + add an organization filter for CompanyXYZ
  5. See the persons
  6. "I wonder how/why they're using it"
  7. Click recordings + see the recordings

It would be pretty clunky/impossible to explore your data in that way with today's interface.

A couple of thoughts/questions:

  • I could see an "explore" tab on the left that has this search functionality, and it could replace the existing events/actions, persons/groups, recordings tabs.
  • I don't see how cohorts would fit in the universal search. It seems like you could create a cohort from a search, but I don't know how you would search for cohorts with it. Might be missing something.
  • We would need to handle some searching that isn't universal. For example, recordings have duration and people don't really have a clear 'timestamp' etc.
  • Customizable columns for properties on all results would be amazing
  • I really like the idea of this replacing the persons modal throughout insights.
  • Feels like this could fit in with the "quality push" throughout the product. The events + persons list views could definitely use some love. And The UX for filtering/searching throughout the app is pretty inconsistent/bad in some areas, and this would definitely address a big part of that.

@clarkus
Copy link
Contributor

clarkus commented Jan 11, 2022

This is an interesting idea and something that could be extremely powerful for users. I'm game to work on some concepts once we're ready to pick this up.

@macobo
Copy link
Contributor Author

macobo commented Jan 13, 2022

I don't see how cohorts would fit in the universal search. It seems like you could create a cohort from a search, but I don't know how you would search for cohorts with it. Might be missing something.

Good question. So this view would be what is shown when you "open" a cohort - which you also should be able to do via the filtering capabilities. You can also create/edit cohort definitions on the same view.

Customizable columns for properties on all results would be amazing

Related: #8011 and #7432

We would need to handle some searching that isn't universal. For example, recordings have duration and people don't really have a clear 'timestamp' etc.

Yup! Basically filtering subtly changes depending on the view and will need to be specced out separately if this goes into work.

@mariusandra
Copy link
Collaborator

Customizable columns for properties on all results would be amazing

Related, multiple formulas on tables have also been requested: #11913

@lsmith77
Copy link

Would this also include searching by properties? Currently the universal search f.e. only seems to support search by id for groups.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
concept Ideas that need some shaping up still enhancement New feature or request feature/activity Feature Tag: Activity (fka Events) feature/cohorts Feature Tag: Cohorts feature/group-analytics Feeature Tag: Group analytics feature/persons Feature Tag: Persons feature/replay Features for Team Replay team/product-analytics
Development

No branches or pull requests

8 participants