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

fix: user paths url selector search #23872

Merged
merged 2 commits into from
Jul 22, 2024

Conversation

anirudhpillai
Copy link
Contributor

@anirudhpillai anirudhpillai commented Jul 20, 2024

Problem

Fixes #23870

Current search query has a limit 10 clause and returns randomly ordered results which means users can't always get the url they're searching for. Eg while searching for this URL, the exact URL I'm trying to match, doesn't come up

See here for example of issue
https://posthog.slack.com/archives/C0368RPHLQH/p1721472155417729?thread_ts=1721434937.496499&cid=C0368RPHLQH

Changes

Added ordering the returned results.

image image

Also just reading docs it seems like we're going to be moving away from the /events/ endpoint, but this was a quick fix for the high priority bug, can move to /query endpoint eventually, which will require a slight refactor in the taxonomicFilterLogic

👉 Stay up-to-date with PostHog coding conventions for a smoother review.

Does this work well for both Cloud and self-hosted?

N/A

How did you test this code?

Tested on UI

@anirudhpillai anirudhpillai requested a review from a team July 20, 2024 16:07
@anirudhpillai anirudhpillai changed the title fix:user paths url selector search fix: user paths url selector search Jul 20, 2024
@anirudhpillai anirudhpillai merged commit fc0017a into master Jul 22, 2024
84 checks passed
@anirudhpillai anirudhpillai deleted the fix/user-paths-selectors-search branch July 22, 2024 10:08
skoob13 pushed a commit that referenced this pull request Jul 22, 2024
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
silentninja pushed a commit to silentninja/posthog that referenced this pull request Aug 8, 2024
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
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.

User paths insights - unable to enter or select specific URL
3 participants