Repository navigation
fix(ui): 放大平台图标主体,减少小尺寸留白 - #433
Merged
Merged
Conversation
Merged
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.
Summary
平台图标把原稿的大量展示留白一起缩小,导致 32px 图标中的深色主体只有 14×14px,在任务栏和网页页签中显得偏小。生成脚本现在使用母版中心的 60% 区域,32px 主体增大到 24×23px;原稿与图形不变。
同步生成 Web、Windows ICO/MSIX PNG、AMD64/ARM64 EXE 资源和 macOS ICNS。新增小尺寸主体占比回归检查,防止后续生成时重新引入大面积留白。
同时修复 CI 暴露的 Go 工具链漏洞、浏览器启动期限和 macOS 镜像创建失败;共用修复已同步到 #432。
真实页面前后对比
同一份主线代码(基于 #431 合并提交 e578c22),分别使用原资产和新资产构建后打开实际 Web 连接页面,1280×900;未替换 DOM。完整验证记录。
Validation
go test -count=1 ./internal/releasegatego test -count=1 -tags 'desktop,wv2runtime.error' ./cmd/cyberagent-desktop -run TestDesktopWindowsResourcesPreserveDPIAndIconsSurface governance
Audit
CI 修复与验证
db8fdfb8,包括浏览器取消后的清理验证。Resource busy最多尝试 3 次,间隔 2/4 秒,清除本次私有目录中的不完整镜像。其他错误、超时和持续繁忙仍失败;保留挂载、文件哈希/权限和签名校验。参考 create-dmg 的对应处理。本地验证:浏览器运行时测试与 vet、releasegate/producte2e、E2E 类型检查通过;漏洞扫描无可达问题。新增期限回归在旧 30 秒实现失败,慢握手回归在旧 5 秒实现失败,修复后均通过,取消与短期限也已验证。DMG 重试、永久错误、重试耗尽和超时检查通过。
本机 Edge 的一次布局测试在退出时遇到目录占用,原样复测通过;取消测试通过。远端 Windows 标准用户 Edge 验证与桌面检查均通过。DMG 完整测试与实际构建由原生 macOS runner 验证。
最新提交
f60938b08453c9054201d0d11bbddb6f162f54fb的 CI 和 Desktop release 均成功:27 项通过、2 项按预览流程跳过,0 失败、0 等待。包括 Intel/ARM macOS 真实浏览器页面检查和 ZIP/DMG 构建,以及 Windows 桌面、真实 Edge 和可重复构建检查。