Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
关联 #349,采纳动态预览、「更多」跳转及横向视频卡片细节,保留原有布局。
变更概览
预览数量与「更多」由视频源提供
catalog.channels[].preview时按源返回的条目展示,配置数量是上限,不补卡。支持源配置预览分类、按钮文案、更多页标题与频道目标;源支持排行榜时可跳至热播榜。没有预览配置的源继续按原逻辑请求每栏 8 条。保留现有分类布局和帖子入口
docs/subsystems/feed-and-detail.md。横向视频卡片与瀑布流文案一致
验证记录
git diff --cached --check(本次暂存差异)→ 无输出,退出码0。首轮 Actions 的
pnpm build→TS2304: Cannot find name 'page' / 'pages',退出码2。保留供底部「加载更多」使用的页码字段,不恢复标题下方的统计。首版标准版 Actions #46364751924:
pnpm build→✓ built in 3.25s;pnpm test:smoke→smoke: 24/24 passed,其中posts-tabs、category-hitbox、channel-swipe通过;Rust →110 passed; 0 failed; 4 ignored;两组播放检查通过(各命令退出码0)。首版 TV Actions #46364751919:
VITE_APP_EDITION=tv pnpm build→✓ built in 2.43s;node scripts/test-tv-remote.mjs→PASS TV standard-build-excludes-tv-resources(各命令退出码0)。未运行本地构建或测试;未引入 feat(category): 分类页对齐官网首页栏目,预览数量动态跟随 #349 中锁定新布局的测试。动态数量和「更多」跳转的专项常驻回归待核实。
本次补充改动的 标准版 Actions #46377735502 和 TV Actions #46377735596 均通过(提交
3158e67)。