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

Function clearReportAnnotations

deployments/desktop/static/desktop.js:2915–2925  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2913 const reportKey = paperReportKey(number);
2914 const existingReportId = state.paperReports.get(reportKey);
2915 if (existingReportId) {
2916 await openReport(existingReportId);
2917 return;
2918 }
2919 setPaperDisposition(number, "read");
2920 }
2921
2922 async function submitFeedback(generateReports) {
2923 if (!state.push?.push_id) {
2924 showPaperFeedback("error", ui().papers.submitUnavailableTitle, ui().papers.submitUnavailableDetail);
2925 throw new Error(ui().papers.loadPushFirst);
2926 }
2927 const selectedNumbers = Array.from(state.selected);
2928 if (generateReports && !selectedNumbers.length) {

Callers

nothing calls this directly

Calls 4

reportAnnotationKeyFunction · 0.85
$Function · 0.70
renderMarkdownFunction · 0.70

Tested by

no test coverage detected