prevent profile view of expensify notification email#35385
Conversation
|
@mkhutornyi Could you please merge main. |
Reviewer Checklist
Screenshots/VideosAndroid: NativeCleanShot.2024-01-31.at.16.54.51-converted.mp4Android: mWeb ChromeCleanShot.2024-01-31.at.17.02.50.mp4iOS: NativeCleanShot.2024-01-31.at.17.15.12.mp4iOS: mWeb SafariCleanShot.2024-01-31.at.17.19.26.mp4MacOS: Chrome / SafariCleanShot.2024-01-31.at.17.21.24.mp4CleanShot.2024-02-08.at.22.08.06.mp4MacOS: DesktopCleanShot.2024-01-31.at.17.24.22.mp4 |
|
|
||
| const participants = getAllParticipants(report, personalDetails, translate).map((participant) => ({ | ||
| ...participant, | ||
| isDisabled: participant?.accountID ? ReportUtils.isOptimisticPersonalDetail(participant.accountID) : false, |
There was a problem hiding this comment.
The conflict came from TS migration.
They changed this logic so when accountID doesn't exist, isDisabled is false, which doesn't make sense to me.
I think we should disable when no accountID which was original logic.
There was a problem hiding this comment.
Do we know why they changed it? Feel free to ask them
There was a problem hiding this comment.
Sweet thank you 🙂. Lets see if we get an answer there and then I think we can merge if nothing comes up from that.
There was a problem hiding this comment.
Alright, lets not hold this up any longer on their response. @mkhutornyi can you fix the merge conflict and then I'll approve and merge?
|
cc @mkhutornyi Could we move this forward? Thank you. |
|
pushing changes today |
fedirjh
left a comment
There was a problem hiding this comment.
Looks good, left some comments about the code.
|
Thanks for the feedback. All are addressed |
|
Will review these changes tomorrow morning. It's late for me. |
|
|
||
| const participants = getAllParticipants(report, personalDetails, translate).map((participant) => ({ | ||
| ...participant, | ||
| isDisabled: participant?.accountID ? ReportUtils.isOptimisticPersonalDetail(participant.accountID) : false, |
There was a problem hiding this comment.
Do we know why they changed it? Feel free to ask them
|
✋ 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/blimpich in version: 1.4.42-0 🚀
|
|
🚀 Deployed to production by https://github.com/chiragsalian in version: 1.4.42-5 🚀
|
Details
Fixed Issues
$ #32500
PROPOSAL: #32500 (comment)
Tests
Same as QA step
Offline tests
Same as QA step
QA Steps
Case 1:
Case 2:
Case 3:
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)/** comment above it */thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel so 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.mov
Android: mWeb Chrome
mchrome.mov
iOS: Native
ios.mov
iOS: mWeb Safari
msafari.mov
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov