getsentry / sentry

Developer-first error tracking and performance monitoring
https://sentry.io
Other
37.08k stars 3.98k forks source link

Issues: Search appears to be buggy - shows no results when all filters are removed #70039

Open bruno-garcia opened 2 weeks ago

bruno-garcia commented 2 weeks ago

When testing user feedbacks I encountered an issue on search. It working properly until I turned on EA in settings, which enabled the issue priority. That added the filters for [medium, high] priority, but I only had 'low' priority issues, so issues stream came out empty.

To see the results I removed the filters, and noticed nothing showed up still. After some clicking around they showed up, then again disappeared.

https://github.com/getsentry/sentry/assets/1633368/143540e1-93fd-4366-9736-9d9398203657

I was using: https://bruno-test.sentry.io/issues/?project=4505865338617856&referrer=sidebar&statsPeriod=14d

Eventually I realized that if I remove the filters and hit enter (no reload), the issues show up: image

But as soon as the page reload, they are gone:

image

getsantry[bot] commented 2 weeks ago

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

snigdhas commented 2 weeks ago

This is technically consistent with the existing behavior - reloading the page with no query will return the results from the default query. Since issue priority updated the default query to is:unresolved issue.priority:[high, medium], those filters are implicitly being applied on page reload.

That being said, this is definitely confusing and not made clear. I'll check with the team on how to improve the experience here.