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] expand extent filter to tile boundaries #54276

Merged
merged 5 commits into from
Jan 14, 2020

Conversation

nreese
Copy link
Contributor

@nreese nreese commented Jan 8, 2020

Fixes #54038

This PR expands the extent query to tile boundaries to avoid partial results for tiles that are bisected by the original extent.

To view the problem, create a map with a geo grid source. Drag the map (without letting go of mouse button) until the edge of the current extent is visible. Release the mouse button. This will fetch new data. Notice how some of the buckets on the edge of the extent increase in value after a re-fetch.

Screen Shot 2020-01-08 at 10 53 45 AM

Screen Shot 2020-01-08 at 10 54 25 AM

After applying the fix. Preform the same actions. Notice how only complete grid cells are requested from elasticsearch at the edge of the extent.

Screen Shot 2020-01-08 at 10 58 09 AM

@nreese nreese added release_note:fix [Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation v8.0.0 v7.6.0 labels Jan 8, 2020
@nreese nreese requested a review from a team as a code owner January 8, 2020 16:19
@elasticmachine
Copy link
Contributor

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

@@ -213,12 +213,16 @@ export function GisPageProvider({ getService, getPageObjects }) {
return links.length;
}

async isSetViewPopoverOpen() {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

These changes did not have anything to do with fixing functional tests. Just noticed when running these tests locally that waiting default 2500 for this check is painfully slow.

@nreese
Copy link
Contributor Author

nreese commented Jan 8, 2020

@elasticmachine merge upstream

Copy link
Contributor

@nyurik nyurik left a comment

Choose a reason for hiding this comment

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

lgtm, thx!

@nreese
Copy link
Contributor Author

nreese commented Jan 13, 2020

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

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

Copy link
Contributor

@thomasneirynck thomasneirynck left a comment

Choose a reason for hiding this comment

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

good eye for detail @nyurik

@nreese nreese merged commit 75d6842 into elastic:master Jan 14, 2020
nreese added a commit to nreese/kibana that referenced this pull request Jan 14, 2020
* [Maps] expand extent filter to tile boundaries

* fix functional test

* simplify expandToTileBoundaries

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
nreese added a commit that referenced this pull request Jan 15, 2020
* [Maps] expand extent filter to tile boundaries

* fix functional test

* simplify expandToTileBoundaries

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
gmmorris added a commit to gmmorris/kibana that referenced this pull request Jan 15, 2020
* upstream/master: (72 commits)
  [ML] Calculate model memory limit API integration tests (elastic#54557)
  Skip flakey index template component integration tests. (elastic#54878)
  Add label and icon to nested fields in the doc table (elastic#54199)
  Reverse dependency of home plugin and apm/ml/cloud (elastic#52883)
  [SIEM][Detection Engine] Order JSON keys, fix scripts, update pre-packaged rules
  update invalid snapshot
  add readme note about alerting / manage_api_key cluster privilege (elastic#54639)
  [SIEM] New Overview Page (elastic#54783)
  [Uptime] Feature/refactor context initialization (elastic#54494)
  Upgrade EUI to v18.2.0 (elastic#54786)
  [SIEM] [Detection engine] from signals to timeline (elastic#54769)
  [Index Management] Add Mappings Editor to Index Template Wizard (elastic#47562)
  [SIEM][Detection Engine] Removes deprecated filter from mapping
  [Maps] Add categorical styling (elastic#54408)
  Add mapbox-gl-rtl-text library (elastic#54842)
  [SIEM][Detection Engine] Adds actions to Rule Details (elastic#54828)
  Lexicographically sort location tags (elastic#54832)
  [Maps] expand extent filter to tile boundaries (elastic#54276)
  [Maps] Use v7.6 Elastic Maps Service API (elastic#54399)
  [DOCS] Adds monitoring setting (elastic#54819)
  ...
jkelastic pushed a commit to jkelastic/kibana that referenced this pull request Jan 17, 2020
* [Maps] expand extent filter to tile boundaries

* fix functional test

* simplify expandToTileBoundaries

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation release_note:fix v7.6.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect tile grid data vis in maps
5 participants