-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Maps] clean up source settings #52644
Conversation
Pinging @elastic/kibana-gis (Team:Geo) |
Pinging @elastic/kibana-docs (Team:Docs) |
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.
Looks sooo much better!
Two small suggestions:
-
consider adding some division between the sort-order (field and order-dropdowns) optins and the top-hits options (switch and entity-dropdown)
-
consider putting the filter-query editor on a single line. It looks a little unbalanced now imho
e.g.:
x-pack/legacy/plugins/maps/public/layers/sources/es_geo_grid_source/update_source_editor.js
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.
For the UI text:
"Show documents per entity" is a little vague for the radio button description. Some suggestions:
Show top documents per entity
Show top hits per entity
But that begs to question, is there a better word for entity?
Added a EuiHorizontalRule rule between sort and top hits options
I will leave as-is for now since its consistent with adding Metrics and adding tooltip fields. |
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
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
* [Maps] clean up source settings * update es_search_source editor * geo grid source * pew pew source * fix i18n * doc updates for changing UI * docs re-wording * use correct image name * update snapshot * review feedback
Fixes #47467
Source settings placed all inputs into a single panel. This was starting to create a mess. This PR allows each source to add multiple panels for their source settings so settings can be organized better.