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

Comments system #18

Open
srosset81 opened this issue Apr 14, 2022 · 1 comment
Open

Comments system #18

srosset81 opened this issue Apr 14, 2022 · 1 comment

Comments

@srosset81
Copy link
Contributor

Already started here: #14

On the events page, replace the "Send message to organizer" block with a "Comments" block.

Comments are one level only at the moment. You cannot reply to another comment.

Add comment

At the top, display a text input to post a new comment

  • Allow to mention participants by name with a @. Mentionned participants should be added to the to property of the ActivityPub message being sent, so that they get the message and are notified
  • Allow to tag @invitees (if you are the organizer or an inviter) and @attendees (if you are an invitee). The to should then include the collection (/data/events/EVENT_ID/invitees or /data/events/EVENT_ID/attendees).
    • The ActivityPub service should improved to take into account these collections, like it already does for the /followers collection. We should ensure only allowed users can send message to these collections. ​
  • All comments with the event ID in the context property should be added to a /comments collection associated with the event

Comments list

  • Load the /comments collection associated with the event
  • Display the comments by date, with the user (picture, name), the text, the date.
@srosset81
Copy link
Contributor Author

We will not implement this for now, as events' organizers are now able to contact all attendees (85f87c7)

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

2 participants