Do not render whispers targeted to others#35943
Conversation
…targeted-to-others
|
@ 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] |
|
hii @cristipaval, I am seeing 'Heads up, isn't a member of this room" message in LHN in the invited user Account, while it should not be visible to that user do you that is related to some backend change? Left screen is Staging web I invited dev. account from the staging account in a room using whisper message. Expected Result: Whisper message is not visible in dev. account Screen.Recording.2024-02-08.at.8.53.28.PM.mov |
Reviewer Checklist
Screenshots/VideosAndroid: NativeVIDEO-2024-02-09-01-43-41.mp4Android: mWeb ChromeVIDEO-2024-02-09-01-54-44.mp4iOS: NativeTested Web macos and Ios native most cases in single video 1ec3957a-a3ee-4b58-9ba8-e88a76087e33.mp4iOS: mWeb Safari
Screen.Recording.2024-02-09.at.1.09.00.AM.mov
Screen.Recording.2024-02-09.at.1.03.39.AM.mov
Screen.Recording.2024-02-09.at.1.07.43.AM-1.movMacOS: Chrome / SafariTested Web macos and Ios native most cases in single video 1ec3957a-a3ee-4b58-9ba8-e88a76087e33.mp4MacOS: Desktop
Screen.Recording.2024-02-08.at.8.53.28.PM.mov
Screen.Recording.2024-02-08.at.8.48.28.PM.mov
Screen.Recording.2024-02-08.at.9.28.34.PM.movScreen.Recording.2024-02-08.at.9.37.34.PM.mov |
|
Great finding @ishpaul777! Let me investigate a bit. |
|
@ishpaul777 ready again for review |
|
Ah, forgot to mention that the bug that you found in the sidebar also needs a fix in the backend |
|
reviewing now |
just pushed a new change to make tests pass |
Does that mean we can ignore this for now ? |
yes, because currently, there's no whisper to hide until we deploy the backend that also includes the fix |
|
I am just noting now, I no longer recieve "invited < user > " message when inviting user from whisper message (on production also) is it something known? (ignore simulator screen) Screen.Recording.2024-02-09.at.1.10.12.AM.mov |
|
🎯 @ishpaul777, thanks for reviewing and testing this PR! 🎉 An E/App issue has been created to issue payment here: #36177. |
yes I think we removed it |
|
Looks good, just a request can you add videos for all platforms or can this item from checklist be skipped?
|
|
ready again for review @roryabraham |
Beamanator
left a comment
There was a problem hiding this comment.
Lookin good! I think I'd consider all my comments NAB so feel free to address or not :D
Co-authored-by: Alex Beaman <alexbeaman@expensify.com>
Co-authored-by: Alex Beaman <alexbeaman@expensify.com>
Beamanator
left a comment
There was a problem hiding this comment.
LGTM! Thanks for the changes! Feel free to self merge once the checks pass
…targeted-to-others
…targeted-to-others
…targeted-to-others
Rory's comments have been addressed!
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
marcaaron
left a comment
There was a problem hiding this comment.
Can we confirm that no change is needed here?
App/src/libs/actions/Report.ts
Lines 1929 to 1982 in 148733c
If we start sending pusher updates for whispers then the actions could show up in browser notifications (which would be confusing as they are hidden from the UI otherwise)
|
🚀 Deployed to production by https://github.com/thienlnam in version: 1.4.41-12 🚀
|
cc @roryabraham
Details
To unblock the launch of comment linking, we decided to return the whispered report actions to all report participants and treat them regularly in Onyx, but hide them from the front end. This is a temporary solution until we enable the end-to-end encryption that will allow only the targeted users to decrypt the whispers.
The problem that blocks the comment linking launch is the fact that the whispers are currently provided to the targeted users only, which makes
previousReportActionIDinappropriately set for the report actions succeeding the whisper.Fixed Issues
#34982
PROPOSAL:
Tests
Test all whisper use cases to make sure they work as expected.
Offline tests
Same as tests.
QA Steps
Same as tests.
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
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop