Repository navigation
Changes: point to the other source when one is empty, and wait for Git info to settle - #958
Merged
Merged
Conversation
This was referenced Nov 2, 2026
Closed
Merged
ivanfenenko
marked this pull request as ready for review
November 3, 2026 16:29
ivanfenenko
added a commit
that referenced
this pull request
Nov 3, 2026
Merges main with #958 (Changes points to the other source when one is empty). Its new text is keyed on both platforms: the "Git changes has N changed files." / "The last turn changed N files." plurals, the "Show %s" action, and one format that joins the empty detail and the hint, so translators control the order. Android holds the hint as UiText; iOS as OpenCodeText. Also keys the session list's Recent hint ("Needs a glance"), which was still a hard-coded constant on both platforms while its title was keyed. Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
Automated review: no finding that 2+ of 3 passes agreed on.
2 finding(s) from a single pass, not posted
ios/OpenCode Mobile/OpenCode Mobile/UI/Changes/ChangesViewModel.swift:363medium: iOS settle loop trusts a v2 adapter predicate Android rejects, so the settle fix can't save Git changes on iOS (glm-5.3-flash)scripts/scenario-harness/harness.mjs:222low: gitCommit automation step runs git in the harness process cwd when the project is unset (glm-5.3-flash)
opencode pr-review · passes: muse-spark-1.3-contributor, glm-5.3-flash, deepseek-v4.1-flash · $0.119 · 1 pass(es) stopped early
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
Two fixes to the Changes screen, on both platforms:
freshProjectoption and new Changes scenarios (scenarios-changes.mjs) for Last turn vs Working tree.Checks
ChangesViewModelTest,ChangesTests) for the hint and the settle retries.main; CI covers it.Evidence
Not captured yet: needs a harness run of the empty-source hint on both platforms.
Issue
No issue.
Risks / Follow-ups
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.