fix: remove SearchReportAction type and use ReportAction type instead - #74923
Conversation
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
@thesahindia 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] |
luacmartins
left a comment
There was a problem hiding this comment.
Nice! Looking good, just one small comment
| date: reportAction.created, | ||
| keyForList: reportAction.reportActionID, | ||
| }); | ||
| } as ReportActionListItemType); |
There was a problem hiding this comment.
Why do we need this cast now?
There was a problem hiding this comment.
There is one field errors giving TS error on spreading the reportAction.
App/src/types/onyx/ReportAction.ts
Lines 243 to 246 in 91712da
There was a problem hiding this comment.
Ah I see, there's a conflict in the errors key. Thanks for clarifying!
|
@Burhan-Rashid conflicts |
|
This needs C+ review? |
|
@thesahindia yea, let's review it |
| date: reportAction.created, | ||
| keyForList: reportAction.reportActionID, | ||
| }); | ||
| } as ReportActionListItemType); |
There was a problem hiding this comment.
Ah I see, there's a conflict in the errors key. Thanks for clarifying!
|
@thesahindia actually, I think we're ok without C+ review on this one. |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
|
✋ 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/luacmartins in version: 9.2.58-0 🚀
|
|
🚀 Deployed to production by https://github.com/cristipaval in version: 9.2.58-3 🚀
|
Explanation of Change
Fixed Issues
$#73976
PROPOSAL:
Tests
Offline tests
Same as tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
Same as tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.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