Repository navigation
fix(tui): preserve workspace preview across child rails - #10946
lawrencecchen wants to merge 6 commits into
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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. Comment |
|
Superseded by PR #10969, which includes this child-rail persistence work in the unified preview stack. Closing this intermediate stack member to avoid duplicate app.rs merges. |
Summary
Keep a workspace preview active while focus moves from the workspace rail into the tabs or projection (agents) rail. Those child rails now continue to show the highlighted workspace. Moving to the machine rail or pane still cancels the preview.
Testing
rustfmt --edition 2024 --check cmux-tui/crates/cmux-tui/src/app.rsgit diff --checkworkspace_preview_survives_workspace_dependent_rail_navigationReview Trigger
Stacked on #10736.
Summary by cubic
Keeps the workspace preview active as focus moves between the workspace, tabs, and projection rails, so those child views keep following the highlighted workspace. Activating a tabs rail target now commits the preview; moving to the machine rail or pane still cancels it and restores the original active workspace.
Written for commit e062c7f. Summary will update on new commits.