fixes : copy to clipboard mention whisper message and hide mention whisper on any action#34560
fixes : copy to clipboard mention whisper message and hide mention whisper on any action#34560jasperhuangg merged 19 commits intoExpensify:mainfrom
Conversation
|
@jasperhuangg Can you review changes when you get chance, i'll complete checklist and video if the solution is approved. |
jasperhuangg
left a comment
There was a problem hiding this comment.
Looks good so far. I'm wondering if we can take your changes and apply them to all types of report actions that include accountID based mentions, but I guess that's kind of outside the scope of this issue.
|
I think the solution goes in the right direction. Please complete author checklist and mark ready for review when ready |
|
@alitoshmatov 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 think my review is not needed here or should I also review the PR? |
|
Maybe one C+ is enough. I came from this request so I can continue if you don't mind |
|
Sounds good |
|
@aimane-chnaif gentle bump for review |
|
Resolved conflicts. |
|
gentle bump @aimane-chnaif |
|
@aimane-chnaif gentle bump for feedback 🙇♂️ |
|
reviewing |
|
I consider these out of scope but mentioning in case anyone reports as regression or bug as part of this PR.
Screen.Recording.2024-02-11.at.4.50.15.PM.mov
Screen.Recording.2024-02-11.at.4.51.29.PM.mov |
|
Please address all feedback above and request my review when ready. Thanks |
|
@aimane-chnaif lmk if your concerns all are addressed, can we move this one forward? |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid.movAndroid: mWeb ChromeiOS: Nativeios.moviOS: mWeb Safarimsafari.movMacOS: Chrome / Safariweb.movMacOS: Desktopdesktop1.movdesktop2.mov |
|
@ishpaul777 let's sync main before merge |
|
merged main 👍 |
|
✋ 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/jasperhuangg in version: 1.4.42-0 🚀
|
|
🚀 Deployed to production by https://github.com/chiragsalian in version: 1.4.42-5 🚀
|
|
|
||
| // if action is actionable mention whisper and resolved by user, then we don't want to render anything | ||
| if (ReportActionsUtils.isActionableMentionWhisper(props.action) && lodashGet(props.action, 'originalMessage.resolution', null)) { | ||
| return null; |
There was a problem hiding this comment.
coming from #49824 {BZ Checklist), Instead of manually return null when the whisper action is resolved, we should filter it out early here by including it in shouldReportActionBeVisible.
Details
Fixed Issues
$ #34504
#33665 (comment)
#34560
PROPOSAL: N/a
Tests
Tests 1:
Tests 2:
Note
concierge whisper message will still be visible in LHN even after resolution, this requires a seperate Backend fix
Offline tests
QA Steps
Tests 1:
Tests 2:
Note
concierge whisper message will still be visible in LHN even after resolution, this requires a seperate Backend fix
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)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
Record_2024-01-25-06-37-50.mp4
Android: mWeb Chrome
Record_2024-01-25-03-12-04.mp4
iOS: Native
Screen.Recording.2024-01-25.at.2.27.07.AM-1.mov
iOS: mWeb Safari
Screen.Recording.2024-01-25.at.2.44.38.AM-1.mov
MacOS: Chrome / Safari
Screen.Recording.2024-01-25.at.2.38.14.AM.mov
MacOS: Desktop
Screen.Recording.2024-01-25.at.6.44.31.AM.mov