Repository navigation
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
PR Analysis Report📚 Storybook PreviewView Storybook for this PR 🧪 Sandbox PreviewView Sandbox for this PR New ComponentsTransferList (@astryxdesign/lab) · View in Storybook
Modified ComponentsComplexSelector (@astryxdesign/core) · View in Storybook
Bundle Size Summary
Accessibility AuditStatus: No accessibility violations detected. Generated by PR Enrichment workflow | Storybook | Sandbox | View full report |
ernestt
force-pushed
the
codex/transfer-list-lab
branch
from
August 7, 2026 17:06
40c1ff6 to
e602ce7
Compare
ernestt
force-pushed
the
codex/transfer-list-lab
branch
from
August 7, 2026 18:25
e602ce7 to
22298cb
Compare
ernestt
changed the base branch from
main
to
docs/complex-selector-examples-forward-port
August 7, 2026 18:26
ernestt
merged commit Aug 7, 2026
ecde9b3
into
docs/complex-selector-examples-forward-port
4 checks passed
ernestt
added a commit
that referenced
this pull request
Aug 8, 2026
* feat(lab): prototype TransferList * feat(lab): document advanced TransferList compositions * fix(storybook): remove TransferList section padding * feat(lab): align TransferList drag behavior * feat(lab): add TransferListSelector shell * refactor(lab): keep TransferListSelector self-contained
This was referenced Aug 10, 2026
ernestt
added a commit
that referenced
this pull request
Aug 10, 2026
* feat(lab): add TransferListSelector (#4773) * feat(lab): prototype TransferList * feat(lab): document advanced TransferList compositions * fix(storybook): remove TransferList section padding * feat(lab): align TransferList drag behavior * feat(lab): add TransferListSelector shell * refactor(lab): keep TransferListSelector self-contained * docs(storybook): add TransferListSelector examples (#4869) * fix(lab): decouple TransferListSelector from Core expansion
This branch was successfully deployed
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.
Dependency
Temporarily stacked on #4769, which owns every generic
ComplexSelectorAPI used here: controlled visibility, trigger variants, leading icons, popup alignment, and exact selector sizing. After #4769 merges, this PR can be retargeted tomainwithout changing its Lab diff.Scope
Every file in this PR is under
packages/lab/**. The action glyphs are bundled with the Lab component, so this PR does not modify the root lockfile, Core, Storybook, or another package.Summary
TransferListSelectorto Lab as the recommended popover-based field for moving and ordering options.TransferListas an unframed controlled primitive for advanced custom compositions.Screenshot
API arbitration and decision
Decision
Ship a standalone
TransferListSelectorbuilt onComplexSelector, while retainingTransferListas its lower-level content primitive.This gives the common workflow one supported API that owns the external field label, trigger, popover, focus lifecycle, responsive container, and commit semantics. Advanced surfaces can still compose
TransferListdirectly insideComplexSelectorwhen they need saved views, presets, custom headers, or custom footer actions.Alternatives considered
ComplexSelectoronly — not selected. Every consumer would need to reimplement draft synchronization, Apply/Cancel behavior, dismiss semantics, trigger summaries, responsive scroll ownership, and accessibility wiring. Those repeated state machines are substantial enough to justify a Lab abstraction.ComplexSelectorbehavior and create competing APIs for trigger, positioning, focus restoration, and async commits.TransferListSelectorcomposed fromComplexSelector+TransferList— selected. It centralizes the common workflow while preserving explicit composition for genuinely custom surfaces.API shape
TransferListSelectoris the recommended entry point;TransferListis the advanced composition primitive.valuealways represents the applied ordered selection andonChangeis the single commit callback.commitBehavior="immediate"is the default and renders no footer.commitBehavior="staged"owns an internal draft; Apply commits a changed draft, while Cancel, Escape, and light dismiss discard it.TransferListdirectly instead of adding a container enum.isTransferDisabledandisReorderDisabledremain independent per-option constraints.ComplexSelectorinternals and future props from leaking into the Lab API.TransferListSelectordistinguishes the complete field-plus-popover control from the unframedTransferListcontent primitive.Validation
TransferList,TransferListSelector, and advanced compositionExisting repository check
The Lab-wide source typecheck still reports four unchanged missing declaration files for existing
.doc.mjsimports (ChatReasoning,CodeEditor,LogStream, andStepper). The Lab production build and all changed-file checks pass.