Files
mnote/design/11-wolai/pages/trash.md
T
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

44 lines
1.3 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.
# 垃圾桶
> 来源:https://www.wolai.com/wolai/... (垃圾桶)
> 用途:mnote 回收站行为参考
>
> 实现状态:**核心已实现** ✅ 恢复/彻底删除/搜索 存在 UI 行为差异
## 入口
左侧边栏最下方打开"垃圾桶"。
## 功能
- 已删除页面存放在垃圾桶中
- 支持搜索关键词查找垃圾桶中的页面
- **恢复**:恢复到"我的页面"列表下
- **彻底删除**:不可撤销,无法找回
## 操作确认
- 默认打开"操作确认"开关
- 打开时:恢复/彻底删除需要二次确认
- 关闭时:直接执行
---
## mnote 实现状态
### ✅ 已实现
| 功能 | 证据 |
|------|------|
| 删除页面进垃圾桶 | `tree.resource.archive``routes/tree.rs`|
| 恢复(回到原位置)| `tree.resource.restore` + 恢复位置记录(`design/04-tree-domain/process/4-28`|
| 彻底删除 | `tree.resource.purge``routes/resource_trash.rs`|
| 垃圾桶搜索 | 已有搜索功能 |
| 资源(附件/mindmap/table)垃圾桶 | `resource_trash.rs` 覆盖 3 种资源类型 |
### ❌ / Partial (相对于 Wolai)
| 功能 | 说明 |
|------|------|
| 操作确认开关 | 未确认是否实现 |
| 恢复后的 reveal/focus | `design/04-tree-domain/process/4-28` 已计划 |
| 双浏览器 no-refresh | `design/04-tree-domain/process/4-34` 进行中 |