feat: an archive page, and the sidebar drops archived sessions

- 全部功能 gains an 归档 entry: the new page lists every archived session
  with a count, search over title / id / project, project chips (all plus
  each project with its count), and a row that opens the chat; each row
  restores the session or opens a menu to open, restore, copy the id or
  delete it
- the sidebar's 显示已归档 button and archived list are gone; the sidebar
  now lists only active sessions, while the archive page owns the archived
  ones (matching OpenChamber's archive page)
- version 0.6.0+600
- tests cover the archive list, project chips, search and restore
This commit is contained in:
blumia committed 2026-11-27 11:10:51 +08:00
1 parent c6b5a870c6
commit a7e4ed8dd7
8 files changed
+553 -103

No files matched your search

+11
View File
@@ -5,6 +5,17 @@
---
## 0.6.0 归档页面(分支 `flutter`)
| 项 | 结果 |
| --- | --- |
| 归档页面 | 全部功能新增【归档】:标题下显示已归档会话数量,支持按标题 / 会话 ID / 项目名搜索,顶部按项目分组的 chips 可筛选(全部 + 各项目及数量),点击行打开会话,行尾可取消归档(恢复)或打开菜单(打开 / 取消归档 / 复制会话 ID / 删除)。页面参考 OpenChamber 手机端归档页 |
| 侧栏 | 去掉【显示已归档】按钮和侧栏里的归档列表;侧栏只保留活动会话,归档统一从【全部功能 → 归档】进入 |
| 列表 | 归档会话按归档时间(缺失时按更新时间)倒序;项目分组按最近归档时间排序;取消归档后该行从归档页移回侧栏的活动列表 |
| 版本 | **0.6.0(code 600)** |
---
## 0.5.7 添加项目与上下文环回退(分支 `flutter`)
| 项 | 结果 |