-
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
[Fleet] Migrate all usages of EuiPage*_Deprecated
#161418
Comments
Pinging @elastic/fleet (Team:Fleet) |
Pinging @elastic/eui-team (EUI) |
@juliaElastic @criamico do we still rely on any deprecated Eui component? |
Checked the usages, and found only 2 of them. Should be a small effort to fix. EuiPageContent_Deprecated -> EuiPageSection or EuiPageTemplate.Section |
I'm looking into it, it should be a very quick PR |
#162390) Fixes #161418 ## Summary Removing usage of deprecated component `EuiPageContent_Deprecated` and replacing with `EuiPageSection`. Also removed two unused components. The two components look like this: <img width="1001" alt="Screenshot 2023-07-20 at 17 03 05" src="https://github.com/elastic/kibana/assets/16084106/82798d53-30ae-455b-b0fc-216461f8d1b8"> <img width="1683" alt="Screenshot 2023-07-24 at 11 02 57" src="https://github.com/elastic/kibana/assets/16084106/f6ca00a5-49b3-481e-9152-d1f2a77d4495"> To display them, I simply hardcoded `true` [here](https://github.com/elastic/kibana/blob/59450f0a22bb8c34598d7156dcbf144d41752259/x-pack/plugins/fleet/public/applications/fleet/sections/agents/index.tsx#L60) and [here](https://github.com/elastic/kibana/blob/59450f0a22bb8c34598d7156dcbf144d41752259/x-pack/plugins/fleet/public/applications/fleet/sections/agents/index.tsx#L66) --------- Co-authored-by: Kibana Machine <[email protected]>
🎉 Huge thanks for jumping on this so quickly - y'all rock! |
elastic#162390) Fixes elastic#161418 ## Summary Removing usage of deprecated component `EuiPageContent_Deprecated` and replacing with `EuiPageSection`. Also removed two unused components. The two components look like this: <img width="1001" alt="Screenshot 2023-07-20 at 17 03 05" src="https://github.com/elastic/kibana/assets/16084106/82798d53-30ae-455b-b0fc-216461f8d1b8"> <img width="1683" alt="Screenshot 2023-07-24 at 11 02 57" src="https://github.com/elastic/kibana/assets/16084106/f6ca00a5-49b3-481e-9152-d1f2a77d4495"> To display them, I simply hardcoded `true` [here](https://github.com/elastic/kibana/blob/59450f0a22bb8c34598d7156dcbf144d41752259/x-pack/plugins/fleet/public/applications/fleet/sections/agents/index.tsx#L60) and [here](https://github.com/elastic/kibana/blob/59450f0a22bb8c34598d7156dcbf144d41752259/x-pack/plugins/fleet/public/applications/fleet/sections/agents/index.tsx#L66) --------- Co-authored-by: Kibana Machine <[email protected]>
👋 Hello from your friendly neighborhood EUI team! It's been almost a year since EUI's new
EuiPageTemplate
came out (if you can believe it), which means we're about a month away from the old deprecated EUI page template components being permanently removed.Your team is being pinged in this issue because you have 2 usages of
EuiPage*_Deprecated
components, which you can find listed here:https://github.com/search?q=repo%3Aelastic%2Fkibana+%2FEuiPage%5Ba-zA-Z%5D%2B_Deprecated%2F+path%3A%2F%5Ex-pack%5C%2Fplugins%5C%2Ffleet%2F&type=code
How
[Feature] EuiPage and EuiPageTemplate Updates eui#5768
EuiPageTemplate_Deprecated
->EuiPageTemplate
EuiPageSideBar_Deprecated
->EuiPageSidebar
orEuiPageTemplate.Sidebar
EuiPageContent_Deprecated
->EuiPageSection
orEuiPageTemplate.Section
EuiPageContentBody_Deprecated
-> UseEuiPageSection
insteadEuiPageContentHeader_Deprecated
-> UseEuiPageHeader
insteadEuiPageContentHeaderSection_Deprecated
-> UseEuiPageHeader
insteadWhen
We'd really appreciate it if you could migrate your component usages over before or during August if possible.
If your team does not have the ability or bandwidth to perform this work by that time, please let us know. While we'd really appreciate as many teams as possible taking on this work so we're not having to touch hundreds of files by ourselves and in one go, the EUI team can potentially help you out - but we will need you to help QA that work and ensure your layouts look the same as before.
Thanks, and please feel free to reach out anytime with questions or help with migration!
The text was updated successfully, but these errors were encountered: