element-hq / element-android

A Matrix collaboration client for Android.
https://element.io/
GNU Affero General Public License v3.0
3.39k stars 731 forks source link

Tea emoji doesn't come up in the search for "tea" #3870

Open kittykat opened 3 years ago

kittykat commented 3 years ago

To Reproduce

Steps to reproduce the behavior:

  1. Press and hold on a message to pop up menu
  2. Click on 'Add Reaction' (why is "Add Reaction" capitalised like that, while "Report content" is the other way?)
  3. Click the magnifying glass
  4. Type in tea

Expected behaviour

:tea:

Actual behaviour

Screenshot_20210819-104557.png

"Teacup without handle" is on the second page

Smartphone (please complete the following information):

Additional context

bmarty commented 3 years ago

We could improve the filtering by matching words first, and then display the other results.

kittykat commented 2 years ago

Yes, that approach would work better, I think.

Where does the list of "aliases" for each emoji come from?