Skip to content

Sort shorter/exact emoji matches before longer incomplete matches #23210

@grimhilt

Description

@grimhilt

Your use case

What would you like to do?

  1. Get only the frequently used emojis that have the same beginning as the input string
  2. Create a sort inside the list of selected frequently used emojis based on shortcode length

Why would you like to do it?

  1. Considering :heart_eyes: in my frequently used emojis list, typing :eyes will get me :heart_eyes: and then :eyes:
  2. Considering having :heartpulse: and :heart: (in this order), typing :heart will get me :heartpulse: and then :heart:

Both of these outcomes are illogical to me.

How would you like to achieve it?

Have you considered any alternatives?

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions