docs(plans): 补记 K3 举报错误透传修复
This commit is contained in:
1 parent
22f458606d
commit
c2bd096ef3
2 files changed
+62
-2
No files matched your search
@@ -1611,3 +1611,59 @@ To http://git.reelshort2.com/jianghaifeng/ReelShort.git
|
||||
```
|
||||
|
||||
解读:K3 已合并到 ReelShort `develop` 并推送,未操作 `main`。
|
||||
|
||||
### 18.15 本人评论举报错误透传补充修复
|
||||
|
||||
逐条复核任务书时发现:本人评论的更多菜单原先只提供删除,无法触发
|
||||
“不能举报自己发布的内容”这一后端 message。先补红灯用例,再让菜单始终提供
|
||||
“举报评论”,本人评论额外提供“删除评论”。
|
||||
|
||||
红灯:
|
||||
|
||||
```
|
||||
$ flutter test test/comment/drama_comments_sheet_test.dart --plain-name should_show_backend_message_when_reporting_own_comment
|
||||
Found 0 widgets with text "Report comment"
|
||||
00:00 +0 -1: Some tests failed.
|
||||
```
|
||||
|
||||
修复后:
|
||||
|
||||
```
|
||||
00:00 +1: All tests passed!
|
||||
```
|
||||
|
||||
最终重跑:
|
||||
|
||||
```
|
||||
$ dart analyze lib test
|
||||
Analyzing lib, test...
|
||||
No issues found!
|
||||
|
||||
$ flutter test
|
||||
00:12 +242 ~1: All tests passed!
|
||||
|
||||
$ flutter build apk --debug
|
||||
✓ Built build/app/outputs/flutter-apk/app-debug.apk
|
||||
```
|
||||
|
||||
修复提交:
|
||||
|
||||
```
|
||||
1488ee8f85671de96c70347c1b17fb9c4556bd88
|
||||
fix(flutter): 透传举报本人评论错误
|
||||
```
|
||||
|
||||
`--no-ff` 合并提交:
|
||||
|
||||
```
|
||||
e1147cfcbabcdf457e427bbd118c32d37f8d9b15
|
||||
merge: 合并 K3 举报错误透传修复
|
||||
```
|
||||
|
||||
推送:
|
||||
|
||||
```
|
||||
9db6935..e1147cf develop -> develop
|
||||
```
|
||||
|
||||
解读:报告本人内容现在会把后端错误原样展示;author/committer 均保持统一。
|
||||
Reference in new issue
Block a user