Skip to content

[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

Closed

Description

@kbecciv

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:

  1. Opened mWeb.
  2. Navigated to the chat.
  3. Sent money and accessed the IOU report page.
  4. Opened the emoji modal
  5. Click Back to return to the chat.
  6. Tried opening the emoji box.

Expected Result:

The emoji modal should open in the chat compose box.

Actual Result:

The emoji modal doesn't open in the chat compose box.

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: 1.3.29.3

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-06-13.at.1.41.34.PM.1.mov
mWeb.repro.emodji.mp4

Expensify/Expensify Issue URL:

Issue reported by: @Tushu17

Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1686644077744109

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01f59b5426989a9373
  • Upwork Job ID: 1673469119557054464
  • Last Price Increase: 2023-07-03

Activity

  1. added
    Daily
    Bug
    on Jun 20, 2023
  2. melvin-bot commented on Jun 20, 2023

    @melvin-bot

    Triggered auto assignment to @alexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

  3. melvin-bot commented on Jun 20, 2023

    @melvin-bot

    Bug0 Triage Checklist (Main S/O)

    • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
    • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
      • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
    • This bug is reproducible using the reproduction steps in the OP. S/O
      • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
      • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
    • This issue is filled out as thoroughly and clearly as possible
      • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
    • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync
  4. bernhardoj commented on Jun 20, 2023

    @bernhardoj
  5. alexpensify commented on Jun 22, 2023

    @alexpensify
    Contributor

    This is on my test list

  6. payal-lathidadiya commented on Jun 23, 2023

    @payal-lathidadiya
    Contributor

    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?

    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 ReportScreen here to App here or Expensify component here, so that it won't loose state while re-rendering of report component.

    What alternative solutions did you explore? (Optional)

    None

  7. alexpensify commented on Jun 24, 2023

    @alexpensify
    Contributor

    I'm catching up from my half day, I'll review soon.

  8. added
    External
    on Jun 26, 2023
  9. 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
  10. melvin-bot commented on Jun 26, 2023

    @melvin-bot
  11. added
    Help Wanted
    on Jun 26, 2023
  12. melvin-bot commented on Jun 26, 2023

    @melvin-bot

    Current assignee @alexpensify is eligible for the External assigner, not assigning anyone new.

  13. 42 remaining items

  14. alexpensify commented on Jul 18, 2023

    @alexpensify
    Contributor

    @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!

  15. Tushu17 commented on Jul 18, 2023

    @Tushu17
    Contributor

    @alexpensify I've accepted the offer. Thank you!

  16. alexpensify commented on Jul 18, 2023

    @alexpensify
    Contributor

    Everyone has been paid here.


    @rushatgabhane - When you get a chance, can you please complete the checklist:

    #21101 (comment)

    Thank you!

  17. alexpensify commented on Jul 20, 2023

    @alexpensify
    Contributor

    @rushatgabhane - I'm checking in to see if the checklist is ready and we can close this out. Thanks!

  18. alexpensify commented on Jul 21, 2023

    @alexpensify
    Contributor

    @anmurali - we are on hold for C+ payment and will give the 🟢 as soon as the checklist has been completed.

  19. rushatgabhane commented on Jul 23, 2023

    @rushatgabhane
    Member
    1. 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.

    2. 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.

    3. 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

    4. Determine if we should create a regression test for this bug. - No

    5. 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.

  20. rushatgabhane commented on Jul 23, 2023

    @rushatgabhane
    Member

    Made a manual request here for $1.5K https://staging.new.expensify.com/r/2734383403522123

  21. alexpensify commented on Jul 23, 2023

    @alexpensify
    Contributor

    Thank you @rushatgabhane! @anmurali all set for payment here. I'm going to close this GH since all actions have been completed.

  22. JmillsExpensify commented on Jul 27, 2023

    @JmillsExpensify
    Contributor

    @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.

  23. alexpensify commented on Jul 27, 2023

    @alexpensify
    Contributor

    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!

  24. JmillsExpensify commented on Jul 27, 2023

    @JmillsExpensify
    Contributor

    Reviewed details for @rushatgabhane. This is accurate based on summary from Business Reviewer and approved for payment in NewDot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentBugDailyExternal

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions