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
58 lines
1.6 KiB
Markdown
58 lines
1.6 KiB
Markdown
# 右侧边栏
|
||
|
||
> 来源:https://www.wolai.com/wolai/... (右侧边栏)
|
||
> 用途:mnote 双栏编辑行为参考
|
||
>
|
||
> 实现状态:**部分实现** ✅ 上下文菜单有"在右侧边栏打开"动作 ❌ 右侧面板 UI 完整度待确认
|
||
|
||
## 基本操作
|
||
|
||
| 操作 | 快捷键 |
|
||
|------|--------|
|
||
| 在右侧边栏打开链接 | `Alt/Opt + 点击` |
|
||
| 打开/关闭右侧边栏 | `Alt/Opt + Q` |
|
||
| 切换主/右侧编辑区 | `Alt/Opt + \`` |
|
||
| 扩展右侧边栏为整页 | `Alt/Opt + F` |
|
||
|
||
## 顶部操作栏
|
||
|
||
1. 关闭右侧边栏
|
||
2. 后退
|
||
3. 前进
|
||
4. 展开为整页
|
||
5. 切换到主编辑区(左右互换)
|
||
|
||
## 调整大小
|
||
|
||
- 左右拖动左边线调整宽度
|
||
- 双击左边线均分两侧宽度
|
||
|
||
## 跨栏拖拽
|
||
|
||
右侧边栏和主编辑区中的块可互相拖拽:
|
||
|
||
| 操作 | 说明 |
|
||
|------|------|
|
||
| 移动到这里 | 从一边移动到另一边 |
|
||
| 拷贝副本到这里 | 复制到另一边 |
|
||
| 嵌入块引用 | 嵌入引用到另一边 |
|
||
| 行内块引用 | 停留片刻变为行内引用 |
|
||
|
||
---
|
||
|
||
## mnote 实现状态
|
||
|
||
### ✅ 已实现
|
||
| 功能 | 证据 |
|
||
|------|------|
|
||
| "在右侧边栏打开" 上下文菜单 | 文件树/页面树/附件菜单均有 `open-right` 动作(`layout.rs:3127, 3136, 3144, 3164`)|
|
||
| 快捷键提示 | `Alt + Enter` 在搜索结果中提示右侧边栏打开(`layout.rs:3643, 3670`)|
|
||
| 事件派发 | `dispatchSidebarEvent('tree.page.open-right', ...)` 等事件(`layout.rs:2961, 2975`)|
|
||
|
||
### ❌ / Partial
|
||
| 功能 | 说明 |
|
||
|------|------|
|
||
| 右侧面板容器 UI | 事件已派发,但双栏编辑面板的具体实现待确认 |
|
||
| 跨栏拖拽 | 未实现 |
|
||
| 右侧边栏编辑 | 未确认 |
|