-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TS Migration] migrate PopoverWithoutOverlay.js to TypeScript #32171
[TS Migration] migrate PopoverWithoutOverlay.js to TypeScript #32171
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
@fabioh8010 PR updated! |
@ Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
@mountiny could you help with assigning this to a reviewer? 😄 |
Interested in reviewing this |
@situchan lets complete the checklist on this one thanks! |
disableAnimation?: boolean; | ||
|
||
/** The ref of the popover */ | ||
withoutOverlayRef: React.RefObject<HTMLElement & View>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any issue with this suggestion?
withoutOverlayRef: React.RefObject<HTMLElement & View>; | |
withoutOverlayRef?: React.RefObject<HTMLElement>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok and what about & View
part?
No issue itself but just asking because it's inconsistent with other ref typings
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok no problem
Please complete missing checklist items |
The author checklist is failing due to missed checkboxes, but I can't add it since I'm not the author... |
I have updated the checklist @situchan can you please proceed with the review? Seems like there is something odd with this one and its not worth digging into now |
Reviewer Checklist
Screenshots/VideosAndroid: NativeNot affected. Though tested on iOS for safety Android: mWeb ChromeNot affected. Though tested on mSafari for safety iOS: Nativeios.moviOS: mWeb Safarimsafari.movMacOS: Chrome / Safariweb.movMacOS: Desktopdesktop.mov |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
/** The anchor ref of the popover */ | ||
anchorRef: React.RefObject<HTMLElement>; | ||
|
||
/** A react-native-animatable animation timing for the modal display animation. */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NAB
/** A react-native-animatable animation timing for the modal display animation. */ | |
/** A react-native-animatable animation timing for the modal display animation */ |
🚀 Deployed to production by https://github.com/mountiny in version: 1.4.18-8 🚀
|
Details
Fixed Issues
$ #25051
PROPOSAL: N/A
Tests
Offline tests
N/A
QA Steps
Same as Tests section above
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
This component is only rendered on big screens, so it doesn't exist on mobile devices
MacOS: Chrome / Safari
web-compressed.mov
MacOS: Desktop
desktop-compressed.mov