feat: 提交详情能看 diff,也能丢给 AI 审这一次改动。文件检查可单独排除路径,TODO 只认大写,避免把 todo 表和模块当成待办标记。

热力图按容器宽度铺满一年,不再横向滚动。托盘右键换成可换皮肤的弹层;更新下载显示进度,退出后再由脚本拉起安装器,避免还占着 exe。
This commit is contained in:
李琦
2026-08-19 15:46:03 +08:00
parent 1694397245
commit 7c4109f687
38 changed files with 2618 additions and 129 deletions

View File

@@ -39,7 +39,14 @@ func TestWildcardMatch(t *testing.T) {
cases := []struct {
p, s string
want bool
}{{"*.log", "storage/app.log", true}, {"vendor", "vendor/a.php", true}, {"dist", "src/main.js", false}}
}{
{"*.log", "storage/app.log", true},
{"vendor", "vendor/a.php", true},
{"dist", "src/main.js", false},
{"src/todo", "src/todo", true},
{"src/todo", "src/todo/list.go", true},
{"src/todo", "src/other/list.go", false},
}
for _, c := range cases {
if got := wildcardMatch(c.p, c.s); got != c.want {
t.Errorf("%s %s = %v", c.p, c.s, got)