-
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 vector tile load errors not displayed in legend #130395
Conversation
Pinging @elastic/kibana-gis (Team:Geo) |
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: |
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 in chrome
* Clear errors when center tile changes. | ||
* Tracking center tile provides the cleanest way to know when a new data fetching cycle is beginning | ||
*/ |
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.
This is clever!
}); | ||
}); | ||
|
||
test('should not set content-encoding when elasticsearch does not provide value', () => { |
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.
thanks for providing these tests! 👍
@@ -1464,7 +1464,7 @@ export const kibanaResponseFactory: { | |||
message: string | Error; | |||
attributes?: ResponseErrorAttributes | undefined; | |||
}>; | |||
customError: (options: CustomHttpResponseOptions<ResponseError>) => KibanaResponse<string | Error | { | |||
customError: (options: CustomHttpResponseOptions<ResponseError | Buffer | Stream>) => KibanaResponse<string | Error | Buffer | Stream | { |
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.
Looks ok to me, although as a nit, it would probably be good to add a note that explains the implications of using a Buffer or Stream as a customError
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.
it would probably be good to add a note that explains the implications of using a Buffer or Stream as a customError
Can you add more details about what to add?
* [Maps] fix vector tile load errors not displayed in legend * revert unneeded change * update API docs * add error integration test * [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix' * eslint and fix jest test * [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix' * cleanup Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit fa89c45)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…0395) (#130514) * [Maps] fix vector tile load errors not displayed in legend (#130395) * [Maps] fix vector tile load errors not displayed in legend * revert unneeded change * update API docs * add error integration test * [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix' * eslint and fix jest test * [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix' * cleanup Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit fa89c45) * fix import Co-authored-by: Nathan Reese <reese.nathan@elastic.co>
…disable-server-side * 'main' of github.com:elastic/kibana: (103 commits) [Osquery] Update eslint config (elastic#129637) [Uptime] Update monitor saved object mappings (elastic#130433) Add links to metricbeat module docs (elastic#130519) Add link to troubleshooting guide in confirm data copy (elastic#130420) [Step 3] Cleanup charts plugin (elastic#130132) [Visualize] Adds a deprecation warning to the pie app (elastic#130447) [Maps] fix vector tile load errors not displayed in legend (elastic#130395) [CI] Split alerting-api-integration tests into separate cigroups (elastic#130414) [CI] Use spot instances for default cigroups in PR CI (elastic#130476) [functional-tests] TimePicker optimizations (elastic#130200) [kbn/pm] use stable module ids in dist (elastic#130497) [8.2.1][Security Solution][Session view] fix full screen session view margin (elastic#130496) Fix wrong config in comments (elastic#130378) Add deprecated telemetry (elastic#130458) Add eslint rule to support breaking up packages (elastic#130483) [Security Solution][Endpoint] Fix test stability and un-skip flaky tests (elastic#130176) Update object types for SharePoint Online external connector (elastic#130478) [Workplace Search] Fix broken feedback link (elastic#130475) Rename the term "execution" in config to "run" (elastic#130172) [Cloud Posture] use index with keyword mapping (elastic#130456) ... # Conflicts: # docs/user/reporting/index.asciidoc # x-pack/plugins/reporting/public/types.ts # x-pack/plugins/screenshotting/server/screenshots/index.test.ts # x-pack/plugins/screenshotting/server/screenshots/index.ts
…30395) * [Maps] fix vector tile load errors not displayed in legend * revert unneeded change * update API docs * add error integration test * [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix' * eslint and fix jest test * [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix' * cleanup Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Fixes #130199
Return elasticsearch error code to client. Display tile errors in UI
