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

Bump eui #20774

Merged
merged 8 commits into from
Jul 17, 2018
Merged

Bump eui #20774

merged 8 commits into from
Jul 17, 2018

Conversation

stacey-gammon
Copy link
Contributor

No description provided.

@elasticmachine
Copy link
Contributor

💔 Build Failed

@w33ble
Copy link
Contributor

w33ble commented Jul 13, 2018

@stacey-gammon what version(s) are you planning to target here?

@stacey-gammon
Copy link
Contributor Author

@w33ble, 6.x and 7.0. I'm not sure of the protocol, but I have some typings that are in 2.0 that I'd like to work against. I also added a comment on your PR.

@cchaos
Copy link
Contributor

cchaos commented Jul 13, 2018

These pages (the expanded ones) will need to be updated to fix the breaking changes from EuiPage.

screen shot 2018-07-13 at 16 46 39 pm

cchaos and others added 2 commits July 13, 2018 18:09
Mainly adding `EuiPageBody`’s where there were none
@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@stacey-gammon
Copy link
Contributor Author

homepage looks good:
screen shot 2018-07-16 at 2 13 05 pm

@cchaos
Copy link
Contributor

cchaos commented Jul 16, 2018

@stacey-gammon I'm confused, where did my fixes PR go? The changes are not in here and the homepage layout is broke again.

@stacey-gammon
Copy link
Contributor Author

that's really weird @cchaos! I have no idea. Hmmm, let me see if I can remerge the changes.

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@stacey-gammon
Copy link
Contributor Author

well I added your changes and updated the xpack snapshot tests @cchaos but i think now fialing on yet more flaky tests 😭

UI Functional Tests.test/functional/apps/management/_kibana_settings·js.management kibana settings "after all" hook

lets find out.

jenkins, test this.

@cchaos
Copy link
Contributor

cchaos commented Jul 17, 2018

Yeah, something about this missing selector [data-test-subj="advancedSetting-editField-dateFormat:tz"]...?

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@stacey-gammon
Copy link
Contributor Author

Filed the flaky test issue here: #20893

ready for review

@stacey-gammon
Copy link
Contributor Author

Ready for final review. Am out tomorrow - Friday so if I don't get it in today, this will either have to wait till next week or someone else will have to take over.

Copy link
Contributor

@cchaos cchaos left a comment

Choose a reason for hiding this comment

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

I believe all the EuiPage instances have been found and updated with EuiPageBody. LGTM

@stacey-gammon
Copy link
Contributor Author

stacey-gammon commented Jul 17, 2018

@cchaos - is this supposed to happen on dashboard listing page (note vertically centered is new i think):

screen shot 2018-07-17 at 3 29 20 pm

Tried to manually review all the other changed snapshots and they look good as far as i can tell.

@cchaos
Copy link
Contributor

cchaos commented Jul 17, 2018

@stacey-gammon Yes, that's on purpose via this line introduced during the EUI-ification of that page.

@snide
Copy link
Contributor

snide commented Jul 17, 2018

Ha. I'll clean that up post this PR @stacey-gammon. That line @cchaos is pointing to likely wasn't working (she fixed it!) when I implemented it. I agree it looks goofy :)

Thanks for getting this stuff in.

<EuiLink href="#/home">Home</EuiLink> / <EuiLink href="#/home/tutorial_directory">Add Data</EuiLink>
<EuiSpacer size="s" />
{content}
<div>
Copy link
Contributor

@nreese nreese Jul 17, 2018

Choose a reason for hiding this comment

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

Why is the EUILink now wrapped in a div?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@cchaos can you answer this? It's part of the code you made that I merged into this PR.

Copy link
Contributor

Choose a reason for hiding this comment

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

Because EuiPageBody is a flex-box of column direction and so each child would be on it's on line even if they're inline style elements like link tags. Wrapping these breadcrumbs in a div, keeps them as one individual flex-item.

Copy link
Contributor

Choose a reason for hiding this comment

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

sorry for the double-post, gh is being stupid

Copy link
Contributor

@nreese nreese left a comment

Choose a reason for hiding this comment

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

lgtm other than a question about adding a div element
code review, looked through home page, add data, dashboard, and management screens to view new EUI look

@cchaos
Copy link
Contributor

cchaos commented Jul 17, 2018

@stacey-gammon Looks like this should be gtg!

@stacey-gammon
Copy link
Contributor Author

stacey-gammon commented Jul 17, 2018 via email

@stacey-gammon stacey-gammon merged commit e90f652 into elastic:master Jul 17, 2018
stacey-gammon added a commit to stacey-gammon/kibana that referenced this pull request Jul 17, 2018
* bump eui

* Fixed breaking `EuiPage` changes

Mainly adding `EuiPageBody`’s where there were none

* bump to 3.0, remove duplicate declaration of EuiFlyoutBody, update jest snapshots

* bump eui

* bump to 3.0, remove duplicate declaration of EuiFlyoutBody, update jest snapshots

* Update jest snapshots in xpack
stacey-gammon added a commit that referenced this pull request Jul 18, 2018
* bump eui

* Fixed breaking `EuiPage` changes

Mainly adding `EuiPageBody`’s where there were none

* bump to 3.0, remove duplicate declaration of EuiFlyoutBody, update jest snapshots

* bump eui

* bump to 3.0, remove duplicate declaration of EuiFlyoutBody, update jest snapshots

* Update jest snapshots in xpack
@snide
Copy link
Contributor

snide commented Jul 18, 2018

For the future, reminder to everyone that we need to set dependencies is BOTH package.json and xpack/package.json.

No worries, I missed it to. Have a follow up PR to fix. #20930

@nreese
Copy link
Contributor

nreese commented Jul 18, 2018

Lets just take the dependency out of x-pack. That way there is only one version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants