Repository navigation
修复小屏弹窗与复制回退,补齐站点校验和 Pages 发布流程 - #2
Merged
Merged
Conversation
dai123x
marked this pull request as ready for review
October 16, 2026 03:54
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.
现有首页弹窗在横屏或低高度视口中会超出可视区域;Clipboard API 被拒绝时,临时复制框位于弹窗之外,与焦点保护冲突。同时,部署流程直接上传整个仓库,没有在发布前校验页面资源。
本次为弹窗增加动态视口高度限制和内部滚动,共用能恢复焦点与选区的复制回退;修正深层 404 地址下的图标路径,并更新首页资源版本。增加零 npm 依赖的 Node.js 检查与白名单打包:检查站内资源、锚点、重复 id、脚本语法、manifest 和 sitemap,生成 _site 后再次检查。PR 只检查,生产部署仅允许 main。README 改为与现有网站一致的使用和维护说明。
保留当前视觉风格、全部作品内容、首页参赛区及 snow-viz 源目录;原本其他本地副本中的未提交工作未纳入本 PR。
验证:
GitHub Actions 已在 Node.js 22 上实际完成测试与打包,结果通过:运行记录。PR 的 Upload artifact 与 deploy 均按条件跳过。尚未合并或发布到线上;此处检查不构成作品统计结果复现。