[TS migration] Migrate 'ReportActionItemTaskAction.js' component to TypeScript#32560
Conversation
…onent # Conflicts: # src/components/ReportActionItem/TaskAction.js
Reviewer Checklist
Screenshots/Videos |
|
|
||
| type TaskActionProps = { | ||
| /** Name of the reportAction action */ | ||
| actionName: string; |
There was a problem hiding this comment.
i notice we are passing a value to taskReportID for this component, should we add it in this prop type?
There was a problem hiding this comment.
@getusha I think taskReportID is not used anymore in this component
There was a problem hiding this comment.
@VickyStash i noticed this comment above taskReportID in proptypes
// eslint-disable-next-line react/no-unused-prop-types -- This is used in the withOnyx HOC, so you're saying it is not used anymore in withOnyx HOC?
There was a problem hiding this comment.
After some time taskReportID was also used in another place, but it also was updated
There was a problem hiding this comment.
Could we remove this if that's the case, it is kind of confusing.
App/src/pages/home/report/ReportActionItem.js
Line 363 in 7f7cfb3
|
We did not find an internal engineer to review this PR, trying to assign a random engineer to #31941 as well as to this PR... Please reach out for help on Slack if no one gets assigned! |
…onent # Conflicts: # src/components/ReportActionItem/TaskAction.js
|
✋ 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/thienlnam in version: 1.4.14-0 🚀
|
|
🚀 Deployed to staging by https://github.com/thienlnam in version: 1.4.14-0 🚀
|
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 1.4.14-6 🚀
|






Details
[TS migration] Migrate 'ReportActionItemTaskAction.js' component to TypeScript
Fixed Issues
$ #31941
PROPOSAL: N/A
Tests
Offline tests
N/A
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop