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

Custom Widget "Filter your results" does not allow for wildcard and or condition to be used concurrently #80425

Open
ReneGreen27 opened this issue Nov 7, 2024 · 3 comments

Comments

@ReneGreen27
Copy link
Member

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

  • Navigate to create a custom widget
  • Go the "Filter your results" section
  • You'll find that using a wildcard works, or using the OR condition, but not both. For example:

Both of these work:
plugin_sdk_version is 1.1.*
plugin_sdk_version is 1.1.4 or 1.2.2

This does not work:
plugin_sdk_version is 1.1.* or 1.2.*

The last filter results in no results being shown. Results are shown for both of the previous filters.

Internal ticket contains example #137334

Expected Result

Customer expects that both conditions be able to be used concurrently since they can be used separately to provide results

Actual Result

No results shown when both wildcard and OR used

Product Area

Dashboards

Link

No response

DSN

No response

Version

No response

@getsantry
Copy link
Contributor

getsantry bot commented Nov 7, 2024

Assigning to @getsentry/support for routing ⏲️

@getsantry
Copy link
Contributor

getsantry bot commented Nov 8, 2024

Routing to @getsentry/product-owners-dashboards for triage ⏲️

@gggritso
Copy link
Member

gggritso commented Nov 8, 2024

@ReneGreen27 thanks for raising this! That syntax is not supported by design. You can express this query like this: (plugin_sdk_version:1.1.* OR plugin_sdk_version:1.2.*)

I can add this as a feature request if you want. I'm also going to talk to the query builder team about maybe showing to the user that wildcards aren't supported in this way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

3 participants