feat: add cancellable settings path search

This commit is contained in:
QiuSW
2026-07-22 15:57:02 +08:00
parent a3b766f276
commit 6f08c9c9d0
8 changed files with 384 additions and 75 deletions
+5 -5
View File
@@ -3,7 +3,7 @@ id: T-206
title: 左侧导航、可取消路径搜索与新建实例表单语义
phase: 2
deps: [T-205]
status: TODO
status: DONE
created: 2026-07-22
owner: codex
---
@@ -31,8 +31,8 @@ owner: codex
## 执行记录
- 状态:TODO
- 变更:已建立任务与交互/异步状态契约。
- 验证:待实现。
- 状态:DONE
- 变更:Gio Shell 改为左侧导航并移除窗口内“Chub 浏览器管理”文字;路径搜索接入独立 task ID、取消令牌、结果通道和 `Window.Invalidate`;新建实例增加 Label、目录选择入口与 Chrome/Edge RadioButton;同步更新 HTML 原型。
- 验证:`gofmt`、HTML script syntax check、`go test ./... -count=1`、`go vet ./...`、`scripts/smoke-windows.ps1` 均通过。
- 阻塞:无。
- 残余风险:真实原生文件夹选择器需要后续 Windows platform adapter。
- 残余风险:原生 Windows 文件/目录选择器仍需后续 platform adapter;`go test -race` 在当前环境因 `CGO_ENABLED=0` 不可用。