-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
feat(searchbar): Add tooltip descriptions to filter keys #92449
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
base: master
Are you sure you want to change the base?
Conversation
Adds a tooltip to each filter key.
Codecov ReportAll modified and coverable lines are covered by tests ✅ ✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## master #92449 +/- ##
==========================================
+ Coverage 87.89% 87.92% +0.03%
==========================================
Files 10239 10226 -13
Lines 587415 585225 -2190
Branches 22809 22678 -131
==========================================
- Hits 516311 514585 -1726
+ Misses 70674 70218 -456
+ Partials 430 422 -8 |
static/app/components/searchQueryBuilder/tokens/filterKeyListBox/utils.tsx
Outdated
Show resolved
Hide resolved
static/app/components/searchQueryBuilder/tokens/filter/filterOperator.tsx
Outdated
Show resolved
Hide resolved
if (!includeKeyLabel) { | ||
return <OpLabel>{opLabel}</OpLabel>; | ||
} | ||
|
||
return ( | ||
<KeyOpLabelWrapper> | ||
<span>{keyLabel}</span> | ||
<Tooltip title={fieldDefinition?.desc} skipWrapper> |
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.
Is it possible to wrap this tooltip around the whole thing? For is not
it looks like it only gets wrapped around is
. Kind of an edge case though
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.
thanks!
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.
# Conflicts: # static/app/utils/fields/index.ts
Adds a tooltip to each filter key.
fixes https://linear.app/getsentry/issue/RTC-862/mouseover-of-search-attributes-should-show-the-schema-info