-
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] fix geojson layer with joins and no left source matches stuck in loading state #160222
Conversation
…-ref HEAD~1..HEAD --fix'
@elasticmachine merge upstream |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
Pinging @elastic/kibana-presentation (Team:Presentation) |
@@ -118,6 +118,7 @@ export class AddLayerPanel extends Component<Props, State> { | |||
disabled={isDisabled || isLoading} | |||
isLoading={isLoading} | |||
onClick={addLayersAndClose} | |||
iconSide="right" |
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.
@@ -106,7 +106,8 @@ export function GeoIndexPatternSelect(props: Props) { | |||
} | |||
|
|||
const IndexPatternSelect = getIndexPatternSelectComponent(); | |||
const error = !hasGeoFields | |||
const isDataViewInvalid = !props.dataView ? false : !hasGeoFields; |
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.
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!
code review and tested against reported bug
@elasticmachine merge upstream |
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Async chunks
Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: |
…in loading state (elastic#160222) closes elastic#156630 --------- Co-authored-by: kibanamachine <[email protected]> (cherry picked from commit c947427)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…stuck in loading state (#160222) (#160541) # Backport This will backport the following commits from `main` to `8.9`: - [[maps] fix geojson layer with joins and no left source matches stuck in loading state (#160222)](#160222) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Nathan Reese","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-06-26T15:27:28Z","message":"[maps] fix geojson layer with joins and no left source matches stuck in loading state (#160222)\n\ncloses https://github.com/elastic/kibana/issues/156630\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"c9474270d1d513784fb21d61603567adfc66f1aa","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Presentation","Feature:Maps","v8.9.0","v8.10.0"],"number":160222,"url":"https://github.com/elastic/kibana/pull/160222","mergeCommit":{"message":"[maps] fix geojson layer with joins and no left source matches stuck in loading state (#160222)\n\ncloses https://github.com/elastic/kibana/issues/156630\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"c9474270d1d513784fb21d61603567adfc66f1aa"}},"sourceBranch":"main","suggestedTargetBranches":["8.9"],"targetPullRequestStates":[{"branch":"8.9","label":"v8.9.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/160222","number":160222,"mergeCommit":{"message":"[maps] fix geojson layer with joins and no left source matches stuck in loading state (#160222)\n\ncloses https://github.com/elastic/kibana/issues/156630\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"c9474270d1d513784fb21d61603567adfc66f1aa"}}]}] BACKPORT--> Co-authored-by: Nathan Reese <[email protected]>
closes #156630