fix: count only OpenChamber projects as known work areas

0.7.3 still showed the pitchfork/Downloads/OpenCode ports because
app.projects also carries every OpenCode project. The web filters against
the OpenChamber project list, so the phone now uses only rows with a
settings record (metaId) plus the current directory; directory-less
announced servers stay visible. The list now matches the web's two entries
(8080 and 9090).

Version 0.7.4+704.
This commit is contained in:
blumia committed 2026-12-04 15:09:52 +08:00
1 parent 4bd9256ef8
commit cecf5517a5
4 files changed
+16 -3

No files matched your search

+9
View File
@@ -5,6 +5,15 @@
---
## 0.7.4 已知项目只算 OpenChamber 的项目列表(分支 `flutter`)
| 项 | 结果 |
| --- | --- |
| 列表 | 0.7.3 用 `app.projects` 做过滤,但这个列表同时包含 OpenCode 发现的所有目录(`~/.config/pitchfork`、`~/Downloads` 等),所以那些端口仍被当成「已知项目」显示。现在只把带 OpenChamber 设置记录的项目(`metaId` 非空)加上当前项目当作已知工作区,和网页端的项目列表一致;没有目录的 announced 端口(9090)仍显示。手机列表恢复为网页端看到的 8080、9090 |
| 版本 | **0.7.4(code 704)** |
---
## 0.7.3 开发服务器列表与网页端同一套过滤(分支 `flutter`)
| 项 | 结果 |