docs(plans): 留痕 K31-G 首页通知铃铛

This commit is contained in:
Zhou Weidong committed 2026-10-20 13:12:00 +08:00
1 parent dfa24c0f43
commit 83f7890851
2 files changed
+53

No files matched your search

+29
View File
@@ -20449,3 +20449,32 @@ Running Gradle task 'assembleDebug'...
```
解读:静态检查零告警,402 条测试全部通过,debug APK 构建成功。工作区原有 `pubspec.lock` 变更未纳入本批提交。真机验收由用户执行。
## 2026-10-20 ReelShort:K31-G 首页顶栏通知铃铛
- 分支:`feature/flutter-k31-home-bell`
- 功能提交:`524b7f5 feat(flutter): 首页顶栏改为通知铃铛入口`
- develop 合并提交:`2abb8c7 merge: 合并 K31-G 首页通知铃铛`,已推送。
- `home_browse_header.dart`:删除星期文字与 `_weekday()`,替换为 `Icons.notifications_none_rounded` 铃铛按钮,尺寸/圆形底/图标色与头像一致(`AppDimens.tapTarget`、`AppColors.card`、`AppColors.onSurface`),Key `home-notifications`,Semantics 用 `l10n.notices`。
- 点击直接 `Navigator.push` 现有 `NoticesPage`,无登录门槛;顶栏仍是「搜索(Expanded) → 铃铛 → 头像」,间距 `spaceSm` 不变,构造参数未新增。
- arb 中 weekday 文案 key 保留未删;其它页面未动。
测试:`home_preview_layout_test` 的 `home-weekday` 断言改为 `home-notifications`,新增「点击铃铛后出现 `notices-page`」用例。
门禁原始输出:
```text
$ dart analyze lib test
Analyzing lib, test...
No issues found!
$ flutter test
00:37 +403: All tests passed!
$ flutter build apk --debug
Running Gradle task 'assembleDebug'...
12.8s
✓ Built build/app/outputs/flutter-apk/app-debug.apk
```
解读:静态检查零告警,403 条测试全部通过(较 K31-F 新增 1 条铃铛入口用例),debug APK 构建成功。工作区原有 `pubspec.lock` 变更未纳入本批提交。真机验收由用户执行。