[No QA] [Better Expense Report View] Clean up remaining nested follow-ups & added code#60179
Conversation
|
Hey, I noticed you changed some webpack configuration files. This can break production builds. Did you remember to run a production build locally to verify they still work? |
|
@DylanDylann 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] |
I did edit |
|
I guess the failing test is a false positive it ran for ~5 hours with all cases passing maybe resolving conflicts will fix that too |
Reviewer Checklist
|
allgandalf
left a comment
There was a problem hiding this comment.
lets resolve conflicts and mark this one as NO QA
allgandalf
left a comment
There was a problem hiding this comment.
We didn't change any functionality / style with this PR, only refactored the code, tested on web and works well!,
|
✋ 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/mountiny in version: 9.1.29-0 🚀
|
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.1.29-10 🚀
|
| // Table Report View does not display these components as separate messages, except for self-DM | ||
| if (canUseTableReportView && report?.type === CONST.REPORT.TYPE.CHAT) { | ||
| if (report.chatType === CONST.REPORT.CHAT_TYPE.SELF_DM) { | ||
| if (report.chatType === CONST.REPORT.CHAT_TYPE.SELF_DM && !isDeletedAction(action)) { |
There was a problem hiding this comment.
Coming from #60638, this caused an issue where the expense preview disappeared completely when deleting offline, rather than greying out.
There was a problem hiding this comment.
I see that isDeletedAction conditional is removed completely, doesn't that cause [Deleted Expense] to appear?
Because it shouldn't. If it doesn't then mea culpa!
Explanation of Change
This PR gathers the remaining follow-ups from Better Expense Report View PR's comments & slack conversations:
Fixed Issues
$ #59452
PROPOSAL: N/A
Tests
[Self-dm expense not removed when deleted before accepting Concierge message]
Offline tests
N/A
QA Steps
Same as tests
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