getLiveStateData() now has a config option to only subscribe to new changes
By default, the getLiveStateData() subscription will return all changes to the shared live data object including changes that occurred when the current client was not subscribed.If you want to only receive changes starting from when the client subscribed to getLiveStateData(), you can pass a config object as shown below:
Added support for Popover comments using Single Comment Tool
There are now two patterns to add the Comment Tool component with Popover comments:
(Already Existed) Add a Comment Tool next to each element you want to have Popover comments
(New) Have a single Comment Tool and use it to pin a Popover comment on a particular element
Single Comment Tool
If you want to have a single Comment 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.
If you don’t add the data-velt-target-comment-element-id attribute, you will be adding multiple Comment Annotations on the same element.