Cannot use project scope search for less than 3 chars

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

The search scope for a single project only appears when 3 or more characters are typed into the search field.
While this typically works fine for languages such as English, it may present some useability issues in other languages which can represent words with less characters.

e.g. Mandarin Chinese is represented by 2 characters 官话 meaning that the project search scope cannot be used to search for this phrase in isolation Source: https://en.wikipedia.org/wiki/Mandarin_Chinese

This could pose usability issues for users depending on the context

ascii_search_2_chars

Workaround: Add some additional white space padding to the search term 官话 does appear to help, but this may not work for all search criteria.

NB - This is only applicable to the super sidebar search as it works as expected when on page https://gitlab.com/search

Screenshot of `https://gitlab.com/search`

Screenshot_2023-12-04_at_11.55.49

Edited by 🤖 GitLab Bot 🤖