-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[HOLD for payment 2023-08-17] [$1000] Web - Emoji count and details are not dynamically updating when reactions are added #23752
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
Comments
Triggered auto assignment to @NicMendonca ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease 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:
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?
Subsequently, we can filter the passed emojiReactions for the relevant emoji. What alternative solutions did you explore? (Optional)N/A |
Duplicate of #23746 |
I think the issue you have linked is the dupe, this issue was reported on slack yesterday. |
Job added to Upwork: https://www.upwork.com/jobs/~0103b055021bf558bd |
Current assignee @NicMendonca is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @s77rt ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Web - Emoji count and details are not dynamically updating when reactions are added What is the root cause of that problem?EmojiReaction is not being passed in What changes do you think we should make in order to solve the problem?We need to pass
withOnyx({
emojiReactions: {
key: ({reportActionID}) => `${ONYXKEYS.COLLECTION.REPORT_ACTIONS_REACTIONS}${reportActionID}`,
},
})
<PopoverReactionList ref={context.reactionListRef} reportActionID={reportActionID} />
useEffect(() => {
props.setReportActionID(props.action.reportActionID);
}, [props.emojiReactions]);
What alternative solutions did you explore? (Optional)N/A |
ProposalPlease re-state the problem that we are trying to solve in this issue.Details modal doesn't update dynamically What is the root cause of that problem?In here, we show the reaction list with the static What changes do you think we should make in order to solve the problem?
What alternative solutions did you explore? (Optional)As suggested by @s77rt, instead of using the |
@s77rt From this discussion in the PR I can conclude that this problem was anticipated, but it was decided to treat this as a separate issue instead of fixing it there.
Please see the updated proposal. I have simplified it with an approach that does not require withOnyx and uses the existing data in |
@jfquevedol2198 Thanks for the proposal. Your RCA is correct. As for the solution, I don't see the need to move |
@tienifr Thanks for the proposal. Your RCA is correct. The solution makes sense but I think it's better to avoid passing by We call |
@samh-nl Thanks for the update. I don't think we want to go with that solution, there should be only one |
@s77rt yeah there's a constraint where we need to pass Proposal updated to highlight that approach in alternate solution. |
@tienifr Thanks for the update. Indeed once we have the 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @flodnv, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Sounds good 👍 |
📣 @s77rt 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @tienifr 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
📣 @Nathan-Mulugeta 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
PR ready for review #24024 |
Based on my calculations, the pull request did not get merged within 3 working days of assignment. Please, check out my computations here:
On to the next one 🚀 |
|
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:
|
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:
|
|
|
Everyone has been paid 🎉 |
Uh oh!
There was an error while loading. Please reload this page.
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
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?
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
2023-07-26.21.28.26.mp4
Expensify/Expensify Issue URL:
Issue reported by: @Nathan-Mulugeta
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1690396271150109
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: