Commit Graph
20 Commits
Author SHA1 Message Date
lix-2026 b4c74bbb81 refactor: extract editor command persistence runtime 2026-05-24 23:12:29 +08:00
lix-2026 418f8ff8b0 refactor: extract attachment link history commands 2026-05-24 22:18:44 +08:00
lix-2026 cafd29a963 fix: preserve undo for attachment link deletion 2026-05-24 19:55:37 +08:00
lix-2026 6d9d8ce9cd fix local folder resource lifecycle and workspace switch 2026-05-24 02:23:48 +08:00
lix-2026 97953101a2 fix local folder resource lifecycle 2026-05-24 01:49:51 +08:00
lix-2026 4c62ea7e35 fix: repair resource tab and slash menu regressions 2026-05-20 17:47:09 +08:00
lix-2026 3feeaab3cb fix: handle local mindmap trash and block insertion 2026-05-20 11:19:42 +08:00
lix-2026 b4c8bcb647 收口本地工作区清理与资源投影
清理历史 Electron、Graphify、沙箱和截图等仓库跟踪残留,补充 CodeGraph 与 Convex active deploy source 协作说明。

新增 tree-first 下一阶段设计稿和 2026-05-20 清理总结,记录本地工作区、路径身份和 Zed/Lapce/VSCode 参考收口方向。

扩展 Rust Web 本地文件夹、DocumentBuffer、mindmap 资源、tree runtime 和页面聚合链路,并补充 task455 local-folder mindmap clean smoke。

验证:git diff --check 通过;pnpm store status --store-dir .pnpm-store 通过;npm ls --depth=0 --json 通过;find -L node_modules 未发现断链。cargo test -p mnote-web 当前 418 passed / 35 failed。
2026-05-20 10:43:38 +08:00
lix-2026 f292c6710a feat: EditorRuntimeActor - 三层缓存/delta/事件架构
Phase A — EditorRuntimeActor 内存缓存层
- 新增 editor_actor.rs: EditorBlockDocument 内存态 + apply_command + load_or_init
- block.rs 四个写工具(replace/insert/delete/move)接入 actor 路径
- editor_actor feature flag(MNOTE_WEB_ENABLE_EDITOR_ACTOR=true 默认开启)
- bridge-runtime 三个核心函数公开化
- rust-toolchain: 1.89 → stable(修复 spike WASM 编译阻塞)

Phase B — 编辑器增量 delta channel
- BlockDelta/DeltaOperation 类型 + actor.build_block_delta()
- leptos-tiptap spike: mnote:editor:block-delta CustomEvent 监听 + JSON patch
- DocumentAiAgentPanel: 拦截 blockDelta → window dispatchEvent
- 工具响应含 blockDelta 字段供前端消费

Phase C — 事件 stream delta
- broadcast channel 在 AppState/actor/SSE 三层贯通
- tree_events SSE 端点发 block.delta 事件
- 旧客户端降级兼容

环境修复
- rustc recursion_limit = 1024(修复 Leptos SSR 类型深度溢出)
- run-convex-deploy.js(封装 Convex function 部署到本地后端 3210)

ref: design/07-ai/process/7-13-page-block-editor-runtime-actor-v1.md
2026-05-16 22:03:30 +08:00
lix-2026 d8bfaea306 1.0 mvp 2026-05-16 12:34:48 +08:00
lix-2026 b4a452a8b7 20260513 mindmap优化01 2026-05-13 22:43:16 +08:00
lix-2026 b5eb27fabc feat: 收口 mindmap Phase 6 Leptos UI shell 2026-05-11 12:27:40 +08:00
lix-2026 b7dddd2a66 fix: 修复 Rust OnlyOffice 附件打开链路 2026-05-11 08:27:52 +08:00
lix-2026 3d5e0c9d5a feat: finish rust web dual pane document shell 2026-05-08 23:15:00 +08:00
lix-2026 e8ba12e461 收口 Rust Web 入口与 AI 写入链
- 将 3000 主入口继续收口到 mnote-web,补齐 /favicon.ico、/api/auth、session alias、AI run 等 Rust Web 路由边界。

- 更新登录页与 Convex Auth 代理,支持测试账号快速登录写入真实 Convex Auth cookie。

- 推进页面设置、Wolai 对齐、Phase 7 AI kernel/CLI-first 设计文档与相关 smoke 脚本。

- 更新 leptos-tiptap 生成资产、mnote-cli/bridge-runtime、前端依赖和 dev/prod 启动脚本。
2026-05-06 21:44:20 +08:00
lix-2026 98b6360595 Checkpoint current workspace 2026-05-02 06:25:26 +08:00
lix-2026 015ad5bedd fix editor page transform true source 2026-04-30 22:45:43 +08:00
lix-2026 c7cfe85d87 add editor transform to page parity 2026-04-30 22:14:37 +08:00
lix-2026 7565976810 fix editor block handle and menu parity 2026-04-30 21:50:40 +08:00
lix-2026 8353aea2f9 feat(editor): save leptos island and page aggregate alignment progress
- switch main document flow toward leptos tiptap island host and generated runtime assets

- align page aggregate loading, page head single-source updates, and AI tool result recovery

- add tests and smoke scripts for title sync, AI route recovery, and editor host cutover
2026-04-22 05:57:06 +08:00