docs: 更新 Wiki 文档 — 数据层/前端/后端/健康/索引同步至最新

This commit is contained in:
iven
2026-06-07 10:44:26 +08:00
parent 41ef28f20b
commit ed8252d7c8
5 changed files with 87 additions and 36 deletions

View File

@@ -1,6 +1,6 @@
---
title: 数据层
updated: 2026-06-01
updated: 2026-06-07
status: active
tags: [isar, offline-first, sync, repository-pattern]
---
@@ -112,7 +112,7 @@ syncEngine.restorePendingQueue(); // fire-and-forget 恢复队列
| authorId 硬编码 'local' | HIGH | 待修 | EditorPage 未接入 AuthBloc 获取真实用户 |
| SyncEngine 仅 WiFi | MEDIUM | Phase 2 | 蜂窝数据同步未实现 |
| 版本冲突静默覆盖 | MEDIUM | Phase 2 | "本地优先"策略,需 UI 手动解决 |
| 编辑器未加载已有数据 | MEDIUM | 待做 | journalId 非空时未从 Isar 读取 |
| ~~编辑器未加载已有数据~~ | ~~MEDIUM~~ | ✅ 已修复 | _loadExistingJournal 读取日记 + 元素 + 笔画 |
### 历史教训
@@ -123,5 +123,6 @@ syncEngine.restorePendingQueue(); // fire-and-forget 恢复队列
| 日期 | 变更 |
|------|------|
| 2026-06-07 | 编辑器加载已有数据已修复、打开已有日记默认查看模式 |
| 2026-06-01 | Isar 集成完成3 Collection + Repository + SyncEngine 持久化 (2481c8f) |
| 2026-06-01 | 初始创建 — 数据层架构、Isar 踩坑记录 |