Commit Graph
64 Commits
Author SHA1 Message Date
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 c50d78cc6a docs: record interrupted batch j 2026-05-25 03:16:32 +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 630a7870e7 docs: plan next editor runtime slice 2026-05-25 02:44:34 +08:00
lix-2026 9d1ec75c6f refactor: extract block hover state types 2026-05-25 02:34:01 +08:00
lix-2026 6e8eacc929 docs: record interrupted reasonix batch e 2026-05-25 02:29:49 +08:00
lix-2026 d22c45dfa5 refactor: delegate media asset upload runtime 2026-05-25 02:24:48 +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 b191a75e04 docs: record uncontrolled reasonix batch 2026-05-25 02:10:48 +08:00
lix-2026 32302b78aa docs: record upload orchestrator audit 2026-05-25 02:09:40 +08:00
lix-2026 ab34050742 fix: stabilize block menu undo focus 2026-05-25 02:03:47 +08:00
lix-2026 00ce8568b0 docs: record overlay runtime audit 2026-05-25 01:56:39 +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 e1484f4cc0 refactor: move upload fetch timeout helper 2026-05-25 00:59:49 +08:00
lix-2026 e54f255690 docs: add runtime followup checklists 2026-05-25 00:51:52 +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 b61b56b5b5 design: plan browser runtime extraction 2026-05-24 21:03:33 +08:00
lix-2026 9c4bb58257 fix: align local markdown conflict and title behavior 2026-05-24 18:16:05 +08:00
lix-2026 5f97800489 chore: align local-first control plane and editor fixes
- wire SQLite control-plane access/session paths into Rust web local-folder routes

- preserve local Markdown attachment semantics across upload, reload, and secondary-pane resource tabs

- refresh design governance docs, Reasonix task templates, and bug records

- retire root .mcp.json local MCP config
2026-05-23 23:38:42 +08:00
lix-2026 47e224d419 chore: align sqlite control plane architecture
- replace default Convex control-plane wording with Rust SQLite control-plane across architecture, AGENTS, Reasonix, and design docs

- retire root Convex functions source and deploy script into recycle while keeping explicit cloud/compat/sync-replica boundaries

- add control-plane migration guard/docs and keep CodeGraph refreshed after the SQLite control-plane cutover
2026-05-22 17:45:22 +08:00
lix-2026 cc91a56603 batch E: close tail checks and refresh smoke evidence 2026-05-21 17:15:28 +08:00
lix-2026 dc18ec0a60 fix: 收口批次D并修复本地垃圾箱清空 2026-05-21 15:45:11 +08:00
lix-2026 a0823a7e53 fix: reconcile batch b smoke evidence 2026-05-21 11:53:31 +08:00
lix-2026 1569699fbb docs: separate design reference queue
- 将不直接执行的 process-reference 文档迁入各域 reference 目录

- 更新 design/README、AGENTS 和总序文档,固定 process/draft/reference/done 目录语义

- 修正活跃文档中指向旧 process 位置的参考链接

验证:git diff --check;codegraph sync .
2026-05-21 10:19:02 +08:00
lix-2026 1956a8a21a chore: align mvp design governance
- 统一 local-first MVP 后阶段架构口径,补充 process 执行总序和 Reasonix 协作记录

- 归档已完成的 design checklist,标注参考型 process,更新 AGENTS/REASONIX/架构文档

- 补充文件树/主编辑器下载与上下文菜单相关实现、bug 记录和 smoke 脚本

验证:git diff --check;codegraph sync .;cargo test -p mnote-web;node --check scripts/task476-filetree-editor-context-menu-download-smoke.js
2026-05-21 09:04:13 +08:00
lix-2026 fd94792ea6 align workbench open editors tabs 2026-05-21 05:57:19 +08:00
lix-2026 a29d9868f6 收口工作台资源 tab 与本地文件树 P1 2026-05-20 21:45:11 +08:00
lix-2026 fe13444dbc Close workbench P0 resource lifecycle gaps 2026-05-20 20:48:18 +08:00
lix-2026 e0b0e70fb8 Complete workbench P0 resource tab cutover 2026-05-20 20:13:24 +08:00
lix-2026 acf1305a7e Align resource tabs with workbench review 2026-05-20 19:04:05 +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 cdff672aa5 feat: align local-first workspace direction
Document the VSCode-like local-first product shape, demote Convex to a control-plane role, and retire stale architecture drafts.

Add local workspace migration/export references plus smoke coverage for no-Convex managed workspace startup, local markdown title/body/options persistence, asset upload behavior, and Convex fixture export.

Verification: git diff --cached --check; node scripts/check-local-first-convex-guard.js --staged; node scripts/task444-convex-workspace-export-local-fixture-smoke.js; node scripts/task166-local-first-managed-workspace-no-convex-smoke.js; node scripts/task167-local-markdown-title-body-options-no-convex-smoke.js
2026-05-19 08:11:58 +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 9816035491 feat(ai): switch page ai to hermes panel 2026-05-14 15:10:33 +08:00