feat(algorithm): add grid #23
No reviewers
Labels
No labels
breaking-change
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
skip-release-notes
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/tmux-mosaic!23
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/grid-clean"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
gridwas still missing, even though the shared helper refactor now onmainmade it straightforward to add without copying the old toggle and relayout boilerplate. Direct CLI use of unsupported operations on no-master layouts also had no visible message path when no tmux client was attached.Solution
Add
scripts/algorithms/grid.shon top of the shared helper layer using tmux's nativetiledlayout, documentgridin the README, and add integration coverage for both the tiled 2x2 geometry and the missing-promotemessage. Route user-facing messages through a sharedmosaic_show_messagehelper so they still surface in direct CLI use when there is no attached client.Verified locally with
direnv exec /home/barrett/dev/tmux-mosaic just --justfile /tmp/tmux-mosaic/6-clean/justfile --working-directory /tmp/tmux-mosaic/6-clean ciand the matchingbuildrecipe.Closes #6.