[canvas] New Home Page#102446
Conversation
|
@elasticmachine merge upstream |
|
@elasticmachine merge upstream |
|
merge conflict between base and head |
feea01c to
e8fd903
Compare
e8fd903 to
ec95649
Compare
|
Pinging @elastic/kibana-presentation (Team:Presentation) |
| getUploadFailureErrorMessage: () => | ||
| i18n.translate('xpack.canvas.error.workpadLoader.uploadFailureErrorMessage', { | ||
| defaultMessage: `Couldn't upload workpad`, | ||
| WorkpadDropzone: { |
There was a problem hiding this comment.
Move to component
|
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Module Count
Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: |
crob611
left a comment
There was a problem hiding this comment.
Looks great to me.
I like leaving the hooks in the component folder for now, but we will need to consider where to put our "common" hooks that may be used across multiple components in the future. I did the same thing for the hooks used by a lot of the routes.
|
@crob611 My thoughts, as well. I think when we move to the "feature folder" structure, this will be a lot easier. |
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
Summary
Fixes #98827
This is a PR containing the new Home Page for Canvas based on the new Analytics Solution page layouts. To test, you can pull the PR, or you can just view the built Storybook! (click the
Storybook Previewlink from @elasticmachine below).There's a lot here, but I'll summarize:
Highlights
reduxhooks in a component which consumes a functional component for ease of testing.React.lazyMore
For Follow-up
EuiPageLayout.