Repository navigation
Show branch and working-tree changes on a Session Chat pill - #317
Merged
Merged
Conversation
Show the current branch and uncommitted working-tree changes under the Session Chat header on iOS and Android. New sessions start with the file list expanded when the tree is dirty; active sessions start collapsed. The strip refetches after each turn and on vcs.branch.updated (v1). - Add VcsFileStatus domain model and getVcsStatus through V1 (/vcs/status) and V2 (/api/vcs/status) remotes behind the session domain adapter. - Add OpenCodeRepoStrip design-system component with collapsed, expanded and clean states, gallery entries and previews. - Add SessionChatRepoStrip screen-model region and wire it into the Session Chat view model and screen on both platforms. - Cover formatters, region defaults, toggle persistence, turn-completion refetch, branch events and 404 fallbacks with unit tests. Co-Authored-By: Claude Fable 5.1 <[email protected]>
ivanfenenko
force-pushed
the
feature/session-repo-strip
branch
from
September 27, 2026 13:08
4f90cf6 to
bfab0d8
Compare
OPE-192 Live-update the session branch from v1 VCS events
When the git branch changes on a v1 server, Session Chat / Changes should show the new branch without a manual refresh. TUI v1 patches branch from ParentOPE-184 — Show remaining live events in Session Chat What to buildA live branch change updates the branch chrome the product already shows (Changes / session VCS). Reconnect still reseeds from REST. Both platforms. Acceptance criteria
Shipped by the Session Chat repo strip in opencode-mobile/opencode-mobile#317. The strip refreshes on Blocked byNone — can start immediately. |
This was referenced Oct 11, 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.
Summary
Session Chat shows the current branch and working-tree line counts in one floating pill, on iOS and Android. The header repo strip and the last-turn review pill are gone.
+Nand−Nwhen those counts are above zero. No file list on the session.Test plan
SessionBranchPillVisibilityTest,SessionChatRepoStripTest,ReviewChangesPillVisibilityTestSessionChatBranchPillTests,SessionBranchPillLabelTests,SessionChatRepoStripTests