Skip to content

ref(scraps): Replace react-select with React Aria - #131792

Draft
TkDodo wants to merge 16 commits into
masterfrom
tkdodo/replace-select2-react-aria
Draft

TkDodo wants to merge 16 commits into
masterfrom
tkdodo/replace-select2-react-aria

Conversation

@TkDodo

@TkDodo TkDodo commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

Replace react-select in Scraps Select with React Aria. Select keeps its public props and callback values. It renders options with the same ListItem as CompactSelect and DropdownMenu and reuses the grouped virtualizer.

The input now exposes a combobox, and the popup exposes a listbox with options. These roles describe how focus stays on the input while users move through the choices. Most downstream test edits update queries for those roles.

The areas to review are selection and blur order in autosave fields, option identity when results change, and keyboard navigation in virtualized groups. The Chromium smoke test covered Page Up and End in grouped results, selection with Enter, Tab into a portaled footer, and switching between adjacent Selects.

closes DE-1900

@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Nov 19, 2026
…ct2-react-aria

# Conflicts:
#	pnpm-lock.yaml
@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Story previews

Preview the stories changed in this PR on the Vercel deployment:

Preview deployment: https://sentry-jzc7t5330.sentry.dev

@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

No findings on the latest commit.

…ct2-react-aria

# Conflicts:
#	static/app/components/core/select/select.snapshots.tsx
@sentry

sentry Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Sentry Snapshot Testing

Name Added Removed Changed Renamed Unchanged Skipped Status
sentry-frontend
sentry-frontend
0 0 24 0 1038 0 ⏳ Needs approval

⚙️ sentry-frontend Snapshot Settings

…ct2-react-aria

# Conflicts:
#	static/app/components/onboarding/scm/scmPlatformFeaturesCore.tsx
#	static/app/components/onboarding/scm/scmRepoSelector.spec.tsx
#	static/app/views/automations/components/actionFilters/latestAdoptedRelease.spec.tsx
#	static/app/views/detectors/detectorNewSettings.spec.tsx
#	static/app/views/settings/featureFlags/changeTracking/organizationFeatureFlagsNewSecret.spec.tsx
#	static/gsApp/views/subscriptionPage/notifications.spec.tsx
#	static/packages/scraps/src/select/select.tsx
@linear-code

linear-code Bot commented Nov 20, 2026

Copy link
Copy Markdown

DE-1900

…ct2-react-aria

# Conflicts:
#	static/app/components/seer/projectDetails/autofixAgent.spec.tsx

This branch was successfully deployed

1 active deployment
Preview — 9ccb192a Deployed Nov 23, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant