Repository navigation
统一资源库首页与全站设计图鉴体验 - #56
Merged
Merged
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.
原有资源浏览入口重复,页面介绍、筛选层级和卡片说明占用过多空间,常用分类不够直接。本次将首页统一为资源库,并整理全站宿主界面的视觉与交互。
#discover链接原位转入#explore并保留查询条件、合集、语言及主题参数。21st-submissions/。验证
npm run check:目录/类型检查和 21 项单元测试通过。npm test:当前生产构建及 189 项浏览器测试全部通过(Chromium 171、Firefox 9、WebKit 9)。包括类型选中指示块的实际动画帧、连续切换、标签几何稳定、键盘/触屏、滚动、减少动效、零结果禁用及历史恢复。npm run test:dev:隔离开发环境更新流程通过。实测默认首页、旧发现页链接、合集入口、搜索、多条件筛选、卡片内交互、收藏、详情返回、设备/全屏、指导阅读及组合器编辑导出。
1440/1024/768/390px × 中英文 × 明暗主题 × 7 个入口,共 112 组布局检查;另有 110%/125% 原生缩放的 12 组检查。覆盖键盘、触屏及减少动效,无横向溢出,详情说明开关保持画布几何稳定。
WebKit 使用临时解压的发行版运行库。系统缓存预检无法识别临时库,因此运行时关闭 Playwright 环境预检;浏览器实际执行全部测试,未跳过断言。
另外实测 390px 深色、减少动效下两页的触屏筛选、收藏、详情及返回恢复。
截图与证据
类型切换录屏:设计指导、资源导航。
当前设计规则、首页及内容工具前后截图、移动端深色截图和复现方法;当前构建指纹与尺寸/缩放证据。
本 PR 完整覆盖最终约定的全站改版范围,按经过验证的阶段保留真实提交。
Closes #55