3.0.70

  • [Comment]: Added new APIs, hooks and event callbacks for each action that the user can perform on the Comment’s Feature Components or API:

    • APIs & Hooks:
      • Comment Annotation: addCommentAnnotation, deleteCommentAnnotation
      • Comment: addComment, deleteComment, updateComment, getComment
      • @Mention: subscribeCommentAnnotation, unsubscribeCommentAnnotation, assignUser
      • Reaction: addReaction, deleteReaction, toggleReaction
      • Attachment: addAttachment, deleteAttachment, getAttachment
      • Status & Priority: updateStatus, updatePriority, resolveCommentAnnotation
      • Recording: getRecording, deleteRecording
      • Deep Link: getLink, copyLink
      • Moderation: approveCommentAnnotation, acceptCommentAnnotation, rejectCommentAnnotation, updateAccess
    • More Event Callbacks:
      • On
      • Here is the list of events you can subscribe to.
  • [Metadata]: Get the currently set organization, document and location objects:

    const metadata = await client.getMetadata();
    
  • [UI Customization]: Added ability to customize comment sidebar search placeholder:

  <VeltCommentsSidebar searchPlaceholder="New placeholder" />