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

Function applyReportAnnotation

deployments/desktop/static/desktop.js:2896–2913  ·  view source on GitHub ↗
(command, value)

Source from the content-addressed store, hash-verified

2894 title,
2895 detail: `${detailParts.join("。")}。`
2896 };
2897 }
2898
2899 function showSubmitResult(data, generateReports) {
2900 const result = submitResultMessage(data, generateReports);
2901 showPaperFeedback(result.type, result.title, result.detail);
2902 showFeedbackToast(result.type, result.title, result.detail);
2903 }
2904
2905 async function openReport(reportId) {
2906 if (!reportId) return;
2907 setView("reports", true, { skipLoad: true });
2908 await refreshReports({ keepSelection: false, activeReportId: reportId });
2909 }
2910
2911 async function readSinglePaper(number) {
2912 if (!state.push?.push_id) throw new Error(ui().papers.loadPushFirst);
2913 const reportKey = paperReportKey(number);
2914 const existingReportId = state.paperReports.get(reportKey);
2915 if (existingReportId) {
2916 await openReport(existingReportId);

Callers 1

bindEventsFunction · 0.85

Calls 4

saveReportAnnotationFunction · 0.85
$Function · 0.70

Tested by

no test coverage detected