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

Function showPaperFeedback

deployments/desktop/static/desktop.js:1611–1620  ·  view source on GitHub ↗
(type, title, detail = "")

Source from the content-addressed store, hash-verified

1609 }
1610
1611 function showPaperFeedback(type, title, detail = "") {
1612 const target = $("paperFeedbackResult");
1613 if (!target) return;
1614 target.className = `paper-feedback-result ${type || "success"}`;
1615 target.innerHTML = `
1616 <strong>${escapeHtml(title)}</strong>
1617 ${detail ? `<span>${escapeHtml(detail)}</span>` : ""}
1618 `;
1619 target.hidden = false;
1620 }
1621
1622 function setSubmitButtonsBusy(busy, generateReports = false) {
1623 const feedbackButton = $("submitFeedbackBtn");

Callers 4

ensureLlmReadyForReadingFunction · 0.85
setPaperDispositionFunction · 0.85
showSubmitResultFunction · 0.85
submitFeedbackFunction · 0.85

Calls 2

$Function · 0.70
escapeHtmlFunction · 0.70

Tested by

no test coverage detected