-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[HOLD for payment 2023-10-18] [$1000] Web - Reaction does not show on immediately other side #27536
Comments
Triggered auto assignment to @tjferriss ( |
Job added to Upwork: https://www.upwork.com/jobs/~01685af985dafa883e |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to @mallenexpensify ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @0xmiroslav ( |
Has this been solved already? I cannot reproduce on my machine/works as intended |
📣 @TheyCallMeCheng! 📣
|
ProposalPlease re-state the problem that we are trying to solve in this issue.When reacting to a message in a thread, the reaction is not updated on the recipient's end. What is the root cause of that problem?In this function we incorrectly handled the emoji reaction in the thread: App/src/libs/actions/Report.js Lines 1781 to 1803 in b8791c3
We execute the The reason for this is the following: when creating a thread, only the author of the thread and the author of the original message are subscribed to it. So if the author of the original message initiates the thread, only this user will be subscribed to the thread report updates (until the other user opens the thread). What changes do you think we should make in order to solve the problem? if (existingReactionObject && hasAccountIDEmojiReacted(currentUserAccountID, existingReactionObject.users, skinTone)) {
- removeEmojiReaction(reportID, reportAction.reportActionID, emoji);
+ removeEmojiReaction(originalReportID, reportAction.reportActionID, emoji);
return;
}
- addEmojiReaction(reportID, reportAction.reportActionID, emoji, skinTone);
+ addEmojiReaction(originalReportID, reportAction.reportActionID, emoji, skinTone);
} The
So with this change, we will make sure a relevant report is notified with an emojiReaction update in each scenario. Result: emojis.mp4What alternative solutions did you explore? (Optional) |
@mallenexpensify I'm not sure why we both got assigned, but if it's OK I'm going to unassign myself as I'll be mostly OOO next week. |
@paultsimura thanks for the proposal but I don't like that solution. |
@0xmiroslav could you please elaborate a little so I can know in which direction to look? |
First of all, performance impact |
This comment was marked as outdated.
This comment was marked as outdated.
ProposalUpdated proposal: #27536 (comment) Just to follow the guideline standard. |
@0xmiroslav , please review @paultsimura 's updated proposal, thx |
@mallenexpensify, @0xmiroslav Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@paultsimura still I don't like that solution. We should not reconnect on ReportActionItem. Please be more familiar with our codebase. Still awaiting proposals |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
📣 @0xmiroslav 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @paultsimura 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
📣 @gadhiyamanan 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
🎯 ⚡️ Woah @0xmiroslav / @paultsimura, great job pushing this forwards! ⚡️ The pull request got merged within 3 working days of assignment, so this job is eligible for a 50% #urgency bonus 🎉
On to the next one 🚀 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.80-3 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2023-10-18. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
@Julesssss, @paultsimura, @mallenexpensify, @0xmiroslav Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Issue reporter: @gadhiyamanan paid $50 via Upwork |
Thank you @mallenexpensify. |
Can be paid |
Thanks @paultsimura , no idea how I mess that up, I've updated post above to:
@0xmiroslav have you figured out Upwork issues with your account? |
Still discussing. Let's close this for now. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
Reaction should show on receiver side
Actual Result:
Reaction does not show on receiver side
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.70.5
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Screen.Recording.2023-09-04.at.4.19.48.PM.mov
Recording.4493.mp4
Expensify/Expensify Issue URL:
Issue reported by: @gadhiyamanan
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1693824557076659
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: