Release Notes
Sept 20 2024
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.- This returns an array of
CommentAnnotation
objects.
- This returns an array of
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
- [Comments]: Fixed an issue where the custom list chip tooltip icon was not displayed.
- [Comments]: Fixed an issue where the reaction tooltip in the comment player timeline component was getting distorted on hover.
- [Comments]: Fixed an issue where the reaction bubble on the comment player timeline component had a transparent background.
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.
Was this page helpful?