docs(plans): 留痕 K30-D 评论输入框修正
This commit is contained in:
1 parent
fdf3f04b23
commit
8b176a6880
2 files changed
+51
No files matched your search
@@ -20101,3 +20101,33 @@ Running Gradle task 'assembleDebug'...
|
||||
```
|
||||
|
||||
解读:静态检查零告警,395 条测试全部通过,debug APK 构建成功。工作区原有 `pubspec.lock` 变更未纳入本批提交。真机验收由用户执行。
|
||||
|
||||
## 2026-10-20 ReelShort:K30-D 评论输入框尺寸与圆角修正
|
||||
|
||||
- 分支:`fix/flutter-k30-comment-input`
|
||||
- 功能提交:`8709b64 fix(flutter): 修正评论输入框高度与圆角`
|
||||
- develop 合并提交:`ced0fae merge: 合并 K30-D 评论输入框尺寸修正`,已推送。
|
||||
- 仅改 Flutter 输入框区域:`_composerHeight` 44→52、`_composerRadius` 22→12、`_sendButtonSize` 36→40。
|
||||
- `_composerDecoration` 的 `contentPadding` 改为 `EdgeInsets.symmetric(horizontal: 16, vertical: 14)`,保留 `isDense: true`;底色 `AppColors.commentInput`、无描边、hint/输入字号 14 均未变。
|
||||
- `TextField` 继续 `maxLines: 1` + `textAlignVertical: center`,发送按钮 40×40 与输入框垂直居中、图标 18;回复提示条与输入框间距 6、发送成功收起键盘均保持原样。
|
||||
- 评论列表、弹窗其它区域、接口与后端零改动。
|
||||
|
||||
测试(先红后绿):先把既有尺寸断言改为 40×40 / 52,跑红灯确认实际仍是 36/44,再改实现转绿;`should_use_polished_comment_sizes` 现覆盖输入框高 52、发送按钮 40。
|
||||
|
||||
门禁原始输出:
|
||||
|
||||
```text
|
||||
$ dart analyze lib test
|
||||
Analyzing lib, test...
|
||||
No issues found!
|
||||
|
||||
$ flutter test
|
||||
00:36 +395: All tests passed!
|
||||
|
||||
$ flutter build apk --debug
|
||||
Running Gradle task 'assembleDebug'...
|
||||
7.9s
|
||||
✓ Built build/app/outputs/flutter-apk/app-debug.apk
|
||||
```
|
||||
|
||||
解读:静态检查零告警,395 条测试全部通过,debug APK 构建成功。工作区原有 `pubspec.lock` 变更未纳入本批提交。真机验收由用户执行。
|
||||
Reference in new issue
Block a user