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

Improve search #88

Open
rinigus opened this issue Jan 15, 2022 · 0 comments
Open

Improve search #88

rinigus opened this issue Jan 15, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@rinigus
Copy link
Contributor

rinigus commented Jan 15, 2022

From #7 (comment) by @Olf0:

  • IMO it is fine that the search is case-insensitive, but it also does not search for "words" (e.g., in contrast to Openrepos). I.e., any string match results in a hit, which is confusing simple users: E.g. searching for "Imp" would match "simple" (confusing) and "Imperial" (fine IMO). Hence you may want to match strings only on the start of a word, with words being delimited by any non-minor letter (![a-z]) character (by white-spaces, numbers and non-letters to the left and right, by capital letters [A-Z] only to the left), but any non-whitespace character in the search string must be evaluated; i.e. searching for "go" shall match "SailGo", "game-go" and "coffee2go", but not "Farango".
  • Alternatively to the point before: Being able to limit the search solely to package "pretty names" (because e.g., searching for "Go" (the game) basically fails, because of hundreds of unrelated hits) may also alleviate this issue, but means another pulley entry, another way of user interaction etc.; IMO this would be an inferior solution, because optimally a search functions simply finds the right stuff, but not (much) more than that.
@Olf0 Olf0 added the enhancement New feature or request label Apr 6, 2023
nephros pushed a commit to nephros/sailfishos-chum-gui that referenced this issue Apr 27, 2024
nephros pushed a commit to nephros/sailfishos-chum-gui that referenced this issue Apr 30, 2024
 - Delay entering search terms
 - Make Enter key more useful

Contributes-To: sailfishos-chum#88
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants