(reportId)
| 2729 | } |
| 2730 | |
| 2731 | function toggleReportCardHighlight(reportId) { |
| 2732 | if (!reportId) return; |
| 2733 | if (state.highlightedReports.has(reportId)) { |
| 2734 | state.highlightedReports.delete(reportId); |
| 2735 | showFeedbackToast("success", "已取消高亮", reportId); |
| 2736 | } else { |
| 2737 | state.highlightedReports.add(reportId); |
| 2738 | showFeedbackToast("success", "已高亮报告", "右键可取消高亮"); |
| 2739 | } |
| 2740 | saveReportCardHighlights(); |
| 2741 | renderReportList(state.reports, state.currentReport?.report_id || reportId); |
| 2742 | } |
| 2743 | |
| 2744 | function reportContextLabels(reportId) { |
| 2745 | const isEn = responseLanguage() === "en"; |
no test coverage detected