showAiGenerating method ✓ 100.0%
Last updated: 2026-03-04T23:21:38.399Z
Metrics
LOC: 12
Complexity: 2
Params: 0
Coverage: 100.0% (4/4 lines, 0x executed)
Signature
showAiGenerating()
Source Code
showAiGenerating() {
if (aiGeneratingItem) return;
aiGeneratingItem = document.createElement("div");
aiGeneratingItem.className = "fa-progress-item filling";
aiGeneratingItem.innerHTML = `
<span class="fa-progress-icon"><span class="fa-spinner ai"></span></span>
<span class="fa-progress-label">${escapeTextContent(t("progressAiGenerating"))}</span>
<span class="fa-progress-badge">AI</span>
`;
list.appendChild(aiGeneratingItem);
container.scrollTop = container.scrollHeight;
},
Dependencies (Outgoing)
| Target | Type |
|---|---|
| escapeTextContent | calls |
No incoming dependencies.