Skip to content

[Platform Deployment Management] Migrate all usages of EuiPage*_Deprecated #161413

@cee-chen

Description

@cee-chen

👋 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 usages of EuiPage*_Deprecated components (as indicated by CODEOWNERS), which you can find a list of per-plugin here:

How

  • Please see our new EuiPageTemplate guidelines and examples for suggestions on how to migrate over.
  • You can also see more examples of layout conversions in the original EuiPageTemplate PR:
    [Feature] EuiPage and EuiPageTemplate Updates eui#5768
  • Here's a quick conversion map of components that approximately translate to their new equivalents:
    • EuiPageTemplate_Deprecated -> EuiPageTemplate
    • EuiPageSideBar_Deprecated -> EuiPageSidebar or EuiPageTemplate.Sidebar
    • EuiPageContent_Deprecated -> EuiPageSection or EuiPageTemplate.Section
    • EuiPageContentBody_Deprecated -> Use EuiPageSection instead
    • EuiPageContentHeader_Deprecated -> Use EuiPageHeader instead
    • EuiPageContentHeaderSection_Deprecated -> Use EuiPageHeader instead

When

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!

### Tasks
- [ ] https://github.com/elastic/kibana/issues/163017
- [ ] https://github.com/elastic/kibana/issues/163018
- [ ] https://github.com/elastic/kibana/issues/163019
- [ ] https://github.com/elastic/kibana/issues/163020
- [ ] https://github.com/elastic/kibana/issues/163021
- [ ] https://github.com/elastic/kibana/issues/163022
- [ ] https://github.com/elastic/kibana/issues/163068
- [ ] https://github.com/elastic/kibana/issues/163069
- [ ] https://github.com/elastic/kibana/issues/163070
- [ ] https://github.com/elastic/kibana/issues/163071

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions