42 lines
1.2 KiB
Markdown
42 lines
1.2 KiB
Markdown
# Reasonix Worker A:Sidex Open Editors 轻量视图
|
||||
|
|
|
|||
|
|
Project root: `/mnt/Data1T/mnote`
|
|||
|
|
|
|||
|
|
## 目标
|
|||
|
|
|
|||
|
|
参考 `reference-code/sidex-main` 的 VSCode `OpenEditorsView`,实现 MNote 轻量 open editors snapshot。优先让 page tab + resource tabs 的状态可被统一读取和测试;只有在非常小范围可控时才新增轻量 UI。
|
|||
|
|
|
|||
|
|
## Ownership
|
|||
|
|
|
|||
|
|
你可以修改:
|
|||
|
|
|
|||
|
|
- `rust/crates/mnote-web/src/routes/web_shell.rs`
|
|||
|
|
- `rust/crates/mnote-web/src/ssr/styles.rs`
|
|||
|
|
- 可新增 `scripts/task47*-open-editors-*.js`
|
|||
|
|
- `design/05-editor-mainline/process/5-24-open-editors-lightweight-view-checklist-v1.md`
|
|||
|
|
|
|||
|
|
不要修改:
|
|||
|
|
|
|||
|
|
- `rust/crates/mnote-web/src/ssr/pages/layout.rs`
|
|||
|
|
- `rust/crates/mnote-web/src/routes/onlyoffice.rs`
|
|||
|
|
- ACP / Hermes 相关文件
|
|||
|
|
|
|||
|
|
## 参考
|
|||
|
|
|
|||
|
|
- Sidex:`OpenEditorsView`、`IEditorGroupsService`、`GroupModelChangeKind`
|
|||
|
|
- MNote:`resourceTabRegistry`、`activateMainEditorTab`、`createResourceTabDom`、`closeResourceTab`
|
|||
|
|
|
|||
|
|
## 验收
|
|||
|
|
|
|||
|
|
- `cargo test -p mnote-web web_shell -- --test-threads=1`
|
|||
|
|
- 如新增 smoke,运行对应 `node --check` 和 `node` 命令
|
|||
|
|
|
|||
|
|
## 输出要求
|
|||
|
|
|
|||
|
|
最终回复列出:
|
|||
|
|
|
|||
|
|
- 修改文件
|
|||
|
|
- 实现的 snapshot/UI 合同
|
|||
|
|
- 验证命令结果
|
|||
|
|
- 未完成项和风险
|