-
Notifications
You must be signed in to change notification settings - Fork 8.4k
[Unified search] Distinguishes the adhoc from the permanent dataviews on the pickers #143525
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
Conversation
|
Another thing we could also do is to also add the icon on the list (using the prepend property of the EUISelectable) but honestly I don't like it :/ |
|
I like the idea of indicating temporary data views in the selectable list prior to having users select them, but I agree that the icon doesn't look too great in that prepend slot. Have you tried using the append slot instead? You could also try using an Example Without IconsExample With IconsI personally like the example without icons for the sake of cutting down on the visual clutter in an already robust menu. Let me know if one of those works for you. |
| cursor: pointer; | ||
| `} | ||
| /> | ||
| <EuiBadge color="hollow"> |
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.
ℹ️ We are changing this to EuiBadge for consistency
|
Thanx @MichaelMarcialis I love your proposal! Done! |
|
Pinging @elastic/kibana-vis-editors @elastic/kibana-vis-editors-external (Team:VisEditors) |
src/plugins/unified_search/public/dataview_picker/change_dataview.tsx
Outdated
Show resolved
Hide resolved
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.
LGTM, works as expected
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: |




Summary
Closes #141806
Adds an icon to indicate that the selected dataview in the picker is an adhoc one and a permanent badge to the dataview list.
Also implemented for the lens dataview picker list
