Conversation
|
@dominictb 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] |
|
@ishpaul777 @ 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] |
luacmartins
left a comment
There was a problem hiding this comment.
LGTM. @ishpaul777 all yours
| // information they display is already provided by other actions. | ||
| if (action.actionName === CONST.REPORT.ACTIONS.TYPE.REIMBURSED) { | ||
| return null; | ||
| } |
There was a problem hiding this comment.
I think the preffered way should be to not have this action to be visible, we have shouldReportActionBeVisible in src/libs/ReportActionsUtils.ts can we return false on that function?
There was a problem hiding this comment.
Good call @ishpaul777! There is a list of deprecated OldDot actions in there and this is one of those, so I added it to the list.
|
Updated! |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeScreen.Recording.2025-03-28.at.4.12.57.AM.moviOS: NativeScreen.Recording.2025-03-28.at.4.46.29.AM.moviOS: mWeb SafariScreen.Recording.2025-03-28.at.4.08.35.AM.movMacOS: Chrome / SafariScreen.Recording.2025-03-28.at.12.32.49.AM.movMacOS: DesktopScreen.Recording.2025-03-28.at.4.23.47.AM.mov |
|
✋ 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.1.21-0 🚀
|
|
🚀 Deployed to production by https://github.com/grgia in version: 9.1.21-3 🚀
|
Explanation of Change
This PR updates
PureReportActionItem.renderReportActionItemso that it returnsnullwhen attempting to renderREIMBURSEDreport actions. That action type is meant for OldDot only and all the information it displays is already show by other actions.Fixed Issues
$ #54289
PROPOSAL: N/A
Tests
Before
After
Offline tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.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)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