fix: i18n select_output_folder, skip_version UI sync, in-place update - #192
Merged
Conversation
…date #189: Add select_output_folder translation key (en-US + zh-TW) Remove fallback in ActionBar.tsx — fallback masked missing key #190: Sync skippedVersion React state after manual checkUpdate(true) Backend clears skip_version but frontend state was stale #191: In-place .app replacement when running from non-/Applications - Writable original dir → atomic swap in-place - Not writable → install to /Applications (existing behavior) - In /Applications → atomic swap (unchanged) Closes t-20260630020921334552-3265-0 Co-authored-by: DeepSeek v4 Pro <noreply@deepseek.com>
Owner
Author
|
Verdict: VERIFIED Findings:
Evidence
|
Owner
Author
Review Verdict: VERIFIED ✅Reviewed HEAD: Evidenceran: Findings Summary
Stage 1 — Correctness
#189 — i18n specifics
#190 — State sync specifics
#191 — _macos_copy logic review
Stage 2 — Adversarial
VerdictVERIFIED — all 3 fixes are correct, well-tested, and properly documented. |
This was referenced Jun 30, 2026
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.
What
Batch fix for three Wave 3 issues:
select_output_folderi18n key (en-US + zh-TW), remove hardcoded fallbackskippedVersionReact state after manual update checkHow
#189 — i18n
"select_output_folder"to bothen-US.jsonandzh-TW.json|| "Select output folder"fallback fromActionBar.tsx:146— the fallback masked the missing key and showed English to Chinese users#190 — UI state sync
setSkippedVersion(null)afterapi.checkUpdate(true)succeeds inSettingsModal.tsxskip_versionon manual check ([bug] 有略過版本時「檢查更新」仍顯示「已是最新版本」— 應無視 skip_version 並自動清除 #184) but frontend state was stale — user still saw "Skipped: vX.X.X" until re-opening Settings#191 — In-place update
_macos_copy()inupdate_manager.py:tests/test_update_manager.pywithTestMacOSCopyInPlace(3 new test cases)Scope
frontend/src/components/ActionBar.tsx,frontend/src/components/SettingsModal.tsx,src/resources/translations/,src/update_manager.py,tests/test_update_manager.pyLessons
_macos_copyuses local imports (import shutil/subprocessinside method) — mocking requires top-levelshutil.move/subprocess.runpatches, notsrc.update_manager.shutilTest Evidence
TestMacOSCopyInPlace: 3/3 passedCloses #189
Closes #190
Closes #191
🤖 Generated with Claude Code