Description
As a user
I want to be able to pin messages
So I can welcome new joiners with important information
So I can keep important messages visible
Description
We want to allow users in a group chat to pin messages.
This should work for private group chats, one-to-ones and community chats.
Public chats are excluded.
The way it works is that pinned messages will be ordered just like normal messages, but will have a different visual
indicator (i.e color and a label) https://www.figma.com/file/aS1ct66VQ6V0cio7vSqS8UoG/Chat?node-id=18553%3A60460
For each chat type, there will be an entry point to see the pinned messages:
For one to ones, is under the profile of a user (NOTE: profile always shows the pinned message between you and the other user in a one to one chat, regardless of where you access the profile from)
For private group chats is under group info: https://www.figma.com/file/aS1ct66VQ6V0cio7vSqS8UoG/Chat?node-id=6942%3A35457
For communities chat is under the chat details screen (not existing at the moment): https://www.figma.com/file/aS1ct66VQ6V0cio7vSqS8UoG/Chat?node-id=18729%3A63242
The way we display pinned messages once clicked is the same:
https://www.figma.com/file/aS1ct66VQ6V0cio7vSqS8UoG/Chat?node-id=6945%3A0
Acceptance criteria
- Messages can be pinned in any relevant chat according to the rules below
- Messages can be unpinned in any relevant chat according to the rules below
- I can see the pinned messages in each subsection
Rules
In a private group chat, any admin can pin a message.
In a one-to-one chat any participant can pin a message.
In a community chat, any admin can pin a message.
Implementation
Feel free to ping me if you'd like to discuss potential protocol changes.