Skip to content

feat(assets): upgrade CodexHost app icons to coastal wave badge design - #1250

Merged
iruriQ merged 2 commits into
mainfrom
feat/codexhost-app-icon-upgrade
Nov 27, 2026
Merged

iruriQ merged 2 commits into
mainfrom
feat/codexhost-app-icon-upgrade

Conversation

@iruriQ

@iruriQ iruriQ commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator

Summary

Upgrades the CodexHost application icon across desktop shell, launcher, web UI, wiki, and renderer extension from the flat white-card silhouette to a layered coastal pine-teal silk wave badge while preserving the original otter mark verbatim.

Updated Icon Assets

  • Desktop Shell (Tauri)
    • apps/desktop-shell/src-tauri/icons/AppIcon.icns (macOS 10-size iconset)
    • apps/desktop-shell/src-tauri/icons/dock.png (256×256)
    • apps/desktop-shell/src-tauri/icons/icon.ico (multi-size 16–256px)
  • Launcher (Rust)
    • crates/launcher/assets/codexhost.png (1024×1024 master)
    • crates/launcher/assets/codexhost.ico (multi-size 16–256px)
  • Web UI & Wiki
    • apps/web-ui/apps/web/public/apple-touch-icon.png (180×180)
    • apps/web-ui/apps/web/public/favicon.svg
    • apps/web-ui/apps/web/public/favicon-dark.svg
    • apps/wiki/public/favicon.svg
  • Renderer Extension
    • packages/renderer-extension/src/assets/codexhost-app-icon.svg

(Monochrome tray icon tray.png and bare otter marks codexhost-otter-{dark,light,color}.svg are intentionally preserved.)

Validation

  • Visually inspected rendered 1024×1024 transparent-corner PNG and multi-size Dock preview.
  • Verified iconutil -c icns and multi-size PNG-in-ICO generation.

@coderabbitai

coderabbitai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • 样式
    • 更新应用图标为海岸波浪徽标,并统一 Windows 启动器、桌面端及安装程序使用的图标;macOS 图标仍由 PNG 生成。
  • 文档
    • 更新图标资源说明,明确矢量徽标用于生成原生图标及 Web/Wiki 网站图标。

图标生成脚本现在使用海岸波浪徽标 SVG,并将生成的 ICO 写入 launcher 和 desktop-shell 资源目录。相关 README 更新图标来源和 Windows 图标用途说明。macOS 仍从 PNG 生成 ICNS。

Changes: 品牌图标生成

Layer / File(s) Summary
SVG 来源与渲染
scripts/release/generate-brand-icons.mjs, packages/renderer-extension/src/assets/README.md, crates/launcher/assets/README.md
脚本改用 codexhost-app-icon.svg,直接渲染源 SVG,不再使用 otter 图像及外层背景包装。README 更新 SVG 和 PNG 图标来源说明。
ICO 输出与使用说明
scripts/release/generate-brand-icons.mjs, crates/launcher/assets/README.md
脚本将同一 ICO 写入 launcher 的 codexhost.ico 和 desktop-shell 的 icon.ico。README 将桌面 shell 列入 Windows 图标用途,并说明镜像路径。

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Suggested reviewers: bytepioneer-ai

Merge Risk: Minimal · up to 6e5c3 · assessed changes only

Path filters excluded changed files. This rating applies only to the assessed changes.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed 标题“feat(assets): upgrade CodexHost app icons to coastal wave badge design”概括了主要变更:将 CodexHost 应用图标升级为海岸波浪徽章设计。变更摘要显示 README、图标生成脚本及图标资源均与此相符。标题具体且与变更集一致。
Description check Passed 描述说明了图标升级的范围(桌面壳、启动器、Web UI、Wiki 和渲染器扩展),并列出了更新的资源文件、保留不变的托盘图标与水獭标记,以及验证步骤。描述与变更集直接相关。
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 224fe90 and 6e5c382.

Files ignored due to path filters: 2

  • apps/desktop-shell/src-tauri/icons/icon.ico is excluded by !**/*.ico
  • crates/launcher/assets/codexhost.ico is excluded by !**/*.ico
Files selected for processing: 3

  • crates/launcher/assets/README.md
  • packages/renderer-extension/src/assets/README.md
  • scripts/release/generate-brand-icons.mjs

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 6 remain after this review.

Recent review details

Context from checks skipped due to timeout: 8

  • GitHub Check: CodeRabbit
  • GitHub Check: Static checks
  • GitHub Check: Check ubuntu-22.04
  • GitHub Check: Check windows-latest
  • GitHub Check: Vitest
  • GitHub Check: Check macos-26
  • GitHub Check: Check Linux ARM64
  • GitHub Check: Web Host tests
Additional context used

Code guidelines: 2

AGENTS.md — auto-discovered
CLAUDE.md — auto-discovered
Path-based instructions: 3

Source excerpt: `renderer-extension` must not import Node.js built-ins, Electron private APIs, or Harness SDKs.

CodeRabbit inference engine (AGENTS.md)

Files:

  • packages/renderer-extension/src/assets/README.md
Source excerpt: Rust owns native launch, process management, update installation, and platform integration.

CodeRabbit inference engine (AGENTS.md)

Files:

  • crates/launcher/assets/README.md
Source excerpt: Use package public exports for cross-package dependencies.

CodeRabbit inference engine (AGENTS.md)

Files:

  • packages/renderer-extension/src/assets/README.md
Additional comments: 1

scripts/release/generate-brand-icons.mjs: 1

27-27: Functional Correctness

The concern does not hold. The full-canvas rect in codexhost-app-icon.svg sits inside <g clip-path="url(#ch-sq)">, and the clip path has rounded outer corners. The rectangle cannot paint the four outer corners, so the generated PNG and ICO files keep those corners transparent. The concern's premise is contradicted by the source.

@iruriQ iruriQ added the awaiting-author Waiting for the author to respond or update the PR. label Nov 27, 2026
@iruriQ

iruriQ commented Nov 27, 2026

Copy link
Copy Markdown
Collaborator Author

感谢图标视觉升级!复审发现几项需补齐后合入:

  1. Vitest 真实失败于 tests/release/dmg-assets.test.mjs:crates/launcher/assets/codexhost.ico 缺少单测要求的 24x24 帧;
  2. 涉及桌面壳与 Web 品牌图标可见变更,请按 AGENTS.md 在 PR 描述中补充脱敏的前后对比渲染截图;
  3. 请同步更新 scripts/release/generate-brand-icons.mjs,并确认 packages/renderer-extension/src/assets/codexhost-app-icon.svg(历史归档文件)是否属于误改。

@iruriQ iruriQ removed the awaiting-author Waiting for the author to respond or update the PR. label Nov 27, 2026
@iruriQ
iruriQ merged commit 36d0b79 into main Nov 27, 2026
6 of 8 checks passed
@iruriQ

iruriQ commented Nov 27, 2026

Copy link
Copy Markdown
Collaborator Author

已补齐 codexhost.ico / icon.ico 的 24x24 帧(完整 7 帧 RGBA PNG)、同步 scripts/release/generate-brand-icons.mjs 与资产说明,通过 tests/release/dmg-assets.test.mjs(2/2)与 Prettier 检查后已合入 main。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants