Skip to content

[BREAKING CHANGE][EuiCollapsibleNavBeta] Remove the component - #9813

Merged
weronikaolejniczak merged 3 commits into
elastic:mainfrom
weronikaolejniczak:breaking/remove-eui-collapsible-nav-beta
Jul 21, 2026
Merged

weronikaolejniczak merged 3 commits into
elastic:mainfrom
weronikaolejniczak:breaking/remove-eui-collapsible-nav-beta

Conversation

@weronikaolejniczak

@weronikaolejniczak weronikaolejniczak commented Jul 16, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Closes #9165

API Changes

component / parent prop / child change description
EuiCollapsibleNavBeta Removed Kibana and Cloud UI use the new side nav

Screenshots

N/A

Impact Assessment

Note: Most PRs should be tested in Kibana to help gauge their Impact before merging.

  • 🔴 Breaking changes — What will break? How many usages in Kibana/Cloud UI are impacted?
  • 💅 Visual changes — May impact style overrides; could require visual testing. Explain and estimate impact.
  • 🧪 Test impact — May break functional or snapshot tests (e.g., HTML structure, class names, default values).
  • 🔧 Hard to integrate — If changes require substantial updates to Kibana, please stage the changes and link them here.

Impact level: 🟢 None

Neither Kibana nor Cloud UI use this component. Technically it's a breaking change but there's nothing to do on either side. There will only be i18n changes.

Release Readiness

  • Documentation: {link to docs page(s)}
  • Figma: {link to Figma or issue}
  • Migration guide: {steps or link, for breaking/visual changes or deprecations}
  • Adoption plan (new features): {link to issue/doc or outline who will integrate this and where}

QA instructions for reviewer

  • Verify there's nothing connected to EuiCollapsibleNavBeta anywhere: EUI src, docs

Checklist before marking Ready for Review

Reviewer checklist

  • Approved Impact Assessment — Acceptable to merge given the consumer impact.
  • Approved Release Readiness — Docs, Figma, and migration info are sufficient to ship.

