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

Function reportContextLabels

deployments/desktop/static/desktop.js:2744–2752  ·  view source on GitHub ↗
(reportId)

Source from the content-addressed store, hash-verified

2742 const percent = Math.round((done / total) * 100);
2743 bar.hidden = false;
2744 bar.style.setProperty("--triage-progress", `${percent}%`);
2745 bar.dataset.complete = done >= total ? "true" : "false";
2746 const label = done >= total
2747 ? ui().papers.triageAllDone(total)
2748 : ui().papers.triageProgress(done, total);
2749 const text = $("triageProgressText");
2750 if (text) text.textContent = label;
2751 bar.setAttribute("aria-valuenow", String(done));
2752 bar.setAttribute("aria-valuemax", String(total));
2753 bar.setAttribute("aria-valuetext", label);
2754 }
2755

Callers 1

showReportContextMenuFunction · 0.85

Calls 1

responseLanguageFunction · 0.85

Tested by

no test coverage detected