threema-web icon indicating copy to clipboard operation
threema-web copied to clipboard

Shortcut (Autocomplete) for Emoji

Open moffer opened this issue 6 years ago • 6 comments

Expected Behavior

In Slack there is a nice feature to easily type in emoticons: If I am starting to type a special character (e.g. : ) it should be possible to easily transform a name of a smiley (like grinning-face) to the actual image. Also while typing it should display suggestions out of what was already typed, which then can be used by hitting enter.

Current Behavior

ATM you are only able to select the plus-btn and look for the emoticon. That's more time consuming than typing a shortcut.

Possible Solution

While typing in : the application should look for possible matches of emoticons. The emoticons should be a list, with their names, while spaces need to be converted into dashes/underscores. To know, when a smiley is finished, it could be ended with another :-character.

moffer avatar Feb 13 '18 15:02 moffer

Related to #1. The next release (you can preview it here) will replace :shortnames: with emoji, although at the moment without any preview / autocompletion. If you know the emoi shortname by heart it should be fine.

An autocompletion menu will be added in the future.

dbrgn avatar Feb 13 '18 16:02 dbrgn

@dbrgn Since this is already working... Any ETA for preview / autocompletion?

ghost avatar Apr 21 '18 17:04 ghost

No ETA yet. It is something I'd definitely like to see though. If someone wants to speed up the process - PRs are welcome :slightly_smiling_face:

dbrgn avatar Apr 22 '18 22:04 dbrgn

Additionally to suggestions and autocomplete for emoji's I propose two things:

  1. All emoji's get an index number as they are already rendered in Threema web. :grinning: would be the first, :smile: the third index etc. to speed up the emoji selection. A shortcut for emoji index suggestion list could be Strg + Shift and then entering the emoji index number so one has the emoji inserted in the text box.
  2. The suggestion list for the autocomplete for emoji names and emoji indices should display the emoji index number, the emoji itself, and on its right, the corresponding emoji name.

So one could get the :grinning: emoji by pressing strg + shift then 1 for grinning emoji index selection and then enter as acceptance or typing :gr and pressing enter as acceptance for the suggestion.

ManuelTS avatar Jan 01 '19 22:01 ManuelTS

Coming from Slack, Github, WhatsApp, ... I really expect the :name syntax to work fluently in any chat/commenting system nowadays. I came here because I couldn't find the existing functionality without preview/auto-completion; also, remembering the exact names of hundreds (thousands?) of emojis is rather impossible.

reitzig avatar Dec 23 '20 14:12 reitzig

@reitzig please note that this repository will not receive any new features while we work on a client that will replace Threema Web. See https://github.com/threema-ch/threema-web/pull/996.

I often use :name syntax myself, so we'll definitely have something like that in the new client.

dbrgn avatar Dec 23 '20 15:12 dbrgn