Repository navigation
#359 Changes and Terminals split views - #642
Merged
Merged
Conversation
On a window wide enough for two 500pt columns, Changes and Terminals use OpenCodeSplitPane instead of pushing. Opening Changes from a chat collapses the Home sidebar for that visit and restores it on pop.
Collaborator
Author
|
@cursor review |
ivanfenenko
marked this pull request as ready for review
October 11, 2026 12:01
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 3 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 7ae1f12. Configure here.
Remount the split file viewer when the path changes, drop the split selection when handing a file to the stacked route, and clear the Changes overlay on home reset.
6 tasks
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
OpenCodeSplitPanehandle.Checks
:app:compileDebugKotlinsucceeded.OpenCodeSplitPaneLayoutTestandSplitPanePreferencesCodecTestpassed.OpenCodeSplitPaneLayoutTestsandSplitPanePreferencesTestspassed (21 tests) on the iPhone 17 Pro simulator. The app target compiled as part of that run.Issue
Risks / Follow-ups
Need help on this PR? Tag
@codesmithwith what you need. Autofix is disabled.Note
Medium Risk
Touches core navigation and split-pane layout on both platforms, including new nested state when opening Changes from Home split chat; behavior changes at wide vs narrow breakpoints but phones keep push navigation.
Overview
Adds content split panes on wide windows (≥1001pt/dp so each column can stay at least 500): Changes shows the file list beside the diff, and Terminals shows the catalog beside a live shell, with list selection highlighting and shared resize handle behavior.
Extends
OpenCodeSplitPanewith per-screen bounds (sidebar vs content metrics), persisted widths for.changes/.terminals, and nesting so a nested content split temporarily collapses the Home sidebar without writing that collapse to preferences.On Home split layout, opening review changes from embedded session chat stays in the trailing pane via
nestedChanges(overlay + back handling) instead of pushing aChangesroute; narrowing the window still hands off to stacked navigation.Android and iOS are updated in parallel, with layout/preference unit tests for content bounds and stored widths above the old 480 sidebar cap.
Reviewed by Cursor Bugbot for commit 7ae1f12. Bugbot is set up for automated code reviews on this repo. Configure here.