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 2022-12-02] New Chat - When a username has numbers, multiple names are highlighted in the search #12900

Closed
kbecciv opened this issue Nov 21, 2022 · 12 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 Reviewing Has a PR in review

Comments

@kbecciv
Copy link

kbecciv commented Nov 21, 2022

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


Action Performed:

  1. Go to https://staging.new.expensify.com/
  2. Login with any account
  3. Click on the "Global action" button
  4. Click on "New Chat"
  5. Search for a user with numbers in their name
  6. Verify that the first result in the list is highlighted

Expected Result:

The first result in the list is highlighted, and that the user can navigate up and down from there using the arrow keys.

Actual Result:

Multiple names are highlighted in the search, when a username has numbers.

Workaround:

Unknown

Platform:

Where is this issue occurring?

  • Web
  • iOS
  • Android
  • Desktop App
  • Mobile Web

Version Number: 1.2.29.6

Reproducible in staging?: Yes

Reproducible in production?: Yes

Email or phone of affected tester (no customers):

Logs: https://stackoverflow.com/c/expensify/questions/4856

Notes/Photos/Videos: Any additional supporting documentation

Bug5827612_Recording__116.mp4

Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal Team

Slack conversation:

View all open jobs on GitHub

@kbecciv kbecciv added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Nov 21, 2022
@melvin-bot
Copy link

melvin-bot bot commented Nov 21, 2022

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

@kbecciv kbecciv changed the title Web - Chat - When a username has numbers, multiple names are highlighted in the search New Chat - When a username has numbers, multiple names are highlighted in the search Nov 21, 2022
@jasperhuangg jasperhuangg self-assigned this Nov 21, 2022
@jasperhuangg
Copy link
Contributor

Gonna investigate this one

@jasperhuangg
Copy link
Contributor

It seems our logic here doesn't take into account the userToInvite option that's added on here. Looking into a fix

@jasperhuangg
Copy link
Contributor

jasperhuangg commented Nov 21, 2022

We're setting indexOffset for each section incorrectly here, PR incoming...

@thesahindia
Copy link
Member

I had reported this at #expensify-open-source

@jasperhuangg
Copy link
Contributor

@arielgreen can we be sure to get @thesahindia the reporting bonus?

@arielgreen
Copy link
Contributor

Of course!

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels Nov 25, 2022
@melvin-bot melvin-bot bot changed the title New Chat - When a username has numbers, multiple names are highlighted in the search [HOLD for payment 2022-12-02] New Chat - When a username has numbers, multiple names are highlighted in the search Nov 25, 2022
@melvin-bot
Copy link

melvin-bot bot commented Nov 25, 2022

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.31-8 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 2022-12-02. 🎊

After the hold period, please check if any of the following need payment for this issue, and if so check them off after paying:

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@melvin-bot
Copy link

melvin-bot bot commented Nov 25, 2022

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:

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Dec 2, 2022
@arielgreen
Copy link
Contributor

Payment issued.

@arielgreen
Copy link
Contributor

Discussing proposed regression test here.

@arielgreen
Copy link
Contributor

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 Reviewing Has a PR in review
Projects
None yet
Development

No branches or pull requests

4 participants