-
Notifications
You must be signed in to change notification settings - Fork 3k
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-11] [$500] Auto complete emojis does not pop up if a letter with tilde in spanish #38549
Comments
Triggered auto assignment to @johncschuster ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Auto complete emojis does not pop up if a letter with tilde in spanish What is the root cause of that problem?The Line 1573 in 22bd9eb
What changes do you think we should make in order to solve the problem?We need to modify regex to also match characters with accents. EMOJI_SUGGESTIONS: /:[\p{L}0-9_+-]{1,40}$/u, We might want to do this in specific places, in that case we can create a new const for Result |
Job added to Upwork: https://www.upwork.com/jobs/~01191fbf64d1245a9f |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @thesahindia ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
So when we type the
Let's look at an example keyword list here There's the Similarly if we search for What changes do you think we should make in order to solve the problem?
a. We need to define a method that will "normalize" a string with accented character. We already have such implementation here to normalize the room name, so we can extract it to a new method
The Regex b. Then in here, when adding the keyword to the Trie, if the keyword is accented, we should add the non-accented version to the Trie as well
c. In here, when we try to extract the keyword location in order to highlight the matching part in the emoji suggestion item, we should normalize the accents as well, to make sure it matches properly
Or instead of defining our own method of comparing strings with accents removed, we can use What alternative solutions did you explore? (Optional)Another approach to 2.b is, we can store only the non-accented version in the Trie (like if keyword is Also some notes:
Result |
Triggered auto assignment to @marcaaron, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Not sure why this was not added from my report:
I think we should do that. We should not be implementing our own collator, especially since this needs to support internationalization to any language. |
Proposal updated to add the alternative use of |
@thesahindia can you review @tienifr's updated proposal? |
Bumped in Slack! |
Yes it looks good to me! |
📣 @tienifr 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@iwiznia @thesahindia About the feasibility of using
Line 49 in ed7029b
App/src/libs/GetStyledTextArray.ts Line 11 in ed7029b
In conclusion, using Lines 1578 to 1581 in ed7029b
|
This issue has not been updated in over 15 days. @johncschuster, @marcaaron, @thesahindia, @tienifr 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! |
Got it, thanks for the explanation! And sorry that I missed that message |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.78-5 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-11. 🎊 For reference, here are some details about the assignees on this issue:
|
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:
|
@thesahindia, can you complete the BZ Checklist when you have a moment? Thank you! |
Payment Summary:Contributor: @tienifr - $500 - paid via Upwork |
This was an improvement. It was a case that we weren't handling so we shouldn't be treating it as a regression. We don't need a test case here since it's very specific, but if we want to add one, here are the steps:
|
Payment has been issued to @tienifr 🎉 What do you think of the QA test steps above, @iwiznia? |
They look good, but it's missing the good case: search for |
Updated! |
$500 approved for @thesahindia |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.4.54-0
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: @iwiznia
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1710785038489889
Action Performed:
Expected Result:
Should auto complete in composer field or show the results in the emoji picker.
Actual Result:
Does not auto complete in composer and no results found in emoji picker. Not treating
o
andó
as sameWorkaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Recording.2866.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @johncschusterThe text was updated successfully, but these errors were encountered: