Skip to content

Conversation

@Khader-1
Copy link
Collaborator

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

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