Skip to content
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] fix fit to bounds for ES document layers with joins #73985

Merged
merged 1 commit into from
Aug 1, 2020

Conversation

nreese
Copy link
Contributor

@nreese nreese commented Jul 31, 2020

Fixes #66662

This PR updates vector layer with joins to use client side join logic instead of making source bounds request since when there are joins, the join is done on the client so the fit to bounds must also be done on the client

@nreese nreese requested a review from nickpeihl July 31, 2020 18:06
@nreese nreese requested a review from a team as a code owner July 31, 2020 18:06
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-gis (Team:Geo)

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Build metrics

async chunks size

id value diff baseline
maps 3.3MB +19.0B 3.3MB

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

Copy link
Member

@nickpeihl nickpeihl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! this fixes the issue!

  • tested in chrome
  • code review

@nreese nreese merged commit 330212e into elastic:master Aug 1, 2020
nreese added a commit to nreese/kibana that referenced this pull request Aug 1, 2020
nreese added a commit to nreese/kibana that referenced this pull request Aug 1, 2020
…3985)

# Conflicts:
#	x-pack/plugins/maps/public/classes/layers/vector_layer/vector_layer.js
#	x-pack/test/functional/apps/maps/auto_fit_to_bounds.js
nreese added a commit that referenced this pull request Aug 1, 2020
) (#74041)

* [maps] fix fit to bounds for ES document layers with joins (#73985)

# Conflicts:
#	x-pack/plugins/maps/public/classes/layers/vector_layer/vector_layer.js
#	x-pack/test/functional/apps/maps/auto_fit_to_bounds.js

* rename hasJoins to _hasJoins
gmmorris added a commit to gmmorris/kibana that referenced this pull request Aug 2, 2020
* master: (39 commits)
  [Canvas][tech-debt] Rename __examples__ to __stories__ (elastic#73853)
  [Canvas] Storybook Redux Addon (elastic#73227)
  Use "Apply_filter_trigger" in "explore underlying data" action (elastic#71445)
  [maps] convert top nav config to TS (elastic#73851)
  [maps] fix fit to bounds for ES document layers with joins (elastic#73985)
  [Canvas][tech-debt] Refactor Toolbar (completes Kill Recompose.pure) (elastic#73309)
  [CI] In-progress Slack notifications (elastic#74012)
  [SIEM][Detection Engine] Fixes tags to accept characters such as AND, OR, (, ), ", * (elastic#74003)
  [SECURITY_SOLUTION][ENDPOINT] Fix host list Configuration Status cell link loosing list page/size state (elastic#73989)
  Tweak injected metadata (elastic#73990)
  Closes elastic#73998 by using `canAccessML` in the ML capabilities API to (elastic#73999)
  [SIEM] Fixes toaster errors when siemDefault index is an empty or empty spaces (elastic#73991)
  [Security Solution] Fix timeline pin event callback (elastic#73981)
  [Security Solution] Fix unexpected redirect (elastic#73969)
  [Metrics UI] Fix Metrics Explorer TSVB link to use workaround pattern (elastic#73986)
  [APM] docs: Update machine learning integration (elastic#73597)
  [Ingest Manager] Fix limited concurrency helper (elastic#73976)
  [build/sysv] fix missing env variable rename (elastic#73977)
  Fix a typo. (elastic#73948)
  [Ingest Manager] Revert fleet config concurrency rollout to rate limit (elastic#73940)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Maps] bounds fit does not take into account joins for ES-doc layers
4 participants