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

Function renderFeishuNotice

deployments/desktop/static/app.js:1080–1094  ·  view source on GitHub ↗
(reports, docs)

Source from the content-addressed store, hash-verified

1078}
1079
1080function renderFeishuNotice(reports, docs) {
1081 const warning = reports.feishu_warning || "";
1082 const docErrors = docs
1083 .map((doc) => doc.feishu_error)
1084 .filter(Boolean);
1085 if (!warning && !docErrors.length) return "";
1086 const details = warning || `飞书文档发送失败:${docErrors[0]}`;
1087 return `
1088 <div class="notice warning">
1089 <strong>飞书文档发送失败,本地报告已生成。</strong>
1090 <p>${escapeHtml(details)}</p>
1091 <p>请配置飞书相关环境变量,或确认 lark-cli 已安装并登录后再重试。</p>
1092 </div>
1093 `;
1094}
1095
1096async function readArxivDirect() {
1097 const userId = ensureUser();

Callers 2

renderReportsFunction · 0.85
renderReportListFunction · 0.85

Calls 1

escapeHtmlFunction · 0.70

Tested by

no test coverage detected