Versions

Added Custom Cursor

We have introduced support for a custom cursor for comments. The custom cursor’s image should be 32 x 32 pixels.

<VeltComments pinCursorImage={BASE64_IMAGE_STRING} />

API Methods:

const commentElement = client.getCommentElement();
commentElement.setPinCursorImage(BASE64_IMAGE_STRING);

Added placeholder Support

We have added placeholder support for Comments DIalog within the comment-dialog-composer-input-wireframe. Learn more.

Added notificationSourceData Field

We have added the notificationSourceData field for custom notifications in SDK and REST API. It is added via the Add Norifications API. This object can be any key value pair that the developer sets. It has no type.

Added Additional Fields for SendGrid Email Template

We have added a few new fields for SendGrid email template.

  • firstComment: first message in the thread.

  • latestComment: Latest message in the thread that prompted the email.

  • prevComment: The previous message to the latestMessage.

  • commentsCount: Total number of comments in the comment annotation.

  • fromUser: Action user’s object.

  • commentAnnotation: The comment annotation object without the comments.

  • actionType: The action that resulted in the notification.

Added the Update to Create Organization if Not Specified

For the Update Disable State and Add Users API, if Organization does not exist, we will create it with metadata.

Was this page helpful?