Skip to content

[SelectPanel 1/8] Extract shared rendering and selection internals - #8840

Draft
TylerJDev wants to merge 1 commit into
mainfrom
tylerjdev/selectpanel-stack-01-shared
Draft

TylerJDev wants to merge 1 commit into
mainfrom
tylerjdev/selectpanel-stack-01-shared

Conversation

@TylerJDev

@TylerJDev TylerJDev commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Extract the behavior-preserving internals needed to split #7287 into independently reviewable changes. This slice does not introduce the composition API or change the configured SelectPanel behavior.

Stack

Part 1/8 of the SelectPanel split. Review this PR against its selected base, main, rather than against main.

Part PR Base
1 #8840 main
2 #8841 #8840
3 #8842 #8841
4 #8843 #8842
5 #8844 #8843
6 #8845 #8844
7 #8846 #8842
8 #8847 #8842

The complete integration branch retains all slices for testing; it is not the base of any focused PR. Related independent AnchoredOverlay ID fix: #8837. This split does not close #7287.

Changelog

New

Internal shared item-content rendering, mapped-item rendering, and selection helpers with focused tests.

Changed

Configured SelectPanel and FilteredActionList reuse the shared helpers; public behavior and call sites remain unchanged.

Removed

None.

Rollout strategy

  • No changes needed in github/github-ui

Behavior-preserving internal refactor with a patch changeset.

Testing & Reviewing

Compare configured item rendering and selection before and after the extraction, including custom renderers, item identity, and selections that are currently filtered out. Shared helpers remain internal rather than adding public exports.

…pers

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot added staff Author is a staff member integration-tests: recommended This change needs to be tested for breaking changes. See https://arc.net/l/quote/tdmpakpm labels Nov 25, 2026
@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Action required

👋 Hi, this pull request contains changes to the source code that github/github-ui depends on. If you are GitHub staff, test these changes with github/github-ui using the integration workflow. Check the integration testing docs for step-by-step instructions. Or, apply the integration-tests: skipped manually label to skip these checks.

This branch was successfully deployed

2 active deployments
storybook-preview-8840 — 22b767ce Deployed Nov 25, 2026 by github-actions[bot]
github-pages — 22b767ce Deployed Nov 25, 2026 by TylerJDev via deploy-preview #34542
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

integration-tests: recommended This change needs to be tested for breaking changes. See https://arc.net/l/quote/tdmpakpm staff Author is a staff member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant