refactor(shell): consolidate reusable layout helpers #135

Merged
barrettruth merged 1 commit from refactor/final-cleanup into main 2026-04-28 22:44:02 +00:00
barrettruth commented 2026-04-28 22:43:53 +00:00

Problem

The shell code carried repeated layout geometry, pane-base, resize, and toggle plumbing across multiple layout files, and the release helper still used a Bash-only lowercase expansion that kept the documented Bash floor looser than the implementation.

Solution

Move shared layout and ownership helpers into scripts/helpers.sh, route toggle handling through the central dispatcher, reuse the shared helpers from the master-stack, centered-master, and three-column layouts, replace the nightly SHA lowercasing with a Bash-3.2-compatible tr path, add coverage for mixed-case SHAs, and document Bash 3.2+ in the README.

## Problem The shell code carried repeated layout geometry, pane-base, resize, and toggle plumbing across multiple layout files, and the release helper still used a Bash-only lowercase expansion that kept the documented Bash floor looser than the implementation. ## Solution Move shared layout and ownership helpers into `scripts/helpers.sh`, route toggle handling through the central dispatcher, reuse the shared helpers from the master-stack, centered-master, and three-column layouts, replace the nightly SHA lowercasing with a Bash-3.2-compatible `tr` path, add coverage for mixed-case SHAs, and document Bash 3.2+ in the README.
Sign in to join this conversation.
No description provided.