[Reporting] Rewrite PDF Legacy Compatibility Shim to TS#108317
Closed
tsullivan wants to merge 1 commit intoelastic:7.xfrom
Closed
[Reporting] Rewrite PDF Legacy Compatibility Shim to TS#108317tsullivan wants to merge 1 commit intoelastic:7.xfrom
tsullivan wants to merge 1 commit intoelastic:7.xfrom
Conversation
tsullivan
commented
Aug 12, 2021
Member
Author
There was a problem hiding this comment.
Rewritten from compatibility_shim.js
37dc3ae to
1124434
Compare
tsullivan
commented
Aug 12, 2021
Member
Author
There was a problem hiding this comment.
These changes remove the "Factory" abstraction that was in the JS version of this file, and simply accept the logger object as the 2nd function parameter.
This cleanup aligns with #106940
Restore the legacy shim for PDF job creation from the 7.x branch.
1124434 to
416e017
Compare
Contributor
💔 Build Failed
Failed CI Steps
Test FailuresKibana Pipeline / jest / Jest Tests.x-pack/plugins/reporting/server/export_types/printable_pdf/create_job.passes title through if providedStandard OutStack TraceKibana Pipeline / jest / Jest Tests.x-pack/plugins/reporting/server/export_types/printable_pdf/create_job.gets the title from the savedObjectStandard OutStack TraceKibana Pipeline / jest / Jest Tests.x-pack/plugins/reporting/server/export_types/printable_pdf/create_job.passes the objectType and savedObjectId to the savedObjectsClientStandard OutStack Traceand 16 more failures, only showing the first 3. Metrics [docs]
To update your PR or re-run it, just comment with: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Restore the legacy shim for PDF job creation from the 7.x branch.
Summary
Summarize your PR. If it involves visual changes include a screenshot or gif.
Checklist
Delete any items that are not applicable to this PR.
For maintainers