(msg, tone = 'muted')
| 3453 | }; |
| 3454 | |
| 3455 | const setMcpServiceStatus = (msg, tone = 'muted') => { |
| 3456 | if (!mcpSvcStatusEl) return; |
| 3457 | mcpSvcStatusEl.classList.remove('text-muted', 'text-danger', 'text-success', 'text-warning'); |
| 3458 | if (tone === 'danger') mcpSvcStatusEl.classList.add('text-danger'); |
| 3459 | else if (tone === 'success') mcpSvcStatusEl.classList.add('text-success'); |
| 3460 | else if (tone === 'warning') mcpSvcStatusEl.classList.add('text-warning'); |
| 3461 | else mcpSvcStatusEl.classList.add('text-muted'); |
| 3462 | mcpSvcStatusEl.textContent = msg || ''; |
| 3463 | }; |
| 3464 | |
| 3465 | const setMcpJobsStatus = (msg, tone = 'muted') => { |
| 3466 | if (!mcpJobsStatusEl) return; |
no outgoing calls
no test coverage detected