conversejs / converse.js

Web-based XMPP/Jabber chat client written in JavaScript
http://conversejs.org
Mozilla Public License 2.0
3.08k stars 771 forks source link

Insert a separator character after tab-completed nickname at start of line #1345

Open Zash opened 5 years ago

Zash commented 5 years ago

When tab-completing (and inserting a reference) a nickname at the start of the line, it would be nice if a , or : character was inserted after, so that the resulting sentence reads nicely. Eg Nickname, could you do the thing? or Youthere: Have you seen the thing yet?. This is common behavior in many other chat clients and, at least in English, the resulting sentence looks sane.

--- Want to back this issue? **[Post a bounty on it!](https://app.bountysource.com/issues/66536426-insert-a-separator-character-after-tab-completed-nickname-at-start-of-line?utm_campaign=plugin&utm_content=tracker%2F194169&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://app.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F194169&utm_medium=issues&utm_source=github).
Nyco commented 5 years ago

Warning:

Desktop Team Chats which do not add a separator: Slack, Gitter, Discord, Google Hangouts Chat, RocketChat (and desktop interpersonal messengers: WhatsApp, Telegram, Facebook Messenger, Google Hangouts aaaand no mentions in Hangouts)

But most messengers use a different colour for the mention, both in the input field while still typing, and when the message is sent/received (even edited/corrected). Also most messengers add a space character after the mention. Some (not the majority) remove the "@" sign.