Skip to content

[Feature]: Comments on files and folders with @mentions #101

Description

@DenizAltunkapan

Problem

Files in the cloud are static: a user can store and open a document, but there is no way to leave feedback, context, or a discussion on it. For a workspace where files are shared between users, the natural next step after viewing and sharing is being able to comment on a file or folder and pull specific people into that conversation.

Example: two users share a document. One wants to leave a note asking a question and tag the other person so they see it. Today they have to switch to a separate chat and describe which file they mean, losing the connection to the document.

Proposed solution

Add comments on files and folders, with @mentions of other Vault Web users.

Scope:

Dependencies and sequencing:

Acceptance criteria

  • Users can add, list, and delete comments on a file or folder.
  • Comments support @mentions resolved against existing users.
  • A mentioned user is notified through the notification system (Add SHA-256 checksum endpoint for file integrity #95).
  • Comments are only visible to users with access to the item, and access is enforced server-side.
  • Comments appear in the file viewer sidebar.
  • Tests cover creation, deletion, mention resolution, and access control.

Related: surfaced in the file viewer sidebar (#98); depends on notifications (Vault-Web/vault-web#95) and pairs with internal sharing (#27).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestjavaPull requests that update java code

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions