miguelfreitas / twister-html

twister HTML + Javascript User Interface
MIT License
229 stars 138 forks source link

Implement "group chat" interface #253

Open miguelfreitas opened 9 years ago

miguelfreitas commented 9 years ago

Group chat feature was introduced in twister-core repository and is described here:

https://groups.google.com/forum/#!topic/twister-dev/CJnVSUjk69o

Now the twister-html interface side must be implemented. The basic sending/receiving mechanism is the same as direct messages (same API) but some new elements and dialogs must be created:

1) Dialog to create a new group chat, setting the name (description) for it. Define which users to invite.

2) Dialog to invite additional users to an existing group chat.

3) Support for displaying the correct sender of each direct message by using the "from" field, whenever it is available.

4) Mapping group alias (the username starts with "" like "hhfwkedd") to description, instead of requesting user's avatar/fullname etc.

5) Dialog to change the description of an existing group chat.

6) Dialog to leave a group chat.

miguelfreitas commented 9 years ago

(3) partially implemented: avatar is shown but username is not.

kseistrup commented 9 years ago

If possible, could we please have separate DM and Group Message notifications? I prefer to receive a notification when receiving a direct message, but I'll probably feel spammed if I get notified by every group message.

miguelfreitas commented 9 years ago

I guess a "mute" per group would be useful as well. Some people tend to go crazy with groups (this happens with whatsapp very often). Agreed, competing with DM for attention doesn't look very good.

kseistrup commented 9 years ago

+1 for “mute”

Erkan-Yilmaz commented 9 years ago

related: (A) with a 10 dollar bounty

(A) https://github.com/miguelfreitas/twister-core/issues/28