Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

:-P should not trigger emoji autocompletion #1648

Closed
starquake opened this issue Oct 18, 2017 · 3 comments
Closed

:-P should not trigger emoji autocompletion #1648

starquake opened this issue Oct 18, 2017 · 3 comments
Milestone

Comments

@starquake
Copy link
Contributor

When you type something like this you will get autocompletion, which I think is annoying in this case. Especially at the end of a sentence.

Well that was fun :-P

You get this:
image

How should this be handled? Ignore anything beginning with :- ?

I can give it a go at fixing.

@AlMcKinlay
Copy link
Member

Ignore anything beginning with :- ?

Can't do this, as @xPaw mentioned there is 👎 which would be broken by this.

An easy fix for this particular one is to change the emoji on that on to "non_potable_water" which would fix this, but that won't fix any future ones.

We need to discuss whether using enter to select an emoji is the right way to do things, or whether it should be tab instead. Also, whether we should change to the actual unicode emoji, or whether we should change to the textual representation, making it potentially easier to remove the characters that we don't want, and we replace it with the emoji on send.

@starquake
Copy link
Contributor Author

starquake commented Oct 19, 2017

I would argue enter is the right way to select an emoji. Here's a list of applications that uses enter to select something from an autocompletion list:

  • Visual Studio Code
  • The GitHub website
  • Office Teams (Skype for business)
  • JIRA
  • Telegram
  • Whatsapp Web
  • Twitter
  • Discord

Which made me wonder. Why is this not an issue in those apps? Discord changed to "non_potable_water". GitHub seems to ignore textual emoticons.

So here are some thoughts. Maybe we should add an autocompletion blacklist? It looks like that is how GitHub works. And I don't think :-P should ever be replaced by a unicode emoji. You could make it an option though.

@xPaw
Copy link
Member

xPaw commented Oct 22, 2017

#1651 changes shorthands to not include dashes.

@xPaw xPaw added this to the 2.6.0 milestone Oct 28, 2017
@xPaw xPaw closed this as completed Oct 29, 2017
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

No branches or pull requests

3 participants