-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[$500] Chat - Including any capital letter in mention displays wrong tooltip and mention with all capital letters is not displayed as mention #26016
Comments
Triggered auto assignment to @adelekennedy ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalWhat is the problemMention is case sensitive. Root causeMention is considering case of the email. Email can't have upper case characters, but the app is treating it as a new user when showing tooltip. But when we click on the mention, the correct user is shown in the details page. What changes do i proposestep 1: Mail regex is case sensitive. In below code link, "userMentions'' regex rules block should contain 'gmi' instead of 'gm' in second parameter in "expensify-commons/lib/ExpensiMark.js" to make it case insensitive. So that tooltip will show exact user instead of treating it like new user when any capital letter in mention included. These changes in "expensify-commons" won't make any regression. step 2: the tooltip should convert the email to lowercase so that it finds the correct user. But we don't change the message sent by user. convert to lowercase here -
|
📣 @nikhildewoolkar! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
@adelekennedy Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Job added to Upwork: https://www.upwork.com/jobs/~01922c54c131acf6fe |
Current assignee @adelekennedy is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @sobitneupane ( |
I think the likelihood that a user makes this mistake is low - but the outcome is inconvenient enough that we should fix |
ProposalPlease re-state the problem that we are trying to solve in this issue.Chat - Including any capital letter in mention displays wrong tooltip and mention with all capital letters is not displayed as mention What is the root cause of that problem?We don't have the logic to convert the capital text to the correct mention.
We should do the same with mention What changes do you think we should make in order to solve the problem?We should create the new function named
here is the sample code
Then add
ResultScreen.Recording.2023-08-31.at.15.48.41.mov |
@sobitneupane will review the proposals - not overdue! |
Let's first finalize the expected output. We have two probable options.
Screen.Recording.2023-08-31.at.15.48.41.mov
Screen.Recording.2023-09-05.at.20.29.34.mov@adelekennedy which one is the expected output? |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@adelekennedy We have two options here. What should be the expected output? |
2 in my opinion |
Still pending update |
It's been so many days now... I have made PR @sobitneupane has already reviewed the PR. Only one review by @youssef-lr is remaining. Let's complete this asap. Kindly check and review it. As well as merge it. @neil-marcellini @sobitneupane @adelekennedy PR link:- #33539 |
@nikhildewoolkar the issue is still reproducible, see my last comment please. |
This issue has not been updated in over 15 days. @sobitneupane, @neil-marcellini, @nikhildewoolkar, @adelekennedy eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
Actually that latest reproducible bug issue isn't related to my problem statement. It is happening because of some other thing. Let me know, earlier it wasn't like that. Let me know further updates on this. @sobitneupane @youssef-lr |
due to slow review, I constantly got new conflicts and had to re-write many times which was challenging. so I think $1000 is a fair compensation. the underlying code was refactored and changed completely, so i had to test it again and again for new code. |
@nikhildewoolkar Your PR did not fully fix the issue. Here's when I mentioned that, @sobitneupane was able to reproduce as well. The issue I linked was fixed in a different PR and I can't reproduce it currently in staging/production. Here's a recording from staging. Screen.Recording.2024-02-14.at.01.37.59.mov
I would agree if this was a complex PR, but it's a one line change that adds I've left one last comment in the PR if you could check it out so we can get the PR merged. Thanks for your patience here. |
actually i have attached the evidence below that. It was working fine. |
This issue has been resolved. Kindly generate an upwork job for this particular issue. Kindly read the earlier message . |
Hi @nikhildewoolkar. I have not been involved with your previous PRs so I'm not sure how complex were they. But speaking for the one I reviewed, I really don't see how it can be challenging to fix conflicts when we're just adding As for the delays, here's how many times we had to bump you in this issue: Please note that your response time will also affect how long an issue can drag. With that being said, I still think $500 is a fair price for the kind of changes we made here and the priority of the bug. |
I agree with @youssef-lr. I also believe $500 is fair price for the work. |
agreed - looking at the scope of the bug and the delays on both sides I think $500 is fair. @nikhildewoolkar I've sent you a $500 offer on Upwork @sobitneupane should be paid $500 via NewDot |
I have seen the job on upwork and accepted it as well. Kindly check ✅ |
Kindly accept the submission on upwork. @adelekennedy @neil-marcellini @sobitneupane |
Hi @adelekennedy, @neil-marcellini , @sobitneupane sorry I am not sure if issue was worked on or not so can you let me know if this issue is eligible for reporting bonus or not? |
Kindly process this fast because it's been 6 months, this issue is open. That's why i had to update code and pr again and again and complete it. PR had been merged long back and everything is done properly. @adelekennedy @neil-marcellini @dhanashree-sawant |
sorry about that! The monthly label made me miss these I've just remitted payment and ended the contract. @dhanashree-sawant this was opened right before we changed our reporting bounty, I've sent you a contract on Upwork |
Thanks @adelekennedy, I have accepted the offer. |
payment has been remitted - closing this! |
Requested payment in newDot. Payment Summary: #26016 (comment) |
$500 approved for @sobitneupane based on summary. |
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:
Expected Result:
Mention tooltip should display correct name and avatar irrespective of any capital letter in email and while making all letters capital, app should display the result as mention
Actual Result:
App does not display result as mention for all capital letters and if any one letter is made capital in mention, it does not display correct name and avatar in tooltip
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.57-5
Reproducible in staging?: Yes
Reproducible in production?: Yes
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
capital.letters.affect.mention.results.mp4
Recording.2993.mp4
Expensify/Expensify Issue URL:
Issue reported by: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1692338072767669
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @adelekennedyIssue Owner
Current Issue Owner: @neil-marcelliniThe text was updated successfully, but these errors were encountered: