Ability to tag someone in a comment
We want to be able to tag users in a comment as we do in the chat.
Features
Autocomplete username
When typing @
in a comment, it should propose a list of users based on their username.
We should be able to navigate in this list with the arrows of the keyboard. Typing "enter" should insert the username of the selected user. We can also click on a name to insert it.
Estimation: 100 tokens
Send inboxes references
When the comment data is posted, the front-end must add a list of inboxes in the mentions
property.
Will probably be handled in javascript
Estimation: 50 tokens
Sending a notification
When a comment is posted, a notification is posted to all the inboxes listed in mentions
.
It will contain the following data:
-
author
: name of the person who wrote the comment -
object
: related conversation? Seems complicated to link the related object (ie: related poll) -
type
:"Comment"
-
summary
: content of the message
Estimation: 80 tokens
Notification template
We should define a notification template showing a tag from a conversation.
Estimation: 25 tokens
Specification
<solid-conversation
bind-resources
mention-range="server/users/"
mention-range-label="username"
mention-range-inbox="inbox"
></solid-conversation>
Total estimation: 255 token