Skip to content

[Maps] refactor isPointsOnly, isLinesOnly, and isPolygonsOnly to make synchronous - #54067

Merged
nreese merged 5 commits into
elastic:masterfrom
nreese:sync_isPointsOnly
Jan 13, 2020
Merged

nreese merged 5 commits into
elastic:masterfrom
nreese:sync_isPointsOnly

Conversation

@nreese

@nreese nreese commented Jan 6, 2020

Copy link
Copy Markdown
Contributor

This PR sets isPointsOnly, isLinesOnly, and isPolygonsOnly in vector style features meta so accessing them is synchronous. Making access synchronous greatly simplifies lots of component code to avoid loading a bunch a async state

@nreese nreese added chore Team:Geo Former Team Label for Geo Team. Now use Team:Presentation v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.6.0 labels Jan 6, 2020
@nreese
nreese requested a review from thomasneirynck January 6, 2020 21:20
@nreese
nreese requested a review from a team as a code owner January 6, 2020 21:20
@elasticmachine

Copy link
Copy Markdown
Contributor

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

@thomasneirynck thomasneirynck left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

unreal
image

Only minor suggestions below.

Comment thread x-pack/legacy/plugins/maps/public/layers/styles/vector/vector_style.js Outdated
@nreese
nreese requested a review from thomasneirynck January 7, 2020 20:23
@nreese

nreese commented Jan 10, 2020

Copy link
Copy Markdown
Contributor Author

@elasticmachine merge upstream

@nreese

nreese commented Jan 10, 2020

Copy link
Copy Markdown
Contributor Author

retest

@nreese

nreese commented Jan 13, 2020

Copy link
Copy Markdown
Contributor Author

@elasticmachine merge upstream

@kibanamachine

Copy link
Copy Markdown
Contributor

💚 Build Succeeded

History

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

@nreese
nreese merged commit 14df4c0 into elastic:master Jan 13, 2020
nreese added a commit to nreese/kibana that referenced this pull request Jan 13, 2020
… synchronous (elastic#54067)

* [Maps] refactor isPointsOnly, isLinesOnly, and isPolygonsOnly to make synchronous

* fix jest test

* review feedback

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
jloleysens added a commit to jloleysens/kibana that referenced this pull request Jan 13, 2020
…age-offset-floating-tooltip

* 'master' of github.com:elastic/kibana:
  [Maps] refactor isPointsOnly, isLinesOnly, and isPolygonsOnly to make synchronous (elastic#54067)
  Fix icon path in tutorial introduction (elastic#49684)
  [State Management] State containers improvements (elastic#54436)
  Fix floating tools rendering logic (elastic#54505)
  Handle another double quote special case (elastic#54474)
  [Home][Tutorial] Add data UI for IBM MQ Filebeat module (elastic#54238)
  fix(package): upgrade transitive dependency elliptic to v6.5.2 (elastic#54476)
  [Graph] Fix various a11y issues (elastic#54097)

# Conflicts:
#	src/legacy/core_plugins/console/public/np_ready/application/models/legacy_core_editor/legacy_core_editor.ts
nreese added a commit that referenced this pull request Jan 13, 2020
… synchronous (#54067) (#54569)

* [Maps] refactor isPointsOnly, isLinesOnly, and isPolygonsOnly to make synchronous

* fix jest test

* review feedback

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

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
jkelastic pushed a commit to jkelastic/kibana that referenced this pull request Jan 17, 2020
… synchronous (elastic#54067)

* [Maps] refactor isPointsOnly, isLinesOnly, and isPolygonsOnly to make synchronous

* fix jest test

* review feedback

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
patrykkopycinski pushed a commit to patrykkopycinski/kibana that referenced this pull request May 6, 2026
… synchronous (elastic#54067)

* [Maps] refactor isPointsOnly, isLinesOnly, and isPolygonsOnly to make synchronous

* fix jest test

* review feedback

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

chore release_note:skip Skip the PR/issue when compiling release notes Team:Geo Former Team Label for Geo Team. Now use Team:Presentation v7.6.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants