You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HOLD for payment 2023-08-17] [$1000] Web - Emoji count and details are not dynamically updating when reactions are added #23752
Right click on the reacted emoji to open the details modal
On account B click on the 👍 to add to the reaction
Go to account A and check the details modal
Expected Result:
Details modal should update showing the added reaction count and the account which reacted
Actual Result:
Details modal doesn't update dynamically
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Android / native
Android / Chrome
iOS / native
iOS / Safari
MacOS / Chrome / Safari
MacOS / Desktop
Version Number: v1.3.46-0 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
However, if this information changes, the popover will be unaware of it.
What changes do you think we should make in order to solve the problem?
Move PopoverReactionList to ReportActionItem and pass all reactions (props.emojiReactions) as a prop.
We should define const reactionListRef = useRef(null); here instead of using context and pass the ref to ReportActionItemEmojiReactions.
reactionListRef.current.showReactionList should pass reaction.emojiName instead of reaction.
Subsequently, we can filter the passed emojiReactions for the relevant emoji.
What alternative solutions did you explore? (Optional)
changed the title [-]Web - Emoji count and details are not dynamically updating when reactions are added[/-][+][$1000] Web - Emoji count and details are not dynamically updating when reactions are added[/+]on Jul 28, 2023
changed the title [-][$1000] Web - Emoji count and details are not dynamically updating when reactions are added[/-][+][HOLD for payment 2023-08-17] [$1000] Web - Emoji count and details are not dynamically updating when reactions are added[/+]on Aug 10, 2023
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.52-5 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-08-17. 🎊
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.
External issue reporter
Contributor that fixed the issue
Contributor+ that helped on the issue and/or PR
For reference, here are some details about the assignees on this 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:
[@s77rt] The PR that introduced the bug has been identified. Link to the PR:
[@s77rt] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
[@s77rt] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
[@s77rt] Determine if we should create a regression test for this bug.
[@s77rt] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
[@NicMendonca] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
A discussion in #expensify-bugs has been started: Not needed as there is not much to discuss, the regression could have been caught during PR review/test
Determine if we should create a regression test for this bug: No
Activity
melvin-bot commentedon Jul 27, 2023
Triggered auto assignment to @NicMendonca (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Jul 27, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)samh-nl commentedon Jul 27, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
Emoji count and details are not dynamically updating when reactions are added
What is the root cause of that problem?
When we open the popover, we explicitly pass the reactions:
App/src/components/Reactions/ReportActionItemEmojiReactions.js
Line 99 in f3196c1
However, if this information changes, the popover will be unaware of it.
What changes do you think we should make in order to solve the problem?
PopoverReactionListtoReportActionItemand pass all reactions (props.emojiReactions) as a prop.We should define
const reactionListRef = useRef(null);here instead of using context and pass the ref toReportActionItemEmojiReactions.reaction.emojiNameinstead ofreaction.Subsequently, we can filter the passed emojiReactions for the relevant emoji.
What alternative solutions did you explore? (Optional)
N/A
samh-nl commentedon Jul 27, 2023
Duplicate of #23746
Nathan-Mulugeta commentedon Jul 27, 2023
I think the issue you have linked is the dupe, this issue was reported on slack yesterday.
[-]Web - Emoji count and details are not dynamically updating when reactions are added[/-][+][$1000] Web - Emoji count and details are not dynamically updating when reactions are added[/+]melvin-bot commentedon Jul 28, 2023
Job added to Upwork: https://www.upwork.com/jobs/~0103b055021bf558bd
melvin-bot commentedon Jul 28, 2023
Current assignee @NicMendonca is eligible for the External assigner, not assigning anyone new.
24 remaining items
[-][$1000] Web - Emoji count and details are not dynamically updating when reactions are added[/-][+][HOLD for payment 2023-08-17] [$1000] Web - Emoji count and details are not dynamically updating when reactions are added[/+]melvin-bot commentedon Aug 10, 2023
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Aug 10, 2023
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.52-5 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-08-17. 🎊
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:
melvin-bot commentedon Aug 10, 2023
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:
s77rt commentedon Aug 13, 2023
NicMendonca commentedon Aug 21, 2023
NicMendonca commentedon Aug 21, 2023
Everyone has been paid 🎉