A Webex Contact Centre supervisor widget that graphically displays global variables and allows supervisors to edit them from the Extensible Supervisor Desktop.
- Card-based dashboard with icons, variable count in the header, and visual status indicators
- Boolean variables: Toggle switches with green "On" / gray "Off" badges
- String variables: Textareas with character count and inline editing
- Other types: Integer/Float use number inputs; Date uses a date picker
- Search / filter: Type a variable name to filter the list (case-insensitive)
- Scrollable layout: Content scrolls when many variables don’t fit in the panel
- Accessibility: ARIA labels on controls, live region for success/error messages
- Momentum Design styling aligned with Webex Contact Centre
- Push this repo to GitHub.
- Settings → Pages → Source: Deploy from a branch
- Branch: main, Folder: / (root)
- Site:
https://<username>.github.io/supervisor-dashboard/
Add the widget to your Desktop layout. The framework may pass properties as camelCase—use both formats if one fails.
{
"nav": {
"label": "Supervisor Dashboard",
"icon": "settings",
"iconType": "momentum",
"navigateTo": "supervisordashboard",
"align": "top"
},
"page": {
"id": "supervisordashboard",
"widgets": {
"right": {
"comp": "supervisor-dashboard",
"script": "https://moncovo.github.io/supervisor-dashboard/supervisor-dashboard.js",
"wrapper": {
"title": "Global Variable Dashboard",
"maximizeAreaName": "app-maximize-area"
},
"properties": {
"accessToken": "$STORE.auth.accessToken",
"orgId": "$STORE.agent.orgId",
"is-dark-mode": "$STORE.app.darkMode"
}
}
},
"layout": {
"areas": [["right"]],
"size": {
"cols": [1],
"rows": [1]
}
}
}
}Option – STORE (when available):
"properties": {
"accessToken": "$STORE.auth.accessToken",
"orgId": "$STORE.agent.orgId"
}| Attribute | Description |
|---|---|
accessToken |
$STORE.auth.accessToken – bearer token |
orgId |
$STORE.agent.orgId – WxCC organization ID |
namePrefix |
Optional. Only show variables whose name starts with this string (e.g. StaffordOOH). Omit to show all variables. |
The widget loads organisation global variables (or only those matching namePrefix if set); use the in-app search box to filter further by variable name.
To show only variables whose names start with StaffordOOH, add the widget with namePrefix:
"properties": {
"accessToken": "$STORE.auth.accessToken",
"orgId": "$STORE.agent.orgId",
"namePrefix": "StaffordOOH"
}Use a separate nav item and page (e.g. "Stafford OOH Variables") so supervisors can open either the full dashboard or the Stafford OOH–only view.
- API region: Set the
api-region(orapiRegion) attribute on the component, e.g.api-region="eu1",api-region="na1". Supported:eu1,eu2,na1. Default:eu1(https://api.wxcc-eu1.cisco.com). You can also editWXCC_API_BASE_DEFAULTinsupervisor-dashboard.jsto change the default.
npx serve .
# or
python -m http.server 8000Open http://localhost:8000. You need valid access-token and org-id to load data.
index.html– Main pagesupervisor-dashboard.js– Web Component (<supervisor-dashboard>)README.md– This file