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)

graph LR showAiGenerating["showAiGenerating"] escapeTextContent["escapeTextContent"] showAiGenerating -->|calls| escapeTextContent style showAiGenerating fill:#dbeafe,stroke:#2563eb,stroke-width:2px click showAiGenerating "fecc24ed0e81da8f.html" click escapeTextContent "2d67e190a10f9002.html"
TargetType
escapeTextContent calls

No incoming dependencies.