Skip to content

Comments module #160

@josepjaume

Description

@josepjaume

🎩 User Story

As a way to improve the democratic quality and enable collective reasoning, we should provide a comments module that enables comments polymorphically for any kind of content.

  • Any user can create a comment, if that entity allows it.
  • Comments can be nested, but just one level.
  • Comments are written using a WYSIWYG editor with a limited set of controls (bold, italic, lists, links).
  • Comments have a limit of 500 chars.

At a technical level, this should expose an interface like:

<%= comments_for @proposal, votable: true, arguable: false %>

Probably this should render a react component, which seems right to the job.

📋 Related documentation

🎯 Acceptance criteria

All comments for a content appear listed for a particular resource. A Proposal (or any other resource) can be commented by a user, if comments are open.

📌 Related issues

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions