-
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
[home] Fix add sample data
page layout
#102647
[home] Fix add sample data
page layout
#102647
Conversation
add sample data
page layout
Pinging @elastic/kibana-core (Team:Core) |
{this.renderTabContent()} | ||
</EuiPageBody> | ||
</EuiPage> | ||
<KibanaPageTemplate restrictWidth={1200}> |
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 also move the page header implementation to the pageHeader
prop here?
<KibanaPageTemplate restrictWidth={1200}> | |
<KibanaPageTemplate | |
restrictWidth={1200} | |
pageHeader={{ | |
pageTitle: (<FormattedMessage />), | |
rightSideItems: [headerLinks], | |
}} | |
> |
@cchaos performed the requested changes, and moved the tabs inside the header. |
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! I told @pgayvallet that I have to look into the display of the bottom border on the page header when templates are "empty". Most likely an EUI fix needed.
💚 Build SucceededMetrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: |
FWIW, who will be reviewing it, similar happens on "Logs" and "Upload file" tabs. |
Yea, all tabs of the page were impacted and are fixed by the current PR |
* Fix add sample data layout * remove useless change * use KibanaPageTemplate * use pageHeader for the header * move tabs inside header * tweaks * fix imports
* Fix add sample data layout * remove useless change * use KibanaPageTemplate * use pageHeader for the header * move tabs inside header * tweaks * fix imports
@pgayvallet The follow-up fix for the page header is in this EUI upgrade PR #103297 |
Summary
Fix #102260
Part of #98359
Before
Notifications dismissed:
After
(don't mind the zoom-out, used it to reproduce the gaps more easily)