()
| 2878 | |
| 2879 | const title = generateReports |
| 2880 | ? reportCount |
| 2881 | ? ui().papers.submittedWithReports(reportCount) |
| 2882 | : ui().papers.submittedNoReport |
| 2883 | : ui().papers.submitted; |
| 2884 | const detailParts = []; |
| 2885 | if (totalFeedback) { |
| 2886 | detailParts.push(ui().papers.feedbackCounts(selectedCount, skippedCount, laterCount)); |
| 2887 | detailParts.push(ui().papers.profileWikiUpdated); |
| 2888 | } |
| 2889 | if (wikiBackfilled) detailParts.push(ui().papers.wikiBackfilled(wikiBackfilled)); |
| 2890 | if (feishuWarning) detailParts.push(feishuWarning); |
| 2891 | if (!detailParts.length && reportCount) detailParts.push(ui().papers.reportEntered); |
| 2892 | return { |
| 2893 | type: feishuWarning ? "warning" : "success", |
| 2894 | title, |
| 2895 | detail: `${detailParts.join("。")}。` |
| 2896 | }; |
| 2897 | } |
no test coverage detected