Repository navigation
Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. Walkthrough
Severity of issue fixed: Medium Merge Risk:
|
There was a problem hiding this comment.
Actionable comments posted: 2

Review info
-
Run configuration-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: Repository UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
d137f12f-7bf0-4907-820d-66d316b1e686
Files selected for processing: 15-
src/main/ipc/shell-repo-icon-image.test.tssrc/main/ipc/shell.tssrc/renderer/src/components/settings/repository/identity/RepositoryIconTabs.fixture.tsxsrc/renderer/src/components/settings/repository/identity/RepositoryIconTabs.tsxsrc/renderer/src/components/settings/repository/identity/RepositoryIconTabs.upload.test.tsxsrc/renderer/src/i18n/locales/en.jsonsrc/renderer/src/i18n/locales/es.jsonsrc/renderer/src/i18n/locales/fr.jsonsrc/renderer/src/i18n/locales/ja.jsonsrc/renderer/src/i18n/locales/ko.jsonsrc/renderer/src/i18n/locales/pt.jsonsrc/renderer/src/i18n/locales/zh.jsonsrc/renderer/src/lib/image-blob-png.test.tssrc/renderer/src/lib/image-blob-png.tssrc/shared/repo-icon.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
-
Apply PR stablyai#34338 follow-up 6d99a57 with Russian copy parity.
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to GitHub limitations.

Minor · Translate the native picker size error. · RepositoryIconTabs.tsx:98-104
src/renderer/src/components/settings/repository/identity/RepositoryIconTabs.tsx:98-104
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick winTranslate the native picker size error.
When the selected file exceeds
MAX_REPO_ICON_SOURCE_BYTES,shell:pickRepoIconImagethrowsRepo icon image must be 10MB or smaller.. This branch translates onlyCLIPBOARD_IMAGE_TOO_LARGE_ERROR, so non-English users see the upload-limit error in English. Map the IPC size error toRepositoryIconPicker.imageTooLarge, or add a dedicated localized key. (raw.githubusercontent.com)

Review info
-
Run configuration-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: Repository UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
eb50846d-8f26-4ccf-98d2-b8b6049d506e
Files selected for processing: 8-
src/renderer/src/components/settings/repository/identity/RepositoryIconTabs.tsxsrc/renderer/src/i18n/locales/en.jsonsrc/renderer/src/i18n/locales/es.jsonsrc/renderer/src/i18n/locales/fr.jsonsrc/renderer/src/i18n/locales/ja.jsonsrc/renderer/src/i18n/locales/ko.jsonsrc/renderer/src/i18n/locales/pt.jsonsrc/renderer/src/i18n/locales/zh.json
Files skipped from review as they are similar to previous changes: 7-
- src/renderer/src/i18n/locales/fr.json
- src/renderer/src/i18n/locales/en.json
- src/renderer/src/i18n/locales/pt.json
- src/renderer/src/i18n/locales/zh.json
- src/renderer/src/i18n/locales/es.json
- src/renderer/src/i18n/locales/ko.json
- src/renderer/src/i18n/locales/ja.json
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
-
eeb863f to
464e017
Compare
464e017 to
d8569cc
Compare
[Medium impact] The PR appears safe to merge; the earlier Reset issue is fixed, and no new actionable issues were found. SummaryProject icons now accept common image formats and convert them to scaled PNGs.
Reviews (2) · Last reviewed commit: "fix: cancel pending project icon upload ..." · Reviewed by Greptile |
Forward-merge 18f674e; register AVIF in the canonical media format catalog and preserve image reexports.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Upstream now rotates a loading-spinner span instead of an animate-spin svg. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ELI5
Import common image formats as project icons, resize admitted images to the stored PNG budget and ignore stale uploads.
What Changed
Accepts PNG, JPEG, SVG, WebP, GIF, BMP, ICO and AVIF through the existing decoder, retaining alpha and avoiding upscaling. Keeps the 10 MB source-byte and 32-megapixel decoded limits, localized typed picker failures, and cancellation when Reset or another selection wins. AVIF now lives in upstream's canonical media format catalog; the image catalog remains a reexport.
Why
Project icons should accept common source formats without weakening decoded-image safety limits or allowing a late conversion to undo the user's newer choice.
Linked Issue
Fixes #34326.
Visual Proof
Earlier captures below retain their original source and capture context; this update does not claim a fresh rendered run.
The following retains the earlier capture context and artifacts. This base refresh does not claim new rendered or physical-device acceptance.
Same real component, synthetic data, fixed 400px fixture width. Captures were made on the integration checkout; the panel and converter match this standalone delta. Full light/dark comparison and the separate header follow-up: gentslava#1 (comment).
Before:
After:
Testing
Current head:
c2d180516515ab23baa42662fae29d09fe604db1. Ordinary forward merge of upstream main7bf0377072f9b2e9ace445a2acad951990de1d3a. Updated affected imports to their current owners.All five desktop/runtime TypeScript projects pass with the supported tsrs compiler. The complete affected source test files pass 31 tests.
Normal commit hooks pass. Final changed-path gate: all non-unit checks passed; broad related-unit selection exceeded the one-minute limit and remains incomplete locally. No new installed-app/device, live-provider, SSH, Windows or Linux acceptance is claimed for this maintenance refresh.
Risk
Level: Medium
Decoding or stale completion could reject an icon or replace a newer choice. Existing byte/pixel budgets, request fences and reset cancellation remain intact. Reverting restores earlier accepted inputs; already stored PNG icons remain valid.
AI Disclosure
Implemented and checked with OpenAI Codex assistance. The contributor owns the change and validation claims.
Review
Paginated formal/inline/top-level review audit found no unresolved threads. Existing upload/reset, pixel-budget contract and localized native-picker corrections are preserved. This is not current-head automated approval or physical picker acceptance.
Agent skill upstream boundary
Notes
This PR contains only its atomic feature. Cross-platform, remote, mobile and folder-workspace impact were considered; live acceptance remains as stated above.
Checklist
pnpm lint,pnpm typecheck,pnpm test,pnpm buildand upstream CI green