Versions
We have just added Notifications Panel and Notifications Tool wireframes.
Deprecated Notification History Panel
We have deprecated the Notification History Panel. It will now load the Notification Panel Component.
Previously, the sidebar would only open from right by default. Now, we have added the option to open the sidebar from left as well.
<VeltCommentsSidebar position="left | right"/>
<VeltCommentsSidebar position="left | right"/>
<velt-comments-sidebar position="left | right"/>
We have added variant
, panelVariant
and panelOpenMode
props in Notification Tool Component.
<VeltNotificationsTool panelOpenMode='sidebar | popover' variant="tool1" panelVariant='panel1'/>
<VeltNotificationsTool panelOpenMode='sidebar | popover' variant="tool1" panelVariant='panel1'/>
<velt-notifications-tool panel-open-mode='sidebar | popover' variant="tool1" panel-variant='panel1'/>
You can now customize your tabs for Notifications Tool Component.
<VeltNotificationsTool tabConfig={{
"forYou": {
name: 'Custom For You',
enable: true,
},
"documents": {
name: 'Custom Document',
enable: false,
},
"people": {
name: 'Custom People',
enable: false,
},
"all": {
name: "Custom All",
enable: true,
},
}
} />
<VeltNotificationsTool tabConfig={{
"forYou": {
name: 'Custom For You',
enable: true,
},
"documents": {
name: 'Custom Document',
enable: false,
},
"people": {
name: 'Custom People',
enable: false,
},
"all": {
name: "Custom All",
enable: true,
},
}
} />
const tabConfig = {
"forYou": {
name: 'Custom For You',
enable: true,
},
"documents": {
name: 'Custom Document',
enable: false,
},
"people": {
name: 'Custom People',
enable: false,
},
"all": {
name: "Custom All",
enable: true,
},
}
const notificationsTool = document.querySelector('velt-notifications-tool');
notificationsTool?.setAttribute("tab-config", JSON.stringify(tabConfig));