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-05] Web - Chat - Console error shows up when selecting a phone number mention #40414

Closed
1 of 6 tasks
izarutskaya opened this issue Apr 18, 2024 · 24 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering

Comments

@izarutskaya
Copy link

izarutskaya commented Apr 18, 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.63-0
Reproducible in staging?: Y
Reproducible in production?: N
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team

Action Performed:

  1. Go to staging.new.expensify.com
  2. Go to chat.
  3. Type @.
  4. Select a phone contact from the list.

Expected Result:

No console error will show up.

Actual Result:

Console error shows up.

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

Bug6453297_1713425289194.console_error_phone.mp4

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @sonialiap
@izarutskaya izarutskaya added DeployBlockerCash This issue or pull request should block deployment Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Apr 18, 2024
Copy link

melvin-bot bot commented Apr 18, 2024

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

Copy link

melvin-bot bot commented Apr 18, 2024

Triggered auto assignment to @sonialiap (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.

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

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

@izarutskaya
Copy link
Author

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

@izarutskaya
Copy link
Author

We think this issue might be related to the #vip-vsb.

@pecanoro
Copy link
Contributor

I can reproduce it, it's failing to add the mention styling because of the error:

image

@pecanoro pecanoro mentioned this issue Apr 18, 2024
50 tasks
@pecanoro
Copy link
Contributor

Caused by #40279. However, it doesn't seem anything is broken, so I think I can remove the deploy blocker label

@pecanoro pecanoro removed the DeployBlockerCash This issue or pull request should block deployment label Apr 18, 2024
@robertKozik
Copy link
Contributor

It stem expensify-common version bump inside my PR. I'll prepare followup PR's for expensify-common, react-native-live-markdown and E/App respecively

@pecanoro pecanoro added Daily KSv2 and removed Hourly KSv2 labels Apr 18, 2024
@melvin-bot melvin-bot bot added the Overdue label Apr 22, 2024
@pecanoro
Copy link
Contributor

@robertKozik Any updates?

@robertKozik
Copy link
Contributor

@pecanoro I've created the PR for expensify-common. I'll now wait until it would be merged

@melvin-bot melvin-bot bot added the Overdue label Apr 24, 2024
@pecanoro
Copy link
Contributor

PR Expensify/expensify-common#687 has been merged!

@pecanoro
Copy link
Contributor

pecanoro commented May 2, 2024

@robertKozik Friendly bump!

@melvin-bot melvin-bot bot removed the Overdue label May 2, 2024
Copy link

melvin-bot bot commented May 2, 2024

@pecanoro @sonialiap @robertKozik this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

@robertKozik
Copy link
Contributor

Sorry for not updating on this issue, I was OOO. PR with updating expensify-common on react-native-live-markdown is open now. Next would be to create PR in E/App with bumping both expensify-common and react-native-live-markdown

@jayeshmangwani
Copy link
Contributor

@sonialiap Please assign me to the issue here to track the payment

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels May 29, 2024
@melvin-bot melvin-bot bot changed the title Web - Chat - Console error shows up when selecting a phone number mention [HOLD for payment 2024-06-05] Web - Chat - Console error shows up when selecting a phone number mention May 29, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label May 29, 2024
Copy link

melvin-bot bot commented May 29, 2024

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

Copy link

melvin-bot bot commented May 29, 2024

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

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

Copy link

melvin-bot bot commented May 29, 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:

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

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Jun 4, 2024
Copy link

melvin-bot bot commented Jun 5, 2024

Payment Summary

Upwork Job

BugZero Checklist (@sonialiap)

  • I have verified the correct assignees and roles are listed above and updated the neccesary manual offers
  • I have verified that there are no duplicate or incorrect contracts on Upwork for this job (https://www.upwork.com/ab/applicants//hired)
  • I have paid out the Upwork contracts or cancelled the ones that are incorrect
  • I have verified the payment summary above is correct

@sonialiap
Copy link
Contributor

Payment summary

@jayeshmangwani
Copy link
Contributor

  • [@jayeshmangwani] The PR that introduced the bug has been identified. Link to the PR: Room mentions composer #40279
  • [@jayeshmangwani] 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: Room mentions composer #40279 (comment)
  • [@jayeshmangwani] 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: No need to create a discussion for this bug as this is a UI bug that can be caught during the PR process but somehow missed it for phone number case
  • [@jayeshmangwani] Determine if we should create a regression test for this bug.
  • [@jayeshmangwani] 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.

Regression Test Proposal

  1. Open Chat
  2. Type any user with phone number mention (for example: @+48111222333)
  3. Verify that there is no console error and mention input is correctly styled

Do we agree 👍 or 👎

@jayeshmangwani
Copy link
Contributor

payment requested in ND

@JmillsExpensify
Copy link

$250 approved for @jayeshmangwani

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. Daily KSv2 Engineering
Projects
No open projects
Archived in project
Development

No branches or pull requests

6 participants