mirror of
https://github.com/lllin000/PaperForge.git
synced 2026-07-22 06:50:53 +00:00
refine: simplify release notes language, highlight recommended actions with orange background
This commit is contained in:
parent
2ab524aecf
commit
08309ce869
4 changed files with 46 additions and 41 deletions
File diff suppressed because one or more lines are too long
|
|
@ -376,9 +376,11 @@ export default class PaperForgePlugin extends Plugin {
|
|||
}
|
||||
}
|
||||
if (this._entry.recommended_actions && this._entry.recommended_actions.length > 0) {
|
||||
contentEl.createEl("h4", { text: "\u5EFA\u8BAE\u64CD\u4F5C" });
|
||||
const section = contentEl.createEl("div", { cls: "paperforge-release-recommended" });
|
||||
section.createEl("h4", { text: "\u5EFA\u8BAE\u64CD\u4F5C", cls: "" });
|
||||
section.style.marginBottom = "8px";
|
||||
for (const item of this._entry.recommended_actions) {
|
||||
contentEl.createEl("p", { text: `\u2022 ${item}`, cls: "paperforge-modal-item" });
|
||||
section.createEl("p", { text: `\u2022 ${item}`, cls: "paperforge-release-item-bold" });
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -3,28 +3,27 @@
|
|||
{
|
||||
"version": "1.5.15",
|
||||
"date": "2026-06-01",
|
||||
"title": "OCR 重新设计 — 全文单一真相源 + Redo 闭环 + 阅读顺序修复",
|
||||
"title": "全文存储重构 + OCR 阅读顺序修复 + Redo 一键重做",
|
||||
"breaking_or_migration": [
|
||||
"fulltext 正文现在统一位于 System/PaperForge/ocr/<key>/fulltext.md,工作区 Resources/.../fulltext.md 不再保留为正文副本",
|
||||
"OCR Redo 现在会立即重跑 OCR(闭环执行),不再只是标记状态后需要手动再跑一次"
|
||||
"全文文件现在统一存放于 System/PaperForge/ocr/ 下,不再在工作区保留副本",
|
||||
"Redo OCR 现在会立即执行(一键完成),不再需要手动再跑一次"
|
||||
],
|
||||
"new_features": [
|
||||
"新增 OCR Redo 闭环执行:勾选重做后自动删除旧产物 → 强制 do_ocr → 立即重跑 OCR → 成功后写回 ocr_redo:false",
|
||||
"设置页新增「更新与手册」标签页,可随时查看版本更新记录与使用手册链接",
|
||||
"首次更新时自动弹出更新说明"
|
||||
"Redo OCR 一键闭环:勾选 → 点按钮 → 自动完成全部流程",
|
||||
"设置页新增「更新与手册」标签页,可随时查看版本更新记录和使用手册",
|
||||
"插件更新后自动弹出更新说明"
|
||||
],
|
||||
"fixes": [
|
||||
"修复 OCR 双栏阅读顺序混乱:2.5 / Discussion / Introduction 等章节标题和正文错位",
|
||||
"修复 Kwon et al. 等叙述句被误判为参考文献,导致正文段落被提前截断并插入 Discussion",
|
||||
"修复 Fig.3 / Fig.4 等页首图注和图块被重排逻辑整体后移,导致图文断裂",
|
||||
"修复首页(page 1)Abstract / Introduction 排序错乱,METHODS 行跑到 Introduction 后",
|
||||
"修复并排 panel(如 Fig.2 的左右两块)未合并为单张 composite figure,被拆成两张独立图片",
|
||||
"修复 redo OCR 后工作区 fulltext 未被同步覆盖,导致用户看到的仍是旧乱序版本",
|
||||
"Dashboard 现在可以识别 System/PaperForge/ocr/<key>/fulltext.md 路径,打开全文后能切到对应 paper 视图"
|
||||
"修复全文阅读顺序混乱,优化整体排版体验",
|
||||
"修复章节标题和正文段落错位断开的问题",
|
||||
"修复图表和对应图注被分开的问题",
|
||||
"修复首页摘要区块排序异常",
|
||||
"修复并排图片未能自动合并的问题",
|
||||
"Dashboard 现在能正确识别新的全文文件位置"
|
||||
],
|
||||
"recommended_actions": [
|
||||
"如果论文是此版本前完成的 OCR,建议对重要论文执行一次「重做OCR」(在 Base 视图勾选 ocr_redo 后点 ribbon Redo 按钮),以修复阅读顺序问题",
|
||||
"打开全文请直接使用 Dashboard 的「打开全文」按钮,正文已经统一迁至 System/PaperForge/ocr/ 下"
|
||||
"旧版 OCR 全文可能存在阅读顺序问题,建议对重要论文执行一次 Redo OCR",
|
||||
"打开全文请直接使用 Dashboard 的「打开全文」按钮"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -90,6 +90,8 @@ export class PaperForgeSettingTab extends PluginSettingTab {
|
|||
.paperforge-release-section { margin-bottom: 6px; }
|
||||
.paperforge-release-label { font-weight: 600; color: var(--text-accent); margin-bottom: 2px; font-size: 13px; }
|
||||
.paperforge-release-item { font-size: 13px; margin-left: 8px; color: var(--text-muted); }
|
||||
.paperforge-release-item-bold { font-size: 13px; margin-left: 8px; font-weight: 600; color: var(--text-normal); }
|
||||
.paperforge-release-recommended { background: rgba(var(--color-orange-rgb, 255,166,0), 0.08); border-radius: 4px; padding: 6px 8px; }
|
||||
.paperforge-manual-links { margin-top: 8px; }
|
||||
.paperforge-manual-links a { color: var(--text-accent); }
|
||||
.paperforge-modal-subtitle { color: var(--text-muted); font-size: 13px; margin-bottom: 12px; }
|
||||
|
|
@ -1295,10 +1297,10 @@ export class PaperForgeSettingTab extends PluginSettingTab {
|
|||
}
|
||||
|
||||
if (ver.recommended_actions && ver.recommended_actions.length > 0) {
|
||||
const section = card.createEl("div", { cls: "paperforge-release-section" });
|
||||
const section = card.createEl("div", { cls: "paperforge-release-section paperforge-release-recommended" });
|
||||
section.createEl("div", { cls: "paperforge-release-label", text: "\u5EFA\u8BAE\u64CD\u4F5C" });
|
||||
for (const item of ver.recommended_actions) {
|
||||
section.createEl("div", { cls: "paperforge-release-item", text: `\u2022 ${item}` });
|
||||
section.createEl("div", { cls: "paperforge-release-item paperforge-release-item-bold", text: `\u2022 ${item}` });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue