May 24 2024
Versions
Added Skeleton loader subcomponent to Comments Sidebar Wireframe
The Comments Sidebar Wireframe now has a Skeleton loader subcomponent that you can modify.
Added functionality to search by name in @mention dropdown
You can now search by name, in addition to just email, in the @mention
dropdown
Added option to show resolved Comments on DOM
By default, resolved Comments are not shown on the DOM.
There is now an option to show resolved Comments on the DOM.
User background color
You can now pass in a color when you identify a user using client.identify()
Added additional subcomponents to the Comments Dialog Wireframe
The following subcomponents were added to the Comments Dialog Wireframe:
- Priority Dropdown
- Status Dropdown
- Options Dropdown
- Reaction Tool
- Reaction Pin
- Reactions Panel
- Reactions Pin Tooltip
- Autocomplete Option
- Autocomplete Chip Tooltip
Added support to set custom reactions
You can set custom reactions by passing a map that contains information about the reactions you want to add.
The map keys should be the reaction ID, and the map value should contain an object with either an url
, svg
, or emoji
field to represent the reaction icon you want to use.
API Methods:
Changed type in VeltCommentDialogWireframe.Composer.ActionButton from file
to attachments
. Keeping legacy support for file
.
In the Comment Dialog Wireframe, we changed the type from file
to attachments
<VeltCommentDialogWireframe.Composer.ActionButton type="file" />
-> <VeltCommentDialogWireframe.Composer.ActionButton type="attachments" />
Added support for customizing attachments in Comment Dialog
The VeltCommentDialogWireframe.Composer.Attachments
and VeltCommentDialogWireframe.ThreadCard.Attachments
subcomponents within the Comment Dialog Wireframe now support customization.
Added method listen to Comment Selection changes.
The onCommentSelectionChange() method can be used to listen to Comment selection changes.
Callback response schema:
API Methods:
To unsubscribe from the subscription:
Using Hooks:
The useCommentSelectionChangeHandler
hook can be used to subscribe to Comment selection changes.
Added prop to enable or disable Comment Pin Highlighter
The API Methods already existed, but we added a prop to enable or disable the Comment Pin Highlighter
Added flag to merge location in updateLocation
cloud function
You can update a Location’s object fields while keeping the location id the same using an api call.
Set the merge
flag to true
if you want to merge the new location
fields into the old location
fields.
Set the flag to false
if you want the new location
object to completely replace the old location
object.
Was this page helpful?