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

autocomplete: Match insensitively to diacritics In @-mention results #588

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Khader-1
Copy link
Collaborator

Fixes #237
A new dependency was introduced: diacritic: ^0.1.5

@@ -327,6 +327,11 @@ void main() {
doCheck('full full', eg.user(fullName: 'Full Full Name'), true);
doCheck('full full', eg.user(fullName: 'Full Name Full'), true);

// assert that name checking is diacritic insensitive
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be enhanced with test groups but that will be against the pattern in this file, I imagine some little tweaks would be required.
I would prefer updating it but I try to follow the patterns I find in the codebase.
So.. what do you suggest?

@Khader-1 Khader-1 changed the title autocomplete: In @-mention results, match insensitively to diacritics autocomplete: Match insensitively to diacritics In @-mention results Mar 25, 2024
@gnprice
Copy link
Member

gnprice commented Apr 1, 2024

@chrisbobbe
Copy link
Collaborator

To update this thread: it looks like we've identified a dependency to pull in 🙂 https://chat.zulip.org/#narrow/stream/48-mobile/topic/deps.3A.20Add.20new.20package.20to.20handle.20diacritics/near/1770345 so I/we will be happy to see a revision that does that, and review this again when it's un-marked as a draft.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

autocomplete: In @-mention results, match insensitively to diacritics
3 participants