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

Need advanced feature for attribute selectors #3047

Closed
moonrailgun opened this issue Jan 22, 2021 · 5 comments
Closed

Need advanced feature for attribute selectors #3047

moonrailgun opened this issue Jan 22, 2021 · 5 comments
Labels
enhancement New feature or request stale

Comments

@moonrailgun
Copy link

moonrailgun commented Jan 22, 2021

Is your feature request related to a problem?

Hi, our project need advanced feature about attribute selectors,

just like

  • a[href*="example"]
  • a[href$=".org"]
  • a[href^="www"]
  • a[class~="logo"]

Describe the solution you'd like

In source code https://github.com/PostHog/posthog/blob/master/posthog/models/event.py, yours looks like just support simple feature like a[href="example"] ,

But in some case, we would like to find following data like data-tracker="login-form-submit" and data-tracker="login-form-reset" by only filtering it withbutton[data-tracker^="login-form"]

Describe alternatives you've considered

Additional context

Just think is any performance problem for SQL? I have no idea about it

Related link: https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors

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

@paolodamico
Copy link
Contributor

Thanks for your request @moonrailgun! This would certainly be very helpful. Adding it to our improvements for core analytics EPIC.

@posthog-bot
Copy link
Contributor

This issue hasn't seen activity in 6 months. Is it still relevant?

@Twixes Twixes removed the stale label Aug 3, 2021
@paolodamico
Copy link
Contributor

Well I think we've seen this come up every now and again with newer users of the product. Perhaps worth keeping in the backburner.

@posthog-bot
Copy link
Contributor

This issue hasn't seen activity in two years! If you want to keep it open, post a comment or remove the stale label – otherwise this will be closed in two weeks.

@posthog-bot
Copy link
Contributor

This issue was closed due to lack of activity. Feel free to reopen if it's still relevant.

@posthog-bot posthog-bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request stale
Projects
None yet
Development

No branches or pull requests

4 participants