Reapply Change Invite whisper actions logic#68188
Conversation
|
@abdulrahuman5196 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] |
|
This PR was originally reverted #67496 (comment). Its the new PR but we still need to fix the links which are coming from backend for now. I will check whether we can solve that from FE. |
@parasharrajat I don't understand this. |
|
So this PR does not solve the issue for which we reverted it. That issue is around the linking behaviour. These links are generated from the backend, so I think we need to update them correctly on the backend to fix that. Here is the issue #68142. Do you think we can solve that issue on FE? If so, I will update this PR to solve it. |
I don't think this is accurate, all navigation is handled in the FE and we don't currently set |
|
I think it's just a matter of using getUrlWithBackToParam. |
…ert-67496-revert-67361-chuckdries/revert-66049
|
I will create a custom renderer for the whisper action. The only thing to check is getting this |
|
I don't understand, can't we do something like this?: Line 5568 in abcdac0 |
|
Yes, I will check whether we have members' expense report data somewhere or we can generate that in some way. I will let you know once I have gone through it. |
|
Asked on slack for best approach as I see multiple techniques and not sure what is best. |
…ert-67496-revert-67361-chuckdries/revert-66049
|
@carlosmiceli I think we can directly merge this. There are no changes other than direct revert of revert PR. |
|
🚀 Deployed to staging by https://github.com/carlosmiceli in version: 9.1.98-0 🚀
|
Change Invite whisper actions logic
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.1.98-12 🚀
|
| return isActionOfType(reportAction, CONST.REPORT.ACTIONS.TYPE.ACTIONABLE_MENTION_WHISPER); | ||
| } | ||
|
|
||
| function isActionableMentionInviteToSubmitExpenseConfirmWhisper( |
There was a problem hiding this comment.
You should tag us during the initial phase when the issue was reported if the issue is a regression. I can see that it was reported as a regression and original author and C+ was not tagged to solve it.
There was a problem hiding this comment.
This was not a deploy blocker and we fixed it as a default issue 🙂
#68076 (comment)
There was a problem hiding this comment.
Regression does not have to be DP. Anyway, thanks for handling that issue.
Explanation of Change
Fixed Issues
#58811
$ #60690
$ #60689
PROPOSAL: #60690 (comment)
Tests
Note: Links will behave like normal links as you paste them in chat messages. So based on the context, navigating back will not always take you back to previous chat.
If they choose [Invite to submit expenses]:
If they choose [Invite to chat only]
If no selection is made, the mentioned user isn’t invited to the workspace chat and the whisper remains.
If
Do Nothingis selected, whisper hides and nothing happens.Offline tests
You can't take actions on whispers while offline.
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
31.07.2025_16.48.52_REC.mp4
Android: mWeb Chrome
31.07.2025_16.50.20_REC.mp4
iOS: Native
31.07.2025_16.54.16_REC.mp4
iOS: mWeb Safari
31.07.2025_16.56.10_REC.mp4
MacOS: Chrome / Safari
31.07.2025_16.46.25_REC.mp4
MacOS: Desktop
31.07.2025_17.00.44_REC.mp4