Skip to content
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 2024-03-26] [HIGH] [$500] [Mentions] Cannot confirm mention via clicking or hitting the enter key #38358

Closed
1 of 6 tasks
dylanexpensify opened this issue Mar 14, 2024 · 16 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Weekly KSv2

Comments

@dylanexpensify
Copy link
Contributor

dylanexpensify commented Mar 14, 2024

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number: v1.4.51-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
Expensify/Expensify Issue URL:
Issue reported by: @dylanexpensify
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1710448753252709

Action Performed:

  1. Head to any room
  2. Thread any comment in the room
  3. Mention any user in the thread who hasn't commented in it

Expected Result:

The mention is selected, auto-filled, and the hover menu disappears

Actual Result:

The mention flickers and doesn't complete. On prod, it updates the handle, but still flickers and doesn't complete.

Workaround:

unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Screen.Recording.2024-03-14.at.8.35.15.PM.mov
Screen.Recording.2024-03-14.at.8.47.14.PM.mov
Screen.Recording.2024-03-14.at.8.42.43.PM.mov
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01072b12ec0438630b
  • Upwork Job ID: 1768384067744870400
  • Last Price Increase: 2024-03-14
  • Automatic offers:
    • getusha | Contributor | 0
@dylanexpensify dylanexpensify added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Mar 14, 2024
Copy link

melvin-bot bot commented Mar 14, 2024

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

@mountiny mountiny moved this to CRITICAL in [#whatsnext] #vip-vsb Mar 14, 2024
@mountiny mountiny added the External Added to denote the issue can be worked on by a contributor label Mar 14, 2024
@melvin-bot melvin-bot bot changed the title Cannot confirm mention via clicking or hitting the enter key [$500] Cannot confirm mention via clicking or hitting the enter key Mar 14, 2024
Copy link

melvin-bot bot commented Mar 14, 2024

Job added to Upwork: https://www.upwork.com/jobs/~01072b12ec0438630b

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Mar 14, 2024
Copy link

melvin-bot bot commented Mar 14, 2024

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

@situchan
Copy link
Contributor

This looks quite similar to #32280.
Not sure @koko57's PR might cover this case as well.

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Mar 14, 2024
Copy link

melvin-bot bot commented Mar 14, 2024

📣 @getusha 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
Keep in mind: Code of Conduct | Contributing 📖

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Mar 15, 2024
@quinthar quinthar moved this from CRITICAL to HIGH in [#whatsnext] #vip-vsb Mar 16, 2024
@quinthar quinthar changed the title [$500] Cannot confirm mention via clicking or hitting the enter key [HIGH] [$500] Cannot confirm mention via clicking or hitting the enter key Mar 16, 2024
@quinthar
Copy link
Contributor

Let's definitely do a root cause analysis to figure out where this regression came from, and how it slipped through our testing.

@quinthar
Copy link
Contributor

@getusha can you give an ETA for when you'll be able to fix this?

@getusha
Copy link
Contributor

getusha commented Mar 17, 2024

@quinthar will review the PR in 2 hours #38361

@allroundexperts
Copy link
Contributor

Let's definitely do a root cause analysis to figure out where this regression came from, and how it slipped through our testing.

This came up when we added the shortened private domain mentions feature. In our code here, we had a condition that kept on calculating mention suggestions when the mention text (with a space) was same as the display text. This was always true because the mention code was always different from the user's display text. With the implementation of the above feature, there were cases where the display name became equal to the mention code. This resulted in an endless loop for the calculation of suggestion items which resulted in this bug.

@mountiny
Copy link
Contributor

Merged the fix

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Mar 19, 2024
@melvin-bot melvin-bot bot changed the title [HIGH] [$500] Cannot confirm mention via clicking or hitting the enter key [HOLD for payment 2024-03-26] [HIGH] [$500] Cannot confirm mention via clicking or hitting the enter key Mar 19, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Mar 19, 2024
Copy link

melvin-bot bot commented Mar 19, 2024

Reviewing label has been removed, please complete the "BugZero Checklist".

Copy link

melvin-bot bot commented Mar 19, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.54-4 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 2024-03-26. 🎊

For reference, here are some details about the assignees on this issue:

Copy link

melvin-bot bot commented Mar 19, 2024

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:

  • [@allroundexperts / @getusha] The PR that introduced the bug has been identified. Link to the PR:
  • [@allroundexperts / @getusha] 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:
  • [@allroundexperts / @getusha] 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:
  • [@allroundexperts / @getusha] Determine if we should create a regression test for this bug.
  • [@allroundexperts / @getusha] 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.
  • [@bfitzexpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@quinthar quinthar changed the title [HOLD for payment 2024-03-26] [HIGH] [$500] Cannot confirm mention via clicking or hitting the enter key [HOLD for payment 2024-03-26] [HIGH] [$500] [Mentions] Cannot confirm mention via clicking or hitting the enter key Mar 25, 2024
@melvin-bot melvin-bot bot added the Overdue label Apr 1, 2024
@getusha
Copy link
Contributor

getusha commented Apr 2, 2024

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:

Regression Test Proposal

  1. Open any room/dm
  2. Make sure you're signed in with private domain email not @gmail.com or any other public provider.
  3. Open a thread from any message in the chat
  4. Mention any user (has to be from same private domain)
  5. Highlight the result and hit enter
  6. Verify that the mention is inserted and the popup is closed
  7. Repeat step 4 and press/tap on the result
  8. Verify that the mention is inserted and the popup is closed

Do we agree 👍 or 👎

@melvin-bot melvin-bot bot removed the Overdue label Apr 2, 2024
@melvin-bot melvin-bot bot added the Overdue label Apr 10, 2024
@bfitzexpensify
Copy link
Contributor

Payment summary:

@getusha to be paid $500 for contributor work - paid via Upwork ✅
@allroundexperts to be paid $500 for C+ work - to be made via manual request

Regression steps proposed in https://github.com/Expensify/Expensify/issues/388157.

We're all done here, thanks everyone.

@melvin-bot melvin-bot bot removed the Overdue label Apr 16, 2024
@github-project-automation github-project-automation bot moved this from HIGH to CRITICAL in [#whatsnext] #vip-vsb Apr 16, 2024
@JmillsExpensify
Copy link

$500 approved for @allroundexperts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Weekly KSv2
Projects
No open projects
Status: CRITICAL
Development

No branches or pull requests

8 participants