Documentation Index
Fetch the complete documentation index at: https://docs.velt.dev/llms.txt
Use this file to discover all available pages before exploring further.
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.
React / Next.js
Other Frameworks
// Old
<VeltNotificationsPanelWireframe.AllReadContainer />
// New
<VeltNotificationsPanelWireframe.Content.AllReadContainer />
<!-- Old -->
<velt-notifications-panel-all-read-container-wireframe></velt-notifications-panel-all-read-container-wireframe>
<!-- New -->
<velt-notifications-panel-content-all-read-container-wireframe></velt-notifications-panel-content-all-read-container-wireframe>
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>
Using Props:<VeltComments customListDataOnAnnotation={customListDataOnCommentAnnotation} />
Using API:const commentElement = client.getCommentElement();
commentElement.createCustomListDataOnAnnotation(customListDataOnCommentAnnotation);
Using Wireframe:<VeltCommentDialogWireframe.CustomAnnotationDropdown.Trigger.Placeholder>
Custom Placeholder
</VeltCommentDialogWireframe.CustomAnnotationDropdown.Trigger.Placeholder>
Using API:const commentElement = Velt.getCommentElement();
commentElement.createCustomListDataOnAnnotation(customListDataOnCommentAnnotation);
Using Wireframe:<velt-comment-dialog-custom-annotation-dropdown-trigger-placeholder-wireframe>
Custom Placeholder
</velt-comment-dialog-custom-annotation-dropdown-trigger-placeholder-wireframe>
Bug Fixes
- [Comments]: Fixed an issue related to
disableReactions in comment dialog customization.