Skip to content

Conversation

@igrvlhlb
Copy link

@igrvlhlb igrvlhlb commented Mar 16, 2025

This is an attempt to address issue #526 and give some more possible results for approximate matches.

This pull request introduces a new filtering mechanism for app labels using string similarity algorithms. The most important changes include adding dependencies, creating a new helper class for app label filtering, updating the adapter to use the new filtering logic, and modifying the fragment to support the new filter.

New Dependencies:

New Helper Class:

String Utilities:

Adapter Updates:

Fragment Updates:


resolves #526
fixes #434

@igrvlhlb igrvlhlb changed the title Implements new app name filtering and sorting algorithm Prioritize exact and closer matches – new app name filtering and sorting algorithm Mar 19, 2025
@igrvlhlb
Copy link
Author

igrvlhlb commented Mar 22, 2025

Here I include a quick comparison between the new filtering/sorting algorithm and the ones used in OneUI and Nova Launcher.

app-sorting-benchmark.pdf

Obs.: some zoom may be needed to see the images

[EDIT: brought the current Olauncher results to the comparison]

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.

Prioritize exact matches over subset matches in keyboard search App sort places ç after z

1 participant