Skip to content

ref(ui): Normalize wrapped component definitions - #121694

Open
scttcper wants to merge 2 commits into
masterfrom
scttcper/normalize-wrapped-components
Open

ref(ui): Normalize wrapped component definitions#121694
scttcper wants to merge 2 commits into
masterfrom
scttcper/normalize-wrapped-components

Conversation

@scttcper

@scttcper scttcper commented Aug 11, 2026

Copy link
Copy Markdown
Member

Switches wrapped React components to named functions before the Oxlint migration

Use named function components for memoized wrappers ahead of the lint migration. Let async select receive its ref directly now that the frontend is on React 19.

Co-Authored-By: OpenAI Codex <[email protected]>
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Aug 11, 2026
@github-actions

github-actions Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

📊 Type Coverage Diff

Metric Before After Delta
Coverage 94.31% 94.31% ±0%
Typed 134,129 134,129 ±0
Untyped 8,086 8,086 ±0
🔍 2 new type safety issues introduced

any-typed symbols (1 new)

File Line Detail
static/app/components/forms/controls/reactSelectWrapper.tsx 20 function ReactSelectWrapperComponent({ref, ...props}: any) { // Reapply default… (as-any)

Type assertions (as) (1 new)

File Line Detail
static/app/components/forms/controls/reactSelectWrapper.tsx 20 as typeof ReactSelectfunction ReactSelectWrapperComponent({ref, ...props}: any) { // Reapply default…

This is informational only and does not block the PR.

@scttcper
scttcper marked this pull request as ready for review August 11, 2026 15:38
@scttcper
scttcper requested review from a team as code owners August 11, 2026 15:38
# Conflicts:
#	static/app/components/core/select/async.tsx
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.

2 participants