feat(w2): ship v1.3.0 project pack UI, preload, and E2E

Wire .novel/.novel-all export-import through modals, settings backup, and home bulk export with progress IPC.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-08 16:31:16 +08:00
parent a4412793f4
commit fe6e411d2c
19 changed files with 823 additions and 131 deletions
@@ -90,8 +90,8 @@
- Modify: `src/preload/index.ts``electron-api.d.ts`
- [x] **Step 1:** IPC 常量与 handler 注册
- [ ] **Step 2:** preload `pack.exportBook/importBook/exportAll/importAll/pickFile`
- [ ] **Step 3:** `onPackProgress` 事件订阅
- [x] **Step 2:** preload `pack.exportBook/importBook/exportAll/importAll/pickFile`
- [x] **Step 3:** `onPackProgress` 事件订阅
---
@@ -102,9 +102,9 @@
- Modify: `src/renderer/components/import/ImportBookModal.tsx`
- Modify: `public/locales/*/translation.json`
- [ ] **Step 1:** ExportModal 增加「笔临项目包 (.novel)」
- [ ] **Step 2:** ImportBookModal 文件过滤含 `.novel`/`.novel-all`
- [ ] **Step 3:** `.novel` 直接导入;`.novel-all` 打开策略选择 + 进度条
- [x] **Step 1:** ExportModal 增加「笔临项目包 (.novel)」
- [x] **Step 2:** ImportBookModal 文件过滤含 `.novel`/`.novel-all`
- [x] **Step 3:** `.novel` 直接导入;`.novel-all` 打开策略选择 + 进度条
---
@@ -115,8 +115,8 @@
- Modify: `src/renderer/components/home/HomePage.tsx`
- Modify: `src/renderer/stores/useAppStore.ts`(可选 modal 状态)
- [ ] **Step 1:** `ExportAllModal` — 选路径、大小确认、进度、取消
- [ ] **Step 2:** HomePage「导出所有书籍」启用并打开 modal
- [x] **Step 1:** `ExportAllModal` — 选路径、大小确认、进度、取消
- [x] **Step 2:** HomePage「导出所有书籍」启用并打开 modal
---
@@ -126,8 +126,8 @@
- Create: `src/renderer/components/settings/BackupSettingsTab.tsx`
- Modify: `src/renderer/components/settings/SettingsPage.tsx`
- [ ] **Step 1:** 导出当前书 / 导出全部按钮
- [ ] **Step 2:** i18n `backup.*`
- [x] **Step 1:** 导出当前书 / 导出全部按钮
- [x] **Step 2:** i18n `backup.*`
---
@@ -139,11 +139,11 @@
- Modify: `e2e/helpers.ts`
- Modify: `package.json``README.md``SettingsPage.tsx`
- [ ] **Step 1:** E2E 单书 .novel 导出再导入
- [ ] **Step 2:** E2E-ALL-03 主页导出全部
- [ ] **Step 3:** 全量 `npm run test` + 相关 E2E
- [ ] **Step 4:** 版本 **v1.3.0**
- [ ] **Step 5:** 勾选本 plan 全部 checkbox
- [x] **Step 1:** E2E 单书 .novel 导出再导入
- [x] **Step 2:** E2E-ALL-03 主页导出全部
- [x] **Step 3:** 全量 `npm run test` + 相关 E2E
- [x] **Step 4:** 版本 **v1.3.0**
- [x] **Step 5:** 勾选本 plan 全部 checkbox
---