-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
ref(replay/feedback): don't suggest empty tag #80353
Conversation
3afff38
to
652821e
Compare
Codecov ReportAttention: Patch coverage is ✅ All tests successful. No failed tests found.
Additional details and impacted files@@ Coverage Diff @@
## master #80353 +/- ##
==========================================
- Coverage 78.33% 77.33% -1.01%
==========================================
Files 7188 7188
Lines 317875 317885 +10
Branches 43812 43813 +1
==========================================
- Hits 249018 245822 -3196
- Misses 62510 65550 +3040
- Partials 6347 6513 +166 |
We should look into why we're storing empty tags in the first place 🤔🤔 |
it's based on most commonly searched values |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should leave it in because it's a valid use case to look for untagged events
@billyvg oh is searching for os.name="" meant to be the same as searching for replays without the os.name tag? Just did a search and this replay with os.name=MacOS is returned. |
No, just literal empty string -- though maybe I am making this up and it's not a valid tag value? |
@aliu39 @billyvg i think my reasoning for removing the empty string suggestion is more like, having an empty tag value isn't a useful suggestion for users most of the time since they probably want to search on an actual name/version - i'd rather save cognitive load and just show suggestions that are actually values. maybe "" is a valid tag to search on but it's not necessarily useful to suggest |
Based on the results of the search I linked above, I don't think the search for "" is valid, so I'm good with removing it. My question is still why is this value returned by the backend - I can make a note for that or open a separate ticket. We can also, maybe, support an explicit value that indicates "I want to search for replays missing this tag". Similar to what I did for user fields a while back. But if we don't have this functionality already, that's out of scope from this pr too. |
I worked on this endpoint for replays, these suggestions are from our database and |
resolves JAVASCRIPT-2WH4
before:
Untitled.mov
after:
Screen.Recording.2024-11-06.at.3.52.50.PM.mov