Skip to content

[Page layouts] Some light fixes#103197

Merged
myasonik merged 22 commits intoelastic:masterfrom
cchaos:design_fixes/7_14/page_layouts
Jun 30, 2021
Merged

[Page layouts] Some light fixes#103197
myasonik merged 22 commits intoelastic:masterfrom
cchaos:design_fixes/7_14/page_layouts

Conversation

@cchaos
Copy link
Copy Markdown
Contributor

@cchaos cchaos commented Jun 24, 2021

Mostly trying to better adhere to the Page Layout Guidelines and fixing a few things that were not caught in the conversion.

The big change, is that the KibanaPageTemplate was using the wrong default template type for emptyState when there was a sidebar. It should always be centeredContent never centeredBody.

Before
Screen Shot 2021-06-24 at 09 48 10 AM

After
Screen Shot 2021-06-24 at 09 54 02 AM

Including loading screens
Screen Shot 2021-06-24 at 09 49 09 AM

Checklist

Delete any items that are not applicable to this PR.

@cchaos cchaos marked this pull request as ready for review June 24, 2021 13:55
@cchaos cchaos requested review from a team June 24, 2021 13:55
@cchaos cchaos requested a review from a team as a code owner June 24, 2021 13:55
@cchaos cchaos requested a review from a team June 24, 2021 13:55
@cchaos cchaos requested review from a team as code owners June 24, 2021 13:55
@cchaos cchaos requested a review from a team June 24, 2021 13:55
@cchaos cchaos added release_note:skip Skip the PR/issue when compiling release notes v7.14.0 labels Jun 24, 2021
@cchaos cchaos changed the title [WIP] [Page layouts] Some light fixes [Page layouts] Some light fixes Jun 24, 2021
Copy link
Copy Markdown
Member

@sabarasaba sabarasaba left a comment

Choose a reason for hiding this comment

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

kibana stack management changes LGTM 🚀

@weltenwort weltenwort self-requested a review June 28, 2021 14:11
Copy link
Copy Markdown
Member

@weltenwort weltenwort left a comment

Choose a reason for hiding this comment

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

infra plugin changes LGTM, thank you!

Copy link
Copy Markdown
Contributor

@jloleysens jloleysens left a comment

Choose a reason for hiding this comment

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

App services changes LGTM 🍻

Copy link
Copy Markdown
Contributor

@peteharverson peteharverson left a comment

Choose a reason for hiding this comment

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

Tested latest ML edits and LGTM

@myasonik myasonik added the auto-backport Deprecated - use backport:version if exact versions are needed label Jun 29, 2021
@myasonik myasonik enabled auto-merge (squash) June 29, 2021 16:30
@snide
Copy link
Copy Markdown
Contributor

snide commented Jun 29, 2021

@elasticmachine merge upstream

@kibanamachine
Copy link
Copy Markdown
Contributor

⏳ Build in-progress, with failures

Failed CI Steps

History

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

@snide
Copy link
Copy Markdown
Contributor

snide commented Jun 29, 2021

@elasticmachine merge upstream

@cee-chen
Copy link
Copy Markdown
Contributor

@elasticmachine merge upstream

@cchaos cchaos requested a review from a team as a code owner June 29, 2021 21:26
Copy link
Copy Markdown
Contributor

@bhavyarm bhavyarm left a comment

Choose a reason for hiding this comment

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

LGTM for QA change

@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
ml 1718 1727 +9

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
enterpriseSearch 2.1MB 2.1MB -291.0B
indexPatternManagement 550.9KB 551.0KB +8.0B
infra 1.7MB 1.7MB +50.0B
licenseManagement 127.0KB 126.7KB -328.0B
logstash 47.2KB 46.8KB -432.0B
management 17.0KB 17.1KB +139.0B
ml 5.9MB 5.9MB +939.0B
reporting 64.9KB 64.9KB +16.0B
savedObjectsTagging 76.6KB 76.7KB +110.0B
triggersActionsUi 1.6MB 1.6MB -1.1KB
total -881.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
kibanaReact 146.8KB 146.8KB +50.0B
presentationUtil 43.4KB 43.4KB +80.0B
total +130.0B

History

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

@myasonik myasonik disabled auto-merge June 30, 2021 00:49
@myasonik myasonik merged commit 7d45fcf into elastic:master Jun 30, 2021
@myasonik myasonik deleted the design_fixes/7_14/page_layouts branch June 30, 2021 00:50
@kibanamachine
Copy link
Copy Markdown
Contributor

💔 Backport failed

Status Branch Result
7.x Commit could not be cherrypicked due to conflicts

To backport manually run:
node scripts/backport --pr 103197

snide added a commit that referenced this pull request Jun 30, 2021
* [Solution Toolbar] Fixing button border on non-text color versions

* [Alerts] Removed extra wrappers and use EuiPageHeader

* [Logstash] Basic conversion to template

* [Reporting] Adding bottomBorder to page header

* [ML] Fix display of main navigation tabs

* [Stack Management] Fix side nav not updating when going back to landing page

* [Tags] Add spacing after page header

* [License Management] Full width on file uploader

* [Page Template] Fixed `emptyState` default template for pages with side nav

* [Infra] Removing some page header displays in empty states

* [Enterprise Search] Fix some error layouts

* [Index Patterns] Quick fix for empty state

* snaps

* [Page Template] Remove forced padding when `centeredBody`

* small hack for tab padding for ml

* scroll ML page to fix test

* fix test method type signature

Co-authored-by: Dave Snider <dave.snider@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Michail Yasonik <michail.yasonik@elastic.co>

Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Michail Yasonik <michail.yasonik@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Deprecated - use backport:version if exact versions are needed release_note:skip Skip the PR/issue when compiling release notes v7.14.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.