Repository navigation
feat(desktop,web): choose the app icon in Settings > Appearance - #37397
Draft
maria-rcks wants to merge 2 commits into
Draft
maria-rcks wants to merge 2 commits into
maria-rcks wants to merge 2 commits into
Conversation
One App icon row opens a picker with Default, Black, Sunrise, Blueprint and two older icons. Desktop applies the choice to the Dock on macOS and the window icon on Windows and Linux, live and on every launch; Default keeps the build's own icon and still never overwrites a custom macOS icon. The browser tab favicon follows the choice. Also reachable from the command palette as Change app icon.
Contributor
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Other scenariosAll 64 scenario measurements match All 64 scenario measurements
Baseline: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
This branch has not been deployed
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.
There was no way to pick the app's icon. Settings > Appearance now has one App icon row that opens a picker with Default, the three current icons (Black, Sunrise, Blueprint) and two retired ones from the repo's history: Classic Blueprint (the nightly icon until #4080) and Classic Dev (the dev icon from #2012). "Change app icon" in the command palette does the same.
On desktop the choice becomes the Dock icon on macOS and the window and taskbar icon on Windows and Linux, applied when chosen and again on launch. Default keeps the build's own icon and still never overwrites a custom Finder icon (#7125). On macOS the chosen icon only shows while the app runs; closed, the Dock and Finder show the bundle's icon, because making it stick would mean changing the signed bundle. In a browser the tab favicon follows the choice; the installed web app's manifest icons do not change.
The choice is a client setting,
appIcon, two lines inpackages/contracts/src/settings.ts(an open string defaulting to"default", so an id from a newer version still decodes). Desktop already receives client settings, so there is no new IPC channel and no packaging change: it reads the PNGs from the bundled web build. The icons are existing exports downscaled to 256 px, 655 KB in total. Mobile does not get the picker in this PR; alternate home-screen icons need a native module and a new native build, planned as a separate PR.Checks:
DesktopAppIdentity.test.tscovers the launch icon per saved choice, an unknown id and Default keeping the #7125 behavior, the macOS reset and the Linux swap and restore (12 cases, 7 new; desktop suite 1188 passed). The picker, the row, the reset and the favicon link swap were exercised in the web dev app in dark and light.Not verified:
Claude Opus 5.5 and Claude Fable 5.2 · Claude Code in T3 Code