Skip to content

Edit my comment #7909

@andreslucena

Description

@andreslucena

Ref: OM39 / DECOM-39

Is your feature request related to a problem? Please describe.

As a participant sometimes I make mistakes in my comments.

Describe the solution you'd like

I want to be able to edit them as we already have in other components (for instance Proposals). An edited comment should have a message that was edited.

Mockup proposal comment author view

image

Mockup proposal visitor view

image

Describe alternatives you've considered

To have also Versions (ie implement Versionable), but that could be overkill at this moment. We should at least show that this comment was edited as other platforms already do, for instance, Discourse, Reddit, or Meneame.

Another thing to consider is to be able to change this window, with an option like "Proposals can be edited by authors before this many minutes passes" that will be "Comments can be edited by authors before this many minute passes", but that'd be overkill.

Additional context

Metadecidim proposal

An example of a badly formatted comment:

https://meta.decidim.org/processes/roadmap/f/122/proposals/15687?commentId=23751

Does this issue could impact users' private data?

Some PII (Personal Identifiable Information) could be leaked in comments and this would allow us to change it

Acceptance criteria

  • Given that I'm a participant that has made a comment
    When I click in the "Edit" a comment
    Then I have the comment in a textarea and can change it
    and
    Then I can see a mark that the comment was edited.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions