3.0.66

Features

  • [Comments]: Added support for passing Comment Annotation objects to Standalone Comment Thread component.

    • When using annotations from other documents:
      • Comments will be read-only
      • Reactions and recordings will not be rendered
    • This enables creating Kanban boards by fetching comment annotations from multiple documents using our REST APIs.
    <VeltCommentThread annotation={COMMENT_ANNOTATION_OBJECT} />
    
  • [Comments]: Added shortUserName feature to control display of user names.

    • For long names, this will first create an initial of the second name and if the name is still long, it will truncate it with ellipses.
    • It’s enabled by default.

    Using Props:

    <VeltComments shortUserName={false} />
    

    Using API:

    const commentElement = client.getCommentElement();
    commentElement.enableShortUserName();
    commentElement.disableShortUserName();