Repository navigation
#886 Localisation: Session Chat timeline and tool text - #969
Closed
ivanfenenko wants to merge 1 commit into
Closed
ivanfenenko wants to merge 1 commit into
ivanfenenko wants to merge 1 commit into
Conversation
ivanfenenko
force-pushed
the
feature/886-l10n-timeline
branch
from
November 2, 2026 23:16
809a67d to
9eca558
Compare
ivanfenenko
changed the base branch from
feature/886-l10n-settings
to
feature/886-l10n-changes
November 2, 2026 23:16
ivanfenenko
marked this pull request as ready for review
November 3, 2026 15:59
Merged
Collaborator
Author
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
Stage 2 extraction slice for #886 (Localisation): Session Chat timeline, tool card and activity text now comes from the string files on both platforms. Part of an unmerged stack: #933 → #952 → … → #957 → this pull request. Not compiled yet: verification happens once for the whole stack.
tool.*,timeline.*andsession_chat.*, in one block per file. No newcommon.*keys.session_chat_sheet.activity.tools_so_far,session_chat_sheet.activity.stopped,timeline.failure.copy,timeline.step.no_commentary,timeline.tool_result.files_*(now used on Android too) andfeedback.dictation.microphone_off.timeline.list_separator/timeline.list_commapatterns instead of concatenation.UiText. Server content (tool names, paths, commands, agent and model names, output, server errors) isUiText.verbatim. The Session Chat snackbar,actionErrorMessage/actionSuccessMessage,syncingIndicatorLabeland the shellstopErrorareUiText. The tool group route savesUiTextthrough a newUiTextSerializer.OpenCodeTextis main-actor isolated, and the projector builds blocks off the main actor. So timeline models hold a new nonisolatedTimelineText(.localized(LocalizedStringResource)/.verbatim(String), with.resolvedand a main-actor.openCode). Snackbar and shell copy that is stillStringusesString(localized:defaultValue:).Checks
node scripts/check-string-keys.mjs: pass (848 shared keys).xmllint --nooutonstrings.xmlandpython3 -m json.toolon the catalog: pass. Catalog formatting matches what Xcode writes (sorted, byte-identical round trip).xcrun swiftc -parseon every changed Swift file, tests included: pass.node scripts/check-hardcoded-text.mjs: total 77 → 52. What remains in scope is listed under Risks..english(), iOS through.resolvedor a newenglish(_:)test helper. Fixtures use verbatim text. No assertion was dropped.Evidence
Verified once for the whole stack.
Issue
#886
Risks / Follow-ups
NavigationKeys.SessionToolGroupuses type-use@Serializable(with = UiTextSerializer::class)on nullableUiText?fields.@SerializableToolResultPresentationnow has getter-onlyUiTextproperties.toOpenCodeSnackbarMessage()is now@Composable.onSendFailednow carriesUiText. App text goes to the snackbar; server errors stay the timeline error.TimelineTextequality relies onLocalizedStringResourcebeingEquatable..app(…)/.verbatim(…)members in ternaries andifexpressions, inSessionChatTimelineBlocks.swiftandToolResultPresentation.swift.String(OpenCodeToolCallCard,OpenCodeToolChip,OpenCodeStepRail,OpenCodeActivityCard,OpenCodeTimelineNoticeon both platforms). Call sites resolve text right before passing it in. When the design-system slice switches them to localisable text, those call sites should pass the text through instead.constonSessionCompactChrome.STATUS_LABEL, because session status labels (and "Idle", "Thinking") are plain strings end to end in the session status chrome. iOS resolves it from the catalog.SessionChatView(10 findings): these come from other feature models on both platforms: the attachment drop summary, the composer model notice, the side-question notice, the rename error, and the Move to worktree menu, sheet and rows.Stringare shown verbatim (MCP load error, branch copied, chip-timeline notices, composer and worktree notices).timeline.activity.waiting_for_you,tool.unknown.*,timeline.step.tool_named,session_chat.todos.progress.timeline.notice.accessibility.gitleaksis not installed locally; the Secret Scan workflow covers it.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.