Repository navigation
Tiled layout: ⌃⌥[ and ⌃⌥] add a window to a tab group - #23
Merged
Merged
Conversation
A window alone in its tile joins the tile on that side as a focused tab, making that tile tabbed so it stays one tile. A tab of a multi-window column is expelled into a new tile on that side, as in the scrolling layout. With no neighbour on that side nothing changes.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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
In the Tiled layout, ⌃⌥[ and ⌃⌥] now add a window to a tab group, as they do in the scrolling layout. Previously they did nothing while tiled.
The neighbour is the geometric one that focus and move already use (
TiledLayout.neighbour), so it matches what the user sees on screen. Drag-to-join (DropPlan .join) is untouched.Zoom follows the window as it does for move: a zoomed window that joins or is expelled stays zoomed.
Changes
Strip.joinColumn(at:): moves the focused column's lone window into another column as its active tab and marks that column tabbed.Workspace: tiledconsumeOrExpelLeft/Rightroute throughconsumeOrExpelTile.testConsumeAndExpelDoNothingWhileTiledwithtestConsumeDoesNothingWithoutANeighbourOnThatSide; added tiled join-left, join-into-existing-tab-group, and expel-left/right tests toTabTests.No new user-facing strings. No version, changelog, or String Catalog changes.
Testing
xcodebuild … test: 249 tests, 0 failures, TEST SUCCEEDED.TEST_HOST= BUNDLE_LOADER=to run it standalone and avoid launching the app. No live UI test was run.