-
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
[ML] Response Stream developer example: Migrate deprecated EUI components. #162454
[ML] Response Stream developer example: Migrate deprecated EUI components. #162454
Conversation
Pinging @elastic/ml-ui (:ml) |
{children} | ||
</EuiPageContentBody> | ||
</EuiPageContent> | ||
<EuiPageSection style={{ maxWidth: 800, margin: '0 auto' }}>{children}</EuiPageSection> |
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.
Can you pass a css
prop instead? And can we avoid using a magic number? I wonder if there is a variable provided by EUI for page width.
<EuiPageSection style={{ maxWidth: 800, margin: '0 auto' }}>{children}</EuiPageSection> | |
<EuiPageSection css={{ maxWidth: 800, margin: '0 auto' }}>{children}</EuiPageSection> |
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.
Tested and LGTM 🎉 |
Added a breadcrumb to be able to navigate back to the developer examples main page in dab42ee. |
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
💚 Build Succeeded
Metrics [docs]
History
To update your PR or re-run it, just comment with: cc @walterra |
…ents. (elastic#162454) Migrates deprecated EUI components for the response stream developer example plugin. Adds a breadcrumb to the example to be able to navigate back to the overview page.
Summary
Part of #161408.
Migrates deprecated EUI components for the response stream developer example plugin. To run Kibana with developer examples use
yarn start --run-examples
. Here's direct links to the pages that have been migrated:Checklist