Skip to content

emoji search: show closest match first #338

Created by: dakkar

What

When searching for emojis, show the ones with shortest name first.

Why

As @kio said in the bug report, if I'm searching for "miku" I want to see the emoji called "miku" before the one called "not-miko" or "miku-dancing". The simplest way to do that is to sort the emoji by name length, shortest first.

Checklist

  • Read the contribution guide
  • Test working in a local environment
  • (If needed) Add story of storybook
  • (If needed) Update CHANGELOG.md
  • (If possible) Add tests

Merge request reports