GCTC-NTGC / gc-digital-talent

GC Digital Talent is the new recruitment platform for digital and tech jobs in the Government of Canada. // Talents numériques du GC est la nouvelle plateforme de recrutement pour les emplois numériques et technologiques au gouvernement du Canada.
https://talent.canada.ca
GNU Affero General Public License v3.0
22 stars 9 forks source link

✨ accent-agnostic user/candidate search #9957

Open tristan-orourke opened 7 months ago

tristan-orourke commented 7 months ago

✨ Feature

User and PoolCandidate name/email/general search treats accented characters uniquely. However, this can create confusion, especially when it comes to names, which people may choose to type with or without accents, somewhat arbitrarily. Like we've done in client-side search and sort features, it would be much better for users if we treated accented and non-accented characters the same.

🕵️ Details

In search, all accented versions of a character should be like the non-accented version. This should apply to the text being searched as well as the user input.

🎨 Design File

None

🧑‍🎨 Designer

@Jerryescandon

🙋‍♀️ Proposed Implementation

If it is very difficult to apply this to the general search, at the very least it should apply to names and emails. That may be easier after #9956.

https://www.postgresql.org/docs/current/textsearch-dictionaries.html

🌎 Localization

(optional) Provide any new copy along with translations available.

✅ Acceptance Criteria

A set of assumptions which, when tested, verify that the feature was properly implemented.

🛑 Blockers

Issues which must be completed before this one.

### Blocked By
- [ ] #9956
github-actions[bot] commented 7 months ago

Status: Ready to merge :heavy_check_mark:

Issues blocking this PR:

tristan-orourke commented 7 months ago

https://www.postgresql.org/docs/current/unaccent.html