Customization
of the Comments Sidebar
and Sidebar Button
subcomponents
of the Comments Sidebar
:
subcomponents
of the Sidebar Button
:
<VeltCommentsSidebarWireframe.List.Item.Annotation />
-> <VeltCommentsSidebarWireframe.List.Item.DialogContainer />
<velt-comments-sidebar-list-item-annotation-wireframe>
-> <velt-comments-sidebar-list-item-dialog-container-wireframe>
Private Badge
subcomponent was moved from being a child of Comment Dialog
to being a child of the Comment Dialog Composer
:
<VeltCommentDialogWireframe.PrivateBadge />
-> <VeltCommentDialogWireframe.Composer.PrivateBadge>
<velt-comment-dialog-private-badge-wireframe>
-> <velt-comment-dialog-composer-private-badge-wireframe>
getLiveStateData()
now has a config option to only subscribe to new changesgetLiveStateData()
, you can pass a config object as shown below:
useLiveStateData()
hook:
useLiveState()
hook:
useServerConnectionStateChangeHandler()
hook as well:
Comment Tool
component with Popover comments:
Comment Tool
next to each element you want to have Popover
commentsComment Tool
and use it to pin a Popover
comment on a particular elementComment Tool
in a single location such as the navigation bar, you can do so as well.
To do this, add data-velt-target-comment-element-id
as an attribute on each element you want to add comments on.
Now, when you click on the Comment Tool
and click on the target element, it will attach a Popover
comment to the element.
You will now notice that you can only add one Comment Annotation
per element.
data-velt-target-comment-element-id
attribute, you will be adding multiple Comment Annotations
on the same element.