docs(plans): 记录 K26 旧 UI 清理
This commit is contained in:
1 parent
6fd532beae
commit
71e2f266ff
1 file changed
+46
@@ -5120,3 +5120,49 @@ ReelShort `develop` 与 `feature/flutter-k26-mobile-preview` 已推送。
|
||||
5. 我的检查用户行、金币卡、Continue Watching、历史/收藏/喜欢与语言行。
|
||||
6. 登录页检查三个入口;Google/手机号提示即将开放,邮箱进入现有表单。
|
||||
7. 320×568、360×720、390×844 与深色/浅色检查无溢出。
|
||||
|
||||
### K26 清理:预览为唯一权威(2026-10-19)
|
||||
|
||||
按用户口径移除旧 UI 与死代码,不保留新旧两套:
|
||||
|
||||
- 删除旧 Discover 3D 轮播 `cover_carousel.dart`、`cover_carousel_test.dart`、
|
||||
`home_banner_source_test.dart`;发现页不再存在轮播/banner 分支。
|
||||
- 删除旧首页侧滑 `HomeQuickDrawer`,改为预览 token 的 `HomeMenuSheet` 底部菜单;
|
||||
保留 `drawer-*` 业务入口 Key(现指新菜单项,不再引用旧 Drawer 组件)。
|
||||
- 删除无入口的横屏全屏实现:`PlayerLogic.fullscreen/setFullscreen`、
|
||||
`_FullscreenControls`、`watchFullscreen/exitFullscreen` l10n。
|
||||
- 删除清屏旧 UI:`screenCleared/setScreenCleared`、首页更多里的清屏项、
|
||||
播放器退出清屏按钮、`clearScreen/exitClearScreen` l10n。
|
||||
- 删除旧 Key 及其测试:`tab-my-list`、`home-all-dramas-title`、`card-player-*`、
|
||||
`home-feed-clear`、旧清屏/沉浸测试。
|
||||
- 全仓 grep 复核:`CoverCarousel|HomeQuickDrawer|_FullscreenControls|setFullscreen|`
|
||||
`setScreenCleared|card-player-|detail-episode-grid|rail-download|tab-my-list` 均为 0 引用。
|
||||
|
||||
六屏仍严格对应预览:首页玻璃卡四互动、发现搜索/Continue/2 列、详情 190px hero/选集
|
||||
chips、全屏播放器三按钮、Me 用户/金币/Continue/语言、登录三入口。
|
||||
|
||||
门禁原始输出:
|
||||
|
||||
```text
|
||||
$ dart analyze lib test
|
||||
No issues found!
|
||||
|
||||
$ flutter test
|
||||
00:26 +343: All tests passed!
|
||||
|
||||
$ flutter build apk --debug
|
||||
Running Gradle task 'assembleDebug'... 25.5s
|
||||
✓ Built build/app/outputs/flutter-apk/app-debug.apk
|
||||
```
|
||||
|
||||
构建在 `/tmp/reelshort-k26-cleanup` 独立 worktree 完成。
|
||||
|
||||
Git:
|
||||
|
||||
```text
|
||||
5422581 refactor(ui): 清理 K26 旧 UI 与死代码
|
||||
c825025 merge: 清理 K26 旧 UI 与死代码
|
||||
```
|
||||
|
||||
提交与合并 author/committer 均为 `Zhou Weidong <502333560@qq.com>`;
|
||||
`develop` 与 `fix/flutter-k26-preview-authority` 已推送。
|
||||
Reference in new issue
Block a user