Skip to content

web: 3072 fix TypeScript typings for popover portal, selector refs, and owner info#3080

Merged
sykp241095 merged 2 commits into
pingcap:mainfrom
labeebahmad201:web/fix-ts-3072-radix-refs-ownerinfo
May 6, 2026
Merged

web: 3072 fix TypeScript typings for popover portal, selector refs, and owner info#3080
sykp241095 merged 2 commits into
pingcap:mainfrom
labeebahmad201:web/fix-ts-3072-radix-refs-ownerinfo

Conversation

@labeebahmad201
Copy link
Copy Markdown
Contributor

@labeebahmad201 labeebahmad201 commented Apr 25, 2026

Summary

  • Replace deprecated/invalid Radix portal type with PopoverPortalProps
  • Avoid cloneElement ref injection by passing ref via renderInput props contract
  • Make OwnerInfo.avatar_url optional to match internal API response shape

Fixes #3072

…ner info

- replace deprecated/invalid Radix portal type with PopoverPortalProps
- avoid cloneElement ref injection by passing ref via renderInput props contract
- make OwnerInfo.avatar_url optional to match internal API response shape
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 25, 2026

@labeebahmad201 is attempting to deploy a commit to the DB9 AI Team on Vercel.

A member of the Team first needs to authorize it.

@labeebahmad201
Copy link
Copy Markdown
Contributor Author

@labeebahmad201 is attempting to deploy a commit to the DB9 AI Team on Vercel.

A member of the Team first needs to authorize it.

Hey @sykp241095, could you look into this & review the PR? Thanks.

Copy link
Copy Markdown
Member

@sykp241095 sykp241095 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Reviewed the TypeScript typing fixes for Radix popover portal props, RemoteSelector input refs, OwnerInfo.avatar_url, and useRef initialization. The remaining failing checks are Vercel authorization-only failures, so they are not blocking this change.

@sykp241095 sykp241095 merged commit 30e697c into pingcap:main May 6, 2026
0 of 2 checks passed
@sykp241095
Copy link
Copy Markdown
Member

Reviewed and merged. Thanks for the fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TypeScript errors: PortalProps missing, RemoteSelector ref issues, useLatestValue missing arguments, and OwnerInfo avatar_url

2 participants