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-07-17] [$1000] mWeb - Emoji modal stops working in the chat if the user opens it in the IOU report. #21101
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Please re-state the problem that we are trying to solve in this issue.
Emoji modal stops working in the chat if the user opens it in the IOU report
What is the root cause of that problem?
emojiPickerRef is created as global ref instance here
This ref will be set when ReportScreen is mounted and will be set to null once ReportScreen is unmounted. In our case, the second chat is unmounted which will set the global ref to null.
What changes do you think we should make in order to solve the problem?
We can move EmojiPicker component from ReportScreenhere to Apphere or Expensify component here, so that it won't loose state while re-rendering of report component.
What alternative solutions did you explore? (Optional)
changed the title [-]mWeb - Emoji modal stops working in the chat if the user opens it in the IOU report.[/-][+][$1000] mWeb - Emoji modal stops working in the chat if the user opens it in the IOU report.[/+]on Jun 26, 2023
The PR that introduced the bug has been identified. Link to the PR: Umm so this bug happened when we added threads. I can't point to a specific PR for that using git blame.
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: N.A.
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: Not required
Determine if we should create a regression test for this bug. - No
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 - N.A.
@alexpensify Can you please summarize the appropriate individual payments for all parties involved in this issue? This is holding up @rushatgabhane's NewDot payments. More information on this compliance process in Slack.
*If applicable, the bonuses will be applied on the final payment
Extra Notes regarding payment: All set here @JmillsExpensify! This one was pre-summary days. Everyone has been paid here except @rushatgabhane. Thank you!
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Activity
melvin-bot commentedon Jun 20, 2023
Triggered auto assignment to @alexpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Jun 20, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)bernhardoj commentedon Jun 20, 2023
alexpensify commentedon Jun 22, 2023
This is on my test list
payal-lathidadiya commentedon Jun 23, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
Emoji modal stops working in the chat if the user opens it in the IOU report
What is the root cause of that problem?
emojiPickerRefis created as global ref instance hereThis ref will be set when ReportScreen is mounted and will be set to null once ReportScreen is unmounted. In our case, the second chat is unmounted which will set the global ref to null.
What changes do you think we should make in order to solve the problem?
We can move
EmojiPickercomponent fromReportScreenhere toApphere orExpensifycomponent here, so that it won't loose state while re-rendering of report component.What alternative solutions did you explore? (Optional)
None
alexpensify commentedon Jun 24, 2023
I'm catching up from my half day, I'll review soon.
[-]mWeb - Emoji modal stops working in the chat if the user opens it in the IOU report.[/-][+][$1000] mWeb - Emoji modal stops working in the chat if the user opens it in the IOU report.[/+]melvin-bot commentedon Jun 26, 2023
Job added to Upwork: https://www.upwork.com/jobs/~01f59b5426989a9373
melvin-bot commentedon Jun 26, 2023
Current assignee @alexpensify is eligible for the External assigner, not assigning anyone new.
42 remaining items
alexpensify commentedon Jul 18, 2023
@Tushu17 - I've prepared the payment in Upwork, please accept and I can complete the next steps
@payal-lathidadiya - I've sent the payment via Upwork
@rushatgabhane - please request payment in NewDot, thanks!
Tushu17 commentedon Jul 18, 2023
@alexpensify I've accepted the offer. Thank you!
alexpensify commentedon Jul 18, 2023
Everyone has been paid here.
@rushatgabhane - When you get a chance, can you please complete the checklist:
#21101 (comment)
Thank you!
alexpensify commentedon Jul 20, 2023
@rushatgabhane - I'm checking in to see if the checklist is ready and we can close this out. Thanks!
alexpensify commentedon Jul 21, 2023
@anmurali - we are on hold for C+ payment and will give the 🟢 as soon as the checklist has been completed.
rushatgabhane commentedon Jul 23, 2023
The PR that introduced the bug has been identified. Link to the PR: Umm so this bug happened when we added threads. I can't point to a specific PR for that using git blame.
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: N.A.
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: Not required
Determine if we should create a regression test for this bug. - No
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 - N.A.
rushatgabhane commentedon Jul 23, 2023
Made a manual request here for $1.5K https://staging.new.expensify.com/r/2734383403522123
alexpensify commentedon Jul 23, 2023
Thank you @rushatgabhane! @anmurali all set for payment here. I'm going to close this GH since all actions have been completed.
JmillsExpensify commentedon Jul 27, 2023
@alexpensify Can you please summarize the appropriate individual payments for all parties involved in this issue? This is holding up @rushatgabhane's NewDot payments. More information on this compliance process in Slack.
alexpensify commentedon Jul 27, 2023
Here is the payment summary:
Upwork Job:
https://www.upwork.com/jobs/~01f59b5426989a9373
*If applicable, the bonuses will be applied on the final payment
Extra Notes regarding payment: All set here @JmillsExpensify! This one was pre-summary days. Everyone has been paid here except @rushatgabhane. Thank you!
JmillsExpensify commentedon Jul 27, 2023
Reviewed details for @rushatgabhane. This is accurate based on summary from Business Reviewer and approved for payment in NewDot.