diff --git a/changelog.d/added-inbox-voice-sources-docs.md b/changelog.d/added-inbox-voice-sources-docs.md new file mode 100644 index 0000000000..02a0ce3d1f --- /dev/null +++ b/changelog.d/added-inbox-voice-sources-docs.md @@ -0,0 +1 @@ +- Knowledge → Integrations: the Plaud card now links to the Inbox and voice sources quickstart (`inbox-voice-sources.md`) ([#17882](https://github.com/hivecommons/hive/issues/17882)). diff --git a/src/pkg/dashboard/static-src/js/knowledge.js b/src/pkg/dashboard/static-src/js/knowledge.js index 10fdd87fd5..ac6380b949 100644 --- a/src/pkg/dashboard/static-src/js/knowledge.js +++ b/src/pkg/dashboard/static-src/js/knowledge.js @@ -2454,7 +2454,7 @@ const connectors = (_kcState.connectors || []).filter(c => c.type === type); if (!_kbIntegrationEditName || !connectors.some(c => c.name === _kbIntegrationEditName)) _kbIntegrationEditName = connectors[0]?.name || ''; const edited = connectors.find(c => c.name === _kbIntegrationEditName) || { name: '', type, enabled: true, layer: 'project', interval: '', scope: {}, auth: {} }; - let html = '
' + kbIntegrationIcon(type) + escapeHtml(info.label) + '

' + escapeHtml(info.description) + '

Docs ↗
'; + let html = '
' + kbIntegrationIcon(type) + escapeHtml(info.label) + '

' + escapeHtml(info.description) + '

' + (type === 'plaud' ? 'Inbox quickstart ↗' : '') + 'Docs ↗
'; html += '
Configured entries
' + (owner ? '' : '') + '
'; html += connectors.length ? connectors.map(c => kbConnectorRow(type, c, owner)).join('') : '
No ' + escapeHtml(info.label) + ' connector configured yet.
'; html += owner ? kbConnectorFormHTML(type, edited, !!edited.name) : '

Only the hive owner can edit connector configuration.

'; diff --git a/src/pkg/dashboard/static/index.html b/src/pkg/dashboard/static/index.html index 90af378a72..dc5e519981 100644 --- a/src/pkg/dashboard/static/index.html +++ b/src/pkg/dashboard/static/index.html @@ -46000,7 +46000,7 @@ const connectors = (_kcState.connectors || []).filter(c => c.type === type); if (!_kbIntegrationEditName || !connectors.some(c => c.name === _kbIntegrationEditName)) _kbIntegrationEditName = connectors[0]?.name || ''; const edited = connectors.find(c => c.name === _kbIntegrationEditName) || { name: '', type, enabled: true, layer: 'project', interval: '', scope: {}, auth: {} }; - let html = '
' + kbIntegrationIcon(type) + escapeHtml(info.label) + '

' + escapeHtml(info.description) + '

Docs ↗
'; + let html = '
' + kbIntegrationIcon(type) + escapeHtml(info.label) + '

' + escapeHtml(info.description) + '

' + (type === 'plaud' ? 'Inbox quickstart ↗' : '') + 'Docs ↗
'; html += '
Configured entries
' + (owner ? '' : '') + '
'; html += connectors.length ? connectors.map(c => kbConnectorRow(type, c, owner)).join('') : '
No ' + escapeHtml(info.label) + ' connector configured yet.
'; html += owner ? kbConnectorFormHTML(type, edited, !!edited.name) : '

Only the hive owner can edit connector configuration.

';