Is it possible to configure Workspace menu with badge
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2023 06:04 AM
Hello,
is it possible to configure "badge" on Workspace menus?
Like number of unread records
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2023 09:11 AM
I'm not sure how dynamic you can make it, but it looks like there is the potential to set a count as a badge. Here is the JSON for the inbox icon from the chrome_toolbar for the example image you posted.
{
"id": "inbox",
"label": {
"translatable": true,
"message": "Inbox"
},
"icon": "inbox-outline",
"routeInfo": {
"route": "inbox"
},
"viewportInfo": {
"route": "inbox-sidebar",
"fields": {
"opened": false
},
"viewportElementId": "wsInboxSidebar"
},
"group": "top",
"order": 300,
"badge": {
"count": 0
},
"presence": {
"status": ""
},
"show": false,
"availability": {
"roles": [
"awa_agent"
],
"plugin": "com.glide.awa"
}
}
Take note of the "badge" property with the "count" child. That's what you would want to set on your own chrome_toolbar menu item.