Skip to content

Adding comments to right sidebar for files & folders #16328

@MTRichards

Description

@MTRichards

(pulling some info from meta-data app owncloud-archive/metadata#1)

As an ownCloud user, I want to be able to add a threaded comment to a file and a folder inside ownCloud so that I can have a conversation about the file or the folder within ownCloud.

Acceptance Criteria:

  • Comment window appears in right side window
  • I can click in the comment window and add a comment to the file
  • When I click submit on the comment, it appears at the top of the comment in the window
  • Comments are reverse chronological order, and can be scrolled down. A popup can be clicked if there are more than three comments that are worth reading to simplify seeing many comments at once
  • The popup has the ability to also add a comment, so the commenter can add the latest while also seeing the long list of other comments
  • Comments can be up to 1000 characters in length, but the displayed comment is limited in length to 250 characters. Only when the user clicks the popup window will the full comment be displayed in the window.
  • In the files view, when the file or folder is not focused (not clicked on my user) an icon simply shows that a comment(s) has/have been added to the file, only clicking on the file or folder brings up the right side panel can the latest be read.
  • Comments sidebar show for each comment the username of who made the comment and when (date and time).
  • Max number of comments on a file or folder is limited to a value configured in the admin panel for this app. The behavior if the max # is reached is also configurable (these are only example names):
    • max_comments > 100
    • disable_or_delete_comment_after_max > disable
      • disable means no more comments can be added
      • delete means the oldest comment will be deleted
  • Users cannot delete comments they did not make at any time from the file / folder comment view with a little x.

@jancborchardt input appreciated here to from a design standpoint.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions