-
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 'ContextMenuItem.js' component to TypeScript #33485
[TS Migration] Migrate 'ContextMenuItem.js' component to TypeScript #33485
Conversation
@JKobrynski Please resolve conflicts |
src/components/ContextMenuItem.tsx
Outdated
/** Icon Component */ | ||
icon: sourcePropTypes.isRequired, | ||
icon: React.FC<SvgProps>; |
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.
Shouldn't it be IconAsset
?
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.
Right, applied!
src/components/ContextMenuItem.tsx
Outdated
|
||
/** Icon to show when interaction was successful */ | ||
successIcon: sourcePropTypes, | ||
successIcon?: React.FC<SvgProps>; |
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.
Same here (IconAsset
)
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.
Same here!
@abdulrahuman5196 @ One of you needs to 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] |
Reviewing now |
@JKobrynski Could you kindly fix the merge conflicts? |
@abdulrahuman5196 conflicts resolved! |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-01-09.at.6.28.33.PM.mp4Android: mWeb ChromeScreen.Recording.2024-01-09.at.6.31.19.PM.mp4iOS: NativeScreen.Recording.2024-01-09.at.6.18.09.PM.mp4iOS: mWeb SafariScreen.Recording.2024-01-09.at.6.35.08.PM.mp4MacOS: Chrome / SafariScreen.Recording.2024-01-09.at.6.14.53.PM.mp4MacOS: DesktopScreen.Recording.2024-01-09.at.6.16.31.PM.mp4 |
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.
Changes looks good and works well. Reviewers checklist is also complete.
All yours. @rlinoz
🎀 👀 🎀
C+ Reviewed
We did not find an internal engineer to review this PR, trying to assign a random engineer to #25056 as well as to this PR... Please reach out for help on Slack if no one gets assigned! |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/rlinoz in version: 1.4.24-0 🚀
|
🚀 Deployed to production by https://github.com/thienlnam in version: 1.4.24-3 🚀
|
Details
Fixed Issues
$ #25056
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
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop