MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / tokenizeKnowledgeText

Function tokenizeKnowledgeText

deployments/desktop/static/desktop.js:3332–3339  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

3330 target.className = "reports-list";
3331 target.innerHTML = reports.map((report) => `
3332 <button class="report-row ${report.report_id === activeId ? "active" : ""} ${state.highlightedReports.has(report.report_id) ? "highlighted" : ""}" data-report-id="${escapeHtml(report.report_id)}" type="button">
3333 <h3>${escapeHtml(report.title || ui().reports.defaultTitle)}</h3>
3334 <p>${escapeHtml(report.saved_at || "")} · ${escapeHtml(report.status || ui().reports.completed)}</p>
3335 <p>${escapeHtml(report.snippet || report.report_path || "")}</p>
3336 </button>
3337 `).join("");
3338 }
3339
3340 function clearReportViewer() {
3341 state.currentReport = null;
3342 $("reportViewerTitle").textContent = ui().reports.defaultTitle;

Callers 1

candidateLabelsForNodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected