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

[Canvas][tech-debt] Add Typescript to apps directory #73766

Merged
merged 6 commits into from
Aug 7, 2020

Conversation

clintandrewhall
Copy link
Contributor

Summary

The /apps directory contains components that, combined with the router, load various views of Canvas. This PR strongly-types these components and related files.

It also removes a few "loading" components that were impossible to render, (e.g. null workpad in state) and weren't even i18n'd.

Anything involving the router was left for future work involved in typing or replacing it.

Testing

  • Tested the "home" screen and related nav.
  • Tested loading and navigating a workpad, (and nav'ing home).
  • Tested PDF reporting.

@clintandrewhall clintandrewhall added review Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas loe:small Small Level of Effort technical debt Improvement of the software architecture and operational architecture v8.0.0 impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. v7.10.0 labels Jul 30, 2020
@clintandrewhall clintandrewhall requested a review from a team as a code owner July 30, 2020 02:28
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-canvas (Team:Canvas)

@clintandrewhall clintandrewhall added the release_note:skip Skip the PR/issue when compiling release notes label Jul 30, 2020
@clintandrewhall
Copy link
Contributor Author

@elasticmachine merge upstream

@clintandrewhall
Copy link
Contributor Author

@elasticmachine merge upstream

Copy link
Contributor

@crob611 crob611 left a comment

Choose a reason for hiding this comment

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

Looks good. See one minor question in the ExportApp

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Build metrics

@kbn/optimizer bundle module count

id value diff baseline
canvas 1204 +1 1203

async chunks size

id value diff baseline
canvas 1.4MB -8.5KB 1.4MB

History

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

@clintandrewhall clintandrewhall merged commit c6c300e into elastic:master Aug 7, 2020
@clintandrewhall clintandrewhall deleted the tech-debt/ts-apps branch August 7, 2020 15:21
clintandrewhall added a commit to clintandrewhall/kibana that referenced this pull request Aug 7, 2020
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
@kibanamachine
Copy link
Contributor

Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync.

@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Aug 11, 2020
@kibanamachine
Copy link
Contributor

Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync.

@kibanamachine kibanamachine removed the backport missing Added to PRs automatically when the are determined to be missing a backport. label Aug 13, 2020
clintandrewhall added a commit that referenced this pull request Aug 13, 2020
…74618)

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
impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:small Small Level of Effort release_note:skip Skip the PR/issue when compiling release notes review Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas technical debt Improvement of the software architecture and operational architecture v7.10.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants