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-06-20] [HOLD for payment 2024-06-18] [$250] Mark down - Mention suggestion list does not show up when typing @ #43310

Closed
4 of 6 tasks
m-natarajan opened this issue Jun 7, 2024 · 22 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Engineering External Added to denote the issue can be worked on by a contributor Weekly KSv2

Comments

@m-natarajan
Copy link

m-natarajan commented Jun 7, 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: 1.4.80-14
Reproducible in staging?: y
Reproducible in production?: n
If this was caught during regression testing, add the test name, ID and link from TestRail: n/a
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause internal team
Slack conversation:

Action Performed:

  1. Go to staging.new.expensify.com
  2. Go to chat.
  3. Type @.

Expected Result:

Mention suggestion list will show up.

Actual Result:

Mention suggestion list does not show up.
The same issue happens with emoji suggestion list.

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

Bug6505436_1717783872263.bandicam_2024-06-08_02-10-25-367.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01d317959e4f5df92e
  • Upwork Job ID: 1799815579588250941
  • Last Price Increase: 2024-06-09
Issue OwnerCurrent Issue Owner: @miljakljajic
@m-natarajan m-natarajan added DeployBlockerCash This issue or pull request should block deployment Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. DeployBlocker Indicates it should block deploying the API labels Jun 7, 2024
Copy link

melvin-bot bot commented Jun 7, 2024

Triggered auto assignment to @miljakljajic (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

Copy link

melvin-bot bot commented Jun 7, 2024

Triggered auto assignment to @arosiclair (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Jun 7, 2024
Copy link
Contributor

github-actions bot commented Jun 7, 2024

👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

@m-natarajan
Copy link
Author

@miljakljajic FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

@m-natarajan
Copy link
Author

We think that this bug might be related to #vip-vsb

@roryabraham roryabraham self-assigned this Jun 7, 2024
@roryabraham roryabraham removed the DeployBlocker Indicates it should block deploying the API label Jun 7, 2024
@roryabraham
Copy link
Contributor

Pretty certain this is front-end.

@roryabraham
Copy link
Contributor

I notice if you refresh the page with a report open then it works as expected

@roryabraham
Copy link
Contributor

The problem is that isComposerFocused ends up being false here

@roryabraham
Copy link
Contributor

Confirmed that textInputRef.current.isFocused() is returning false here. There's textInputRef.current is a live markdown ref, but I want to confirm that it's been correctly updated to the live markdown component for the current report.

@roryabraham
Copy link
Contributor

Looks like there's some kind of focus toggling going on:

image

Maybe we've got some bad memoization causing the live markdown component to unmount and remount a few times?

@luacmartins
Copy link
Contributor

That also seems to be the cause for #43312. We're not triggering onSelectionChange with each new input

@roryabraham
Copy link
Contributor

Ruling out other components unmounting and remounting in the tree:

  • ComposerWithSuggestions ❌

    image
  • Composer ❌

    image

@mountiny mountiny added the External Added to denote the issue can be worked on by a contributor label Jun 9, 2024
@melvin-bot melvin-bot bot changed the title Mark down - Mention suggestion list does not show up when typing @ [$250] Mark down - Mention suggestion list does not show up when typing @ Jun 9, 2024
Copy link

melvin-bot bot commented Jun 9, 2024

Job added to Upwork: https://www.upwork.com/jobs/~01d317959e4f5df92e

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

melvin-bot bot commented Jun 9, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @rojiphil (External)

@mountiny
Copy link
Contributor

mountiny commented Jun 9, 2024

Reverting the offending PR within the live-markdown Expensify/react-native-live-markdown#377

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Hourly KSv2 labels Jun 9, 2024
@mountiny mountiny removed the DeployBlockerCash This issue or pull request should block deployment label Jun 9, 2024
@mountiny
Copy link
Contributor

mountiny commented Jun 9, 2024

image fixed in the -17 version

@mountiny mountiny removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Jun 10, 2024
@roryabraham
Copy link
Contributor

Payments are being handled in #43332, closing this out

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Jun 11, 2024
@melvin-bot melvin-bot bot changed the title [$250] Mark down - Mention suggestion list does not show up when typing @ [HOLD for payment 2024-06-18] [$250] Mark down - Mention suggestion list does not show up when typing @ Jun 11, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jun 11, 2024
Copy link

melvin-bot bot commented Jun 11, 2024

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

Copy link

melvin-bot bot commented Jun 11, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.81-11 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-06-18. 🎊

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

  • @rojiphil requires payment (Needs manual offer from BZ)

Copy link

melvin-bot bot commented Jun 11, 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:

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

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Jun 13, 2024
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2024-06-18] [$250] Mark down - Mention suggestion list does not show up when typing @ [HOLD for payment 2024-06-20] [HOLD for payment 2024-06-18] [$250] Mark down - Mention suggestion list does not show up when typing @ Jun 13, 2024
Copy link

melvin-bot bot commented Jun 13, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.82-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-06-20. 🎊

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

  • @rojiphil requires payment (Needs manual offer from BZ)

Copy link

melvin-bot bot commented Jun 13, 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:

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

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. Engineering External Added to denote the issue can be worked on by a contributor Weekly KSv2
Projects
None yet
Development

No branches or pull requests

7 participants