2.0.27

Bug Fixes

  • [Comments]: Fixed an issue with changes detection in the text comment feature.

2.0.26

Improvements

  • [Notifications]: Renamed Notification panel “all read” container wireframe components for better clarity and consistency:

    This is a breaking change.

    // Old
    <VeltNotificationsPanelWireframe.AllReadContainer />
    
    // New
    <VeltNotificationsPanelWireframe.Content.AllReadContainer />
    

2.0.25

New Features

  • [Comments]: For Custom Comment Annotation dropdown on comment dialog:
    • Added a default placeholder for the custom dropdown and made it configurable.
    • Added it to the composer by default.
let customList = [
    { id: 'violent', label: 'Violent' },
    { id: 'inappropriate', label: 'Inappropriate' },
    { id: 'robbery', label: 'Robbery' },
    { id: 'nsfw', label: 'NSFW' },
];

const customListDataOnCommentAnnotation = {
	type: 'multi', // choose from 'multi' or 'single'
    placeholder: 'Custom Placeholder',
    data: customList, // your customList data here
};

Using Props:

<VeltComments customListDataOnAnnotation={customListDataOnCommentAnnotation} />

Using API:

const commentElement = useCommentUtils();		
commentElement.createCustomListDataOnAnnotation(customListDataOnCommentAnnotation);

Using Wireframe:

<VeltCommentDialogWireframe.CustomAnnotationDropdown.Trigger.Placeholder>
  Custom Placeholder
</VeltCommentDialogWireframe.CustomAnnotationDropdown.Trigger.Placeholder>

Bug Fixes

  • [Comments]: Fixed an issue related to disableReactions in comment dialog customization.