-
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] direct Discover "visualize" to open Maps application #58549
Conversation
Pinging @elastic/kibana-gis (Team:Geo) |
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.
tested locally in Chromium and Firefox, for both geo_point
and geo_shape
types, the automatic tooltip based on the columns configured from the Discover app was a nice surprise 😄
@elasticmachine merge upstream |
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.
...egacy/core_plugins/kibana/public/discover/np_ready/components/field_chooser/field_chooser.js
Outdated
Show resolved
Hide resolved
...egacy/core_plugins/kibana/public/discover/np_ready/components/field_chooser/field_chooser.js
Outdated
Show resolved
Hide resolved
I don't think that would add any value. Since the page is angular and going to be refactored in the future I don't think tinkering with small details like this is worth the effort. |
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.
Code LGTM, tested locally in Chrome, nice improvement for the user!
...egacy/core_plugins/kibana/public/discover/np_ready/components/field_chooser/field_chooser.js
Outdated
Show resolved
Hide resolved
..._plugins/kibana/public/discover/np_ready/components/field_chooser/lib/visualize_url_utils.ts
Outdated
Show resolved
Hide resolved
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
…58549) * [Maps] direct Discover visualize to Maps application * pass initial layers to maps app * add functional test * fix parentheses messed up by lint fix * fix i18n expression * move logic into lib * fix typescript errors * use constant for geo_point and geo_shape, more TS noise * use encode_array in an attempt to make TS happy * another round of TS changes * one more thing Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
…59066) * [Maps] direct Discover visualize to Maps application * pass initial layers to maps app * add functional test * fix parentheses messed up by lint fix * fix i18n expression * move logic into lib * fix typescript errors * use constant for geo_point and geo_shape, more TS noise * use encode_array in an attempt to make TS happy * another round of TS changes * one more thing Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* master: (26 commits) [Endpoint] Alert Details Overview (elastic#58412) Service map language icons (elastic#58633) [SIEM] [Case] Comments to case view (elastic#58315) Remove appBasePath from docs + add mock for AppMountParameters (elastic#58775) [kbn/optimizer] fix ui/* url rewrites in dist (elastic#58627) Dashboard a11y tests (elastic#58122) Downgrade "setting up plugin" log to debug (elastic#58776) [CI] Pipeline refactoring (elastic#56447) [Advanced Settings] Fix a11y of unsaved indicator (elastic#58511) put params into short url instead of behind it (elastic#58846) show timepicker in timelion and tsvb (elastic#58857) improve graph missing workspace error message (elastic#58876) [Maps] direct Discover "visualize" to open Maps application (elastic#58549) Disallow duplicate percentiles (elastic#57444) (elastic#58299) removing references to visTypes uiExports (elastic#58337) [SIEM] Default the Timeline events filter to show All events (elastic#58953) [Remote clusters] Add indexManagement as required plugin (elastic#58915) [DOCS] Rework of main get started page (elastic#58260) [Endpoint] [Tests] fixes elastic#57946 flaky endpoint policy list test (elastic#58348) [Endpoint] add resolver middleware (elastic#58288) ...
fixes #57051
This PR updates Discover to open geo_point and geo_shape fields in the Maps application when the Maps app is available.
To handle the link, the maps application has a new parameter,
initialLayers
, that can be used to pass layer descriptors to a new map instance.I was going to wait for #57879 to merge prior to making this change but, that PR may not make 7.7 and I wanted to make sure Discover points users towards the maps application instead of the legacy map visualizations. Then once #57879 is merged, the layer descriptor can be updated to use the blended layer.