3.0.16

New Features

  • [Comments]: Added a new atHereDescription prop to customize the description that appears for the @here mention.

Using Props:

<VeltComments atHereDescription="Notify all users in this document" />

Using API Method:

const contactElement = useContactUtils();

useEffect(() => {
  contactElement.setAtHereDescription('Notify all users in this document');
}, [contactElement]);
  • [Comments]: Added the getSelectedComments() API to get the currently selected comment annotations.
const commentElement = client.getCommentElement();
const subscription = commentElement.getSelectedComments().subscribe((selectedComments) => {
  console.log('Selected comments:', selectedComments);
});

Unsubscribe from the subscription when you’re done:

subscription?.unsubscribe()

Bug Fixes

3.0.15

New Features

  • [Comments]: Added a Minimal Filter Dropdown Component for the Multithread Comment Dialog. This provides basic filtering and sorting options, including:
    • Sorting: by date, by unread status
    • Filtering: unread comments, read comments, resolved comments

Improvements

  • [Comments]: Updated multithread behavior to ensure only one composer is open at a time.

Bug Fixes

  • [Comments]: Fixed an issue where the Floating Mode Comment Sidebar would not close when clicked outside.
  • [Comments]: Resolved a problem where sidebar dropdowns were not closing when clicked on the trigger button again.
  • [Comments]: Fixed an issue where the Add Reply button wasn’t working in Inline Comment Section.