@weronikaolejniczak weronikaolejniczak self-assigned this Jul 16, 2026
@weronikaolejniczak weronikaolejniczak added the breaking change PRs with breaking changes. (Don't delete - used for automation) label Jul 16, 2026
@github-actions

Copy link
Copy Markdown

This PR contains breaking changes. The opener of this pull request is asked to perform the following due diligence steps below, to assist EUI in our next Kibana upgrade:

  • If this PR contains prop/API changes:
    • Search through Kibana for <EuiComponent usages (example search)
    • In the PR description or in a PR comment, include a count or list with the number of component usages in Kibana that will need to be updated (if that amount is "none", include that information as well)
  • If this PR contains CSS changes:
    • Search through Kibana for the changed EUI selectors, e.g. .euiComponent (example search)
    • In the PR description or in a PR comment, include a count or list with the number of custom CSS overrides in Kibana that will need to be updated (if that amount is "none", include that information as well)
  • 🔍 Tip: When searching through Kibana, consider excluding **/target, **/*.snap, **/*.storyshot files to reduce noise and only look at source code usages
  • ⚠️ For extremely risky changes, the EUI team should potentially consider the following precautions:
    • Using a pre-release release candidate to test Kibana CI ahead of time
    • Using kibana-a-la-carte for manual QA, and to give other Kibana teams a staging server to quickly test against

@weronikaolejniczak
weronikaolejniczak force-pushed the breaking/remove-eui-collapsible-nav-beta branch from a860411 to 6383737 Compare July 16, 2026 08:33
@weronikaolejniczak weronikaolejniczak changed the title [EuiCollapsibleNavBeta] Remove the component [BREAKING CHANGE][EuiCollapsibleNavBeta] Remove the component Jul 16, 2026
@weronikaolejniczak
weronikaolejniczak marked this pull request as ready for review July 16, 2026 09:03
@weronikaolejniczak
weronikaolejniczak requested a review from a team as a code owner July 16, 2026 09:03
Copilot AI review requested due to automatic review settings July 16, 2026 09:03

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Removes the deprecated/beta EuiCollapsibleNavBeta side nav implementation (and its related subcomponents, stories, tests, and snapshots) from EUI as a breaking change, reflecting that Kibana/Cloud have moved to a different side navigation solution.

Changes:

  • Removed EuiCollapsibleNavBeta and all related beta navigation component source, tests, stories, and snapshots.
  • Removed public export wiring and updated the flyout Cypress spec to stop referencing the beta nav.
  • Added an upcoming changelog entry documenting the breaking removal.

Reviewed changes

Copilot reviewed 55 out of 55 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
packages/eui/src/components/index.ts Removes barrel export for collapsible_nav_beta.
packages/eui/src/components/flyout/flyout.spec.tsx Removes beta nav usage in flyout focus/tab-rotation tests.
packages/eui/src/components/collapsible_nav_beta/index.ts Deletes beta nav public exports.
packages/eui/src/components/collapsible_nav_beta/context.ts Deletes beta nav context.
packages/eui/src/components/collapsible_nav_beta/collapsible_nav_item/index.ts Deletes beta nav item exports.
packages/eui/src/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_link.tsx Deletes beta nav link implementation.
packages/eui/src/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_link.test.tsx Deletes beta nav link unit tests.
packages/eui/src/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_link.styles.ts Deletes beta nav link styles.
packages/eui/src/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.tsx Deletes beta nav item implementation.
packages/eui/src/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.test.tsx Deletes beta nav item unit tests.
packages/eui/src/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.styles.ts Deletes beta nav item styles/shared vars.
packages/eui/src/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.stories.tsx Deletes beta nav item Storybook stories.
packages/eui/src/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_group.tsx Deletes beta nav group implementation.
packages/eui/src/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_group.test.tsx Deletes beta nav group unit tests.
packages/eui/src/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_accordion.tsx Deletes beta nav accordion implementation.
packages/eui/src/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_accordion.test.tsx Deletes beta nav accordion unit tests.
packages/eui/src/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_accordion.styles.ts Deletes beta nav accordion styles.
packages/eui/src/components/collapsible_nav_beta/collapsible_nav_item/collapsed/index.ts Deletes collapsed-mode exports.
packages/eui/src/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.tsx Deletes collapsed popover implementation.
packages/eui/src/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.test.tsx Deletes collapsed popover tests.
packages/eui/src/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.styles.ts Deletes collapsed popover styles.
packages/eui/src/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_item.tsx Deletes collapsed nav item implementation.
packages/eui/src/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_item.test.tsx Deletes collapsed nav item tests.
packages/eui/src/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_item.stories.tsx Deletes collapsed nav item stories.
packages/eui/src/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_button.tsx Deletes collapsed nav button implementation.
packages/eui/src/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_button.test.tsx Deletes collapsed nav button tests.
packages/eui/src/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_button.styles.ts Deletes collapsed nav button styles.
packages/eui/src/components/collapsible_nav_beta/collapsible_nav_item/collapsed/snapshots/collapsed_nav_popover.test.tsx.snap Removes snapshots for collapsed popover tests.
packages/eui/src/components/collapsible_nav_beta/collapsible_nav_item/collapsed/snapshots/collapsed_nav_item.test.tsx.snap Removes snapshots for collapsed nav item tests.
packages/eui/src/components/collapsible_nav_beta/collapsible_nav_item/collapsed/snapshots/collapsed_nav_button.test.tsx.snap Removes snapshots for collapsed nav button tests.
packages/eui/src/components/collapsible_nav_beta/collapsible_nav_item/snapshots/collapsible_nav_link.test.tsx.snap Removes snapshots for nav link tests.
packages/eui/src/components/collapsible_nav_beta/collapsible_nav_item/snapshots/collapsible_nav_item.test.tsx.snap Removes snapshots for nav item tests.
packages/eui/src/components/collapsible_nav_beta/collapsible_nav_item/snapshots/collapsible_nav_group.test.tsx.snap Removes snapshots for nav group tests.
packages/eui/src/components/collapsible_nav_beta/collapsible_nav_item/snapshots/collapsible_nav_accordion.test.tsx.snap Removes snapshots for nav accordion tests.
packages/eui/src/components/collapsible_nav_beta/collapsible_nav_button/index.ts Deletes beta nav button export.
packages/eui/src/components/collapsible_nav_beta/collapsible_nav_button/collapsible_nav_button.tsx Deletes beta nav toggle button implementation.
packages/eui/src/components/collapsible_nav_beta/collapsible_nav_button/collapsible_nav_button.test.tsx Deletes beta nav toggle button tests.
packages/eui/src/components/collapsible_nav_beta/collapsible_nav_button/collapsible_nav_button.styles.ts Deletes beta nav toggle button styles.
packages/eui/src/components/collapsible_nav_beta/collapsible_nav_button/snapshots/collapsible_nav_button.test.tsx.snap Removes snapshots for beta nav button tests.
packages/eui/src/components/collapsible_nav_beta/collapsible_nav_body_footer.tsx Deletes beta nav Body/Footer wrappers.
packages/eui/src/components/collapsible_nav_beta/collapsible_nav_body_footer.test.tsx Deletes beta nav Body/Footer tests.
packages/eui/src/components/collapsible_nav_beta/collapsible_nav_body_footer.styles.ts Deletes beta nav Body/Footer styles.
packages/eui/src/components/collapsible_nav_beta/collapsible_nav_beta.tsx Deletes EuiCollapsibleNavBeta implementation.
packages/eui/src/components/collapsible_nav_beta/collapsible_nav_beta.test.tsx Deletes EuiCollapsibleNavBeta unit tests.
packages/eui/src/components/collapsible_nav_beta/collapsible_nav_beta.styles.ts Deletes EuiCollapsibleNavBeta styles.
packages/eui/src/components/collapsible_nav_beta/collapsible_nav_beta.stories.tsx Deletes EuiCollapsibleNavBeta Storybook stories.
packages/eui/src/components/collapsible_nav_beta/_kibana_solution/index.ts Deletes Kibana solution export.
packages/eui/src/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.tsx Deletes Kibana solution component implementation.
packages/eui/src/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.test.tsx Deletes Kibana solution component tests.
packages/eui/src/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.styles.ts Deletes Kibana solution component styles.
packages/eui/src/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.stories.tsx Deletes Kibana solution component stories.
packages/eui/src/components/collapsible_nav_beta/_kibana_solution/snapshots/collapsible_nav_kibana_solution.test.tsx.snap Removes snapshots for Kibana solution tests.
packages/eui/src/components/collapsible_nav_beta/snapshots/collapsible_nav_body_footer.test.tsx.snap Removes snapshots for beta Body/Footer tests.
packages/eui/src/components/collapsible_nav_beta/snapshots/collapsible_nav_beta.test.tsx.snap Removes snapshots for EuiCollapsibleNavBeta tests.
packages/eui/changelogs/upcoming/9813.md Documents breaking removal in upcoming changelog.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mgadewoll

Copy link
Copy Markdown
Contributor

ℹ️ There is one (internal) reference to the component in Kibana that'll need cleaning up (code).

@mgadewoll mgadewoll left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 LGTM, thanks for the cleanup!

@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

💚 Build Succeeded

History

cc @weronikaolejniczak

@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

💚 Build Succeeded

History

cc @weronikaolejniczak

@weronikaolejniczak
weronikaolejniczak merged commit a85a10a into elastic:main Jul 21, 2026
1 check passed
weronikaolejniczak added a commit to elastic/kibana that referenced this pull request Jul 31, 2026
## Dependency updates

`@elastic/eui` - v117.1.0 ⏩ v118.0.0
`@elastic/eslint-plugin-eui` - v2.14.1 ⏩ v2.15.0

## Changes

Fixes for the failures surfaced by the [nightly build
CI](#279387):

- **Nested tooltips
([eui#9749](elastic/eui#9749 Cherry-picked
the prepared migration commit
[`383f06f5b57f`](383f06f)
from [#278588](#278588): nested
tooltips are no longer supported, so they are removed where exposed
(`hoverable_avatar`, `small_user_avatar`, `user_avatar_tip`) and the
affected components/tests updated. Fixes the `add to timeline`,
`AllCasesListGeneric`, `AnonymizedStat`, `HoverableAvatar`,
`InfrastructureTabHelpPopover`, `LabelNode`/`RelationshipNode` tooltip
test failures.
- **Removed beta nav i18n tokens
([eui#9813](elastic/eui#9813
`EuiCollapsibleNavBeta` and the related beta nav components were
removed, so their now-orphaned i18n tokens are deleted from the EUI
mapping and the `de`/`fr`/`ja`/`zh` translation files. Fixes the
`@elastic/eui i18n tokens` test and the type/i18n quick checks.
- **Internal display-name renames.** EUI renamed some internal component
display names (`EuiSideNavClass` → `EuiSideNav`,
`EuiFilterSelectItemClass` → `EuiFilterSelectItemComponent`); refreshed
the affected `SolutionNav` snapshots and the `GroupsFilterPopover`
snapshot + enzyme selector.

## Package updates

### `@elastic/eui`
[v118.0.0](https://github.com/elastic/eui/blob/main/packages/eui/changelogs/CHANGELOG_2026.md)

- Added new `translate` icon.
([#9842](elastic/eui#9842))
- Updated `EuiToolTip` to skip the entry animation when hovering between
adjacent triggers in quick succession, so a group of tooltips behaves
like a single continuous tooltip following the cursor
([#9749](elastic/eui#9749))

**Bug fixes**

- Fixed `EuiToolTip` rare flicker when the cursor moved between inner
children of the trigger
([#9749](elastic/eui#9749))

**Breaking changes**

- Removed `EuiCollapsibleNavBeta` and all related beta navigation
components (`EuiCollapsibleNavItem`, `EuiCollapsibleNavButton`,
`KibanaCollapsibleNavSolution`, etc.).
([#9813](elastic/eui#9813))
- Hover behavior for nested `EuiToolTip` triggers has changed - parent
tooltips will not open when the pointer is over a child tooltip trigger
(only the innermost tooltip is shown)
([#9749](elastic/eui#9749))

### `@elastic/eslint-plugin-eui`
[v2.15.0](https://github.com/elastic/eui/blob/main/packages/eslint-plugin/changelogs/CHANGELOG_2026.md)

- Added `callout-prefer-props-for-content` rule
([#9821](elastic/eui#9821))

---------

Co-authored-by: Claude Sonnet 4.6 <[email protected]>
Co-authored-by: kibanamachine <[email protected]>
mdefazio pushed a commit to mdefazio/kibana that referenced this pull request Aug 3, 2026
`@elastic/eui` - v117.1.0 ⏩ v118.0.0
`@elastic/eslint-plugin-eui` - v2.14.1 ⏩ v2.15.0

Fixes for the failures surfaced by the [nightly build
CI](elastic#279387):

- **Nested tooltips
([eui#9749](elastic/eui#9749 Cherry-picked
the prepared migration commit
[`383f06f5b57f`](elastic@383f06f)
from [elastic#278588](elastic#278588): nested
tooltips are no longer supported, so they are removed where exposed
(`hoverable_avatar`, `small_user_avatar`, `user_avatar_tip`) and the
affected components/tests updated. Fixes the `add to timeline`,
`AllCasesListGeneric`, `AnonymizedStat`, `HoverableAvatar`,
`InfrastructureTabHelpPopover`, `LabelNode`/`RelationshipNode` tooltip
test failures.
- **Removed beta nav i18n tokens
([eui#9813](elastic/eui#9813
`EuiCollapsibleNavBeta` and the related beta nav components were
removed, so their now-orphaned i18n tokens are deleted from the EUI
mapping and the `de`/`fr`/`ja`/`zh` translation files. Fixes the
`@elastic/eui i18n tokens` test and the type/i18n quick checks.
- **Internal display-name renames.** EUI renamed some internal component
display names (`EuiSideNavClass` → `EuiSideNav`,
`EuiFilterSelectItemClass` → `EuiFilterSelectItemComponent`); refreshed
the affected `SolutionNav` snapshots and the `GroupsFilterPopover`
snapshot + enzyme selector.

[v118.0.0](https://github.com/elastic/eui/blob/main/packages/eui/changelogs/CHANGELOG_2026.md)

- Added new `translate` icon.
([elastic#9842](elastic/eui#9842))
- Updated `EuiToolTip` to skip the entry animation when hovering between
adjacent triggers in quick succession, so a group of tooltips behaves
like a single continuous tooltip following the cursor
([elastic#9749](elastic/eui#9749))

**Bug fixes**

- Fixed `EuiToolTip` rare flicker when the cursor moved between inner
children of the trigger
([elastic#9749](elastic/eui#9749))

**Breaking changes**

- Removed `EuiCollapsibleNavBeta` and all related beta navigation
components (`EuiCollapsibleNavItem`, `EuiCollapsibleNavButton`,
`KibanaCollapsibleNavSolution`, etc.).
([elastic#9813](elastic/eui#9813))
- Hover behavior for nested `EuiToolTip` triggers has changed - parent
tooltips will not open when the pointer is over a child tooltip trigger
(only the innermost tooltip is shown)
([elastic#9749](elastic/eui#9749))

[v2.15.0](https://github.com/elastic/eui/blob/main/packages/eslint-plugin/changelogs/CHANGELOG_2026.md)

- Added `callout-prefer-props-for-content` rule
([elastic#9821](elastic/eui#9821))

---------

Co-authored-by: Claude Sonnet 4.6 <[email protected]>
Co-authored-by: kibanamachine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change PRs with breaking changes. (Don't delete - used for automation)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[EuiCollapsibleNavBeta] Remove all related component code

3 participants