feat: one project sheet for sessions and scheduled tasks

- the scheduled-task scope dropdown becomes the same project sheet the
  new-session composer opens: Chat row, project icons, paths, the current
  check mark, and one row per checkout
- a filesystem root ("/") no longer reads as a blank row: pathLeaf falls
  back to the path itself instead of an empty last segment
- the sheet opens at once and refreshes the project list behind it; an
  empty list shows "Loading projects…" until the answer arrives, so the
  project chip no longer waits before anything appears
- bump to 0.5.5
This commit is contained in:
blumia committed 2026-11-26 14:00:35 +08:00
1 parent 545778c6f3
commit a70e9290ef
9 files changed
+338 -127

No files matched your search

+11
View File
@@ -5,6 +5,17 @@
---
## 0.5.5 项目选择与计划任务运行位置(分支 `flutter`)
| 项 | 结果 |
| --- | --- |
| 空白选项 | 服务器会把根目录 `/` 也列成一个项目;`pathLeaf('/')` 取最后一段时得到空串,标签就成了空白。根路径现在用自己的路径作名称(`/`);同一个 checkout 被服务器列两次(项目记录 + sandbox)时也合并成一行 |
| 新建会话 | 点项目名不再先等项目接口:bottomsheet 立即弹出,列表为空时显示「正在加载项目…」,刷新完成(或已有缓存)后展示列表;确实没有项目时显示「没有可用的项目」 |
| 计划任务 | 运行位置改用与新建会话相同的项目 bottomsheet(含「聊天」scope、图标、路径与当前选中标记),不再用长列表下拉框 |
| 版本 | **0.5.5(code 505)** |
---
## 0.5.4 文件下载进度(分支 `flutter`)
| 项 | 结果 |