Commit Graph
50 Commits
Author SHA1 Message Date
lix-2026 6017a0ad7c refactor: extract block dnd handle predicate 2026-05-25 06:09:42 +08:00
lix-2026 7c6392becd refactor: remove dead selection bridge helpers 2026-05-25 05:48:26 +08:00
lix-2026 ec27e08e8b refactor: move selection payload helpers 2026-05-25 05:34:16 +08:00
lix-2026 c9d89f2609 refactor: extract selection overlay sync 2026-05-25 05:18:25 +08:00
lix-2026 dddf9eb9c1 refactor: extract drop indicator geometry 2026-05-25 05:06:28 +08:00
lix-2026 63d1ea7e47 refactor: move editor overlay sync helper 2026-05-25 04:53:19 +08:00
lix-2026 aa293fec3f refactor: extract toolbar overlay lock helper 2026-05-25 04:28:43 +08:00
lix-2026 1e097a9597 refactor: extract dnd target and sidebar helpers 2026-05-25 04:16:35 +08:00
lix-2026 32adfb38a1 refactor: extract editor overlay open helpers 2026-05-25 04:10:16 +08:00
lix-2026 50ed7456ca refactor: extract editor escape overlay close 2026-05-25 03:48:58 +08:00
lix-2026 3f8c7a1238 refactor: extract block menu overlay close helper 2026-05-25 03:41:19 +08:00
lix-2026 bf6cd19878 refactor: extract editor overlay close state 2026-05-25 03:27:51 +08:00
lix-2026 3361a5e1b1 refactor: extract editor dnd helpers 2026-05-25 03:05:57 +08:00
lix-2026 3b8445ffab refactor: extract block menu overlay layout 2026-05-25 02:50:31 +08:00
lix-2026 9d1ec75c6f refactor: extract block hover state types 2026-05-25 02:34:01 +08:00
lix-2026 a3abeadfe8 refactor: move body focus detection 2026-05-25 02:19:57 +08:00
lix-2026 6d0852e431 refactor: extract editor focus helpers 2026-05-25 02:17:09 +08:00
lix-2026 ab34050742 fix: stabilize block menu undo focus 2026-05-25 02:03:47 +08:00
lix-2026 018eb6ccc2 fix: restore block menu delete undo 2026-05-25 01:45:03 +08:00
lix-2026 a4e50c1d19 refactor: extract block menu html helpers 2026-05-25 01:22:26 +08:00
lix-2026 7975ce0997 refactor: extract editor overlay helpers 2026-05-25 01:06:37 +08:00
lix-2026 e20c0f95ff refactor: extract editor dom selection runtime 2026-05-25 00:48:37 +08:00
lix-2026 f2a7de9896 refactor: move block delete to history-safe commands 2026-05-24 23:56:25 +08:00
lix-2026 5a96ea9eba refactor: extract editor upload intent 2026-05-24 23:24:38 +08:00
lix-2026 b4c74bbb81 refactor: extract editor command persistence runtime 2026-05-24 23:12:29 +08:00
lix-2026 0a03572601 refactor: externalize local upload helpers
Add local-upload-runtime.js as a browser runtime module for upload and attachment helper functions, with sidebar fallback wrappers and a fixed runtime asset route.

While validating task479, fix the editor attachment delete path so DOM-selected local attachment links are mapped back to a Tiptap text selection before delete_selection(), preserving undo history and adjacent links.
2026-05-24 22:42:53 +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 96e03645f7 chore: 收口 review 执行清单与 runtime 验证
- 补齐 design/10-review 执行清单、验收标准与相关设计治理记录

- 迁移已完成的 tree、mindmap、runtime fallback、AI kernel 等设计和缺陷条目

- 推进 Rust Web runtime、tree/sidebar、page aggregate、mindmap 与 OnlyOffice 路由侧验证支撑

- 增加 task177-task180 smoke/audit 脚本及前端相关测试覆盖
2026-05-14 05:52:08 +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 41e958769e feat: land page aggregate and phase7 document ai mainline
- 收口 page aggregate 读取、本地状态与命令客户端\n- 接入 phase7 document ai sidecar 与前端编排入口\n- 更新 architecture 与 design 状态迁移
2026-04-23 07:38:34 +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
lix-2026 5d1c94eb9e 主编辑区改造准备 2026-04-21 06:26:35 +08:00
lix-2026 1e686bfa3c 颜色修复 2026-04-19 22:09:13 +08:00
lix-2026 394e2a155c Fix tiptap selection sync and toolbar event loop 2026-04-19 21:03:25 +08:00