Repository navigation
Revert "[EuiFlyoutMenu] Add pagination controls with previous/next buttons and counter" - #9725
Merged
Merged
Conversation
…ttons an…" This reverts commit 97efe24.
weronikaolejniczak
approved these changes
Jun 18, 2026
weronikaolejniczak
enabled auto-merge (squash)
June 18, 2026 10:35
Contributor
There was a problem hiding this comment.
Pull request overview
Reverts the previously added EuiFlyoutMenu pagination feature (#9722), removing the related API surface, store support, tests, stories, docs, and changelog entry to restore the pre-9722 behavior.
Changes:
- Removes
flyoutMenuProps.paginationand theEuiFlyoutMenuPaginationtype, plus all related rendering/UI/styles and tests. - Removes flyout manager pagination support (
setPagination, selector hook, reducer/action wiring) and related stories/tests/mocks. - Removes the pagination documentation include and deletes the standalone pagination MDX and upcoming changelog entry.
Reviewed changes
Copilot reviewed 22 out of 22 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| packages/website/docs/components/containers/flyout/_flyout_menu.mdx | Removes the pagination docs include from the flyout menu docs page. |
| packages/website/docs/components/containers/flyout/_flyout_menu_pagination.mdx | Deletes the pagination docs example page. |
| packages/eui/src/components/flyout/use_flyout_menu.ts | Removes pagination from “menu has content” detection logic. |
| packages/eui/src/components/flyout/manager/types.ts | Removes manager state/API typing for pagination. |
| packages/eui/src/components/flyout/manager/store.ts | Removes store method for setting pagination. |
| packages/eui/src/components/flyout/manager/store.test.ts | Removes store tests for setPagination. |
| packages/eui/src/components/flyout/manager/selectors.ts | Removes useFlyoutPagination selector hook. |
| packages/eui/src/components/flyout/manager/reducer.ts | Removes reducer handling for pagination actions. |
| packages/eui/src/components/flyout/manager/reducer.test.ts | Removes reducer tests for pagination actions. |
| packages/eui/src/components/flyout/manager/index.ts | Removes exports for pagination-related action/hook. |
| packages/eui/src/components/flyout/manager/hooks.ts | Removes pagination hook re-export. |
| packages/eui/src/components/flyout/manager/flyout_sessions.stories.tsx | Removes the cross-root pagination story/demo. |
| packages/eui/src/components/flyout/manager/flyout_managed.tsx | Removes logic that merged store pagination with prop pagination and suppressed history/back UI. |
| packages/eui/src/components/flyout/manager/flyout_managed.test.tsx | Updates mocks to remove useFlyoutPagination. |
| packages/eui/src/components/flyout/manager/actions.ts | Removes pagination action type and action creator. |
| packages/eui/src/components/flyout/manager/mocks/index.ts | Removes setPagination from mocked manager API. |
| packages/eui/src/components/flyout/index.ts | Stops exporting EuiFlyoutMenuPagination. |
| packages/eui/src/components/flyout/flyout_menu.tsx | Removes pagination prop/type and the pagination UI implementation. |
| packages/eui/src/components/flyout/flyout_menu.test.tsx | Removes pagination behavior tests. |
| packages/eui/src/components/flyout/flyout_menu.styles.ts | Removes pagination counter styling. |
| packages/eui/src/components/flyout/flyout_menu.stories.tsx | Removes the pagination story example. |
| packages/eui/changelogs/upcoming/9722.md | Deletes the upcoming changelog entry for the reverted feature. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Collaborator
💚 Build Succeeded
|
3 visual difference(s) found - expand to review, then click Approve visual changes to update baselineseuipopover (1 difference)
euidatagrid (2 differences)
|
Collaborator
💔 Build Failed
Failed CI StepsHistory |
2 visual difference(s) found - expand to review, then click Approve visual changes to update baselineseuipopover (1 difference)
euidatagrid (1 difference)
|
27 of 29 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.









Reverts #9722
Need to fix docs.