Files
mnote/.codex/reasonix-tasks/2026-05-21-sidex-worker-b-tab-keyboard-mru.md
T

44 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Reasonix Worker BSidex Tab 键盘与 MRU 对照实现
Project root: `/mnt/Data1T/mnote`
## 目标
参考 Sidex / VSCode `MultiEditorTabsControl`,为 MNote main tab 增加最小键盘/MRU 行为:左右箭头切换 focus、`Enter`/`Space` 激活、关闭 active resource tab 后按 MRU 或 page tab 回退。
## Ownership
由于 Worker A 也可能修改 `web_shell.rs`,本 worker **不要直接修改源码**。请输出具体 patch 建议到:
- `.codex/reasonix-proposals/2026-05-21-tab-keyboard-mru-proposal.md`
你可以修改:
- `.codex/reasonix-proposals/2026-05-21-tab-keyboard-mru-proposal.md`
- `design/05-editor-mainline/process/5-25-editor-tab-keyboard-and-mru-checklist-v1.md`
不要修改:
- `rust/crates/mnote-web/src/routes/web_shell.rs`
- `rust/crates/mnote-web/src/ssr/styles.rs`
- 任何业务源码
## 参考
- Sidex`MultiEditorTabsControl`
- MNote`bindMainEditorPageTab``activateMainEditorTab``resourceTabMru`
## 验收
只需文档级验收:
- proposal 明确列出要改的函数、事件、DOM 状态和测试断言。
## 输出要求
最终回复列出:
- 生成的 proposal 文件
- 建议修改点
- 认为最小安全实现的步骤