Repository navigation
refactor(i18n): reactive translate in sidebar (workspace cards, worktree list) - #39375
Merged
Merged
Conversation
OrcaWin
force-pushed
the
OrcaWin/i18n-reactive-translate-settings-3
branch
2 times, most recently
from
November 7, 2026 09:49
22967b9 to
b7f0aff
Compare
OrcaWin
force-pushed
the
OrcaWin/i18n-reactive-translate-sidebar-1
branch
from
November 7, 2026 09:53
42a237f to
8a1933c
Compare
OrcaWin
force-pushed
the
OrcaWin/i18n-reactive-translate-settings-3
branch
from
November 7, 2026 10:39
b7f0aff to
ae63f22
Compare
OrcaWin
force-pushed
the
OrcaWin/i18n-reactive-translate-sidebar-1
branch
from
November 7, 2026 10:39
8a1933c to
99c953e
Compare
OrcaWin
force-pushed
the
OrcaWin/i18n-reactive-translate-settings-3
branch
from
November 7, 2026 10:57
ae63f22 to
5f82e92
Compare
OrcaWin
force-pushed
the
OrcaWin/i18n-reactive-translate-sidebar-1
branch
from
November 7, 2026 10:58
99c953e to
285d67f
Compare
OrcaWin
force-pushed
the
OrcaWin/i18n-reactive-translate-settings-3
branch
from
November 7, 2026 11:09
5f82e92 to
59e1a23
Compare
OrcaWin
force-pushed
the
OrcaWin/i18n-reactive-translate-sidebar-1
branch
from
November 7, 2026 11:14
285d67f to
ad55f6c
Compare
OrcaWin
force-pushed
the
OrcaWin/i18n-reactive-translate-settings-3
branch
from
November 7, 2026 20:46
59e1a23 to
9dd292c
Compare
OrcaWin
force-pushed
the
OrcaWin/i18n-reactive-translate-sidebar-1
branch
from
November 7, 2026 20:51
ad55f6c to
f2c4c01
Compare
OrcaWin
force-pushed
the
OrcaWin/i18n-reactive-translate-settings-3
branch
from
November 8, 2026 00:45
9dd292c to
8ef3ca7
Compare
OrcaWin
changed the base branch from
OrcaWin/i18n-reactive-translate-settings-3
to
main
November 8, 2026 01:00
…debar (workspace cards, worktree list) Applies pnpm i18n:reactive-translate --helpers. Output is unchanged: t delegates to translate() and helpers default the threaded parameter.
OrcaWin
force-pushed
the
OrcaWin/i18n-reactive-translate-sidebar-1
branch
from
November 8, 2026 01:05
f2c4c01 to
3bfd72e
Compare
Contributor
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 11 minutes. View limit details
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. |
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
This is a batch of the reactive-translate rollout from #39353. It applies
pnpm i18n:reactive-translate --helpersto sidebar (workspace cards, worktree list):components/sidebar/workspace-cardcomponents/sidebar/worktree-listCodemod result: Rewrote 315 call(s), threaded 43 helper(s) into 41 render call site(s), in 82 file(s); left 2 for manual review. Total diff: 83 files, including helper files outside the directory that gain a defaulted
t/intlLocaleparameter.This is a mechanical rewrite and behavior is unchanged with React Compiler off:
tfromuseTranslate()delegates totranslate(), so every string is identical. Only its identity changes, and only on a language or resource change, when the tree already re-renders.t: Translate = translate), so callers that don't pass it are unchanged.useMemodeps gaintonly where they already include auseUiLanguageRevision()value.Left for manual work because the rewrite would push these files over the
max-linesbudget. They stay untouched until someone splits them:src/renderer/src/components/automations/use-external-automation-actions.tssrc/renderer/src/components/right-sidebar/hosted-review/folder-checks/parent-pr-checks-rows.tssrc/renderer/src/components/sidebar/workspace-card/activity/worktree-title-derived-agent-rows.tssrc/renderer/src/components/sidebar/worktree-list/rows/SectionHeader.tsxSkipped by the codemod (2 call sites, still counted by the ratchet):
The render-path-translate ratchet baseline drops to 7464.
Testing
pnpm tcORCA_CODE_QUALITY_BASE=origin/main pnpm check:changed(lint, ratchets, related unit tests)