You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expand the platform-neutral command catalog beyond the initial 28 commands with the next tranche of grid layouts: fourths, three-fourths, sixths, and ninths.
Context
Rectangle ships roughly 108 calculation variants including fourths, three-fourths, sixths, ninths, twelfths, and sixteenths. panes currently covers halves, corners, thirds, two-thirds, and the maximize/center/move/resize families. Fourths and the coarser grids are the most commonly used of the remaining layouts and are pure geometry, so they extend panes-core without any platform work.
Scope
Add fourth commands: first/second/third/last fourth, plus first three-fourths, center three-fourths, and last three-fourths.
Add layout unit tests for each family, including portrait screens and gap interaction.
Implementation Notes
Generalize the existing third helper into a grid helper (columns x rows, offset, span) rather than adding one function per variant; Rectangle's file-per-class approach does not need to be mirrored.
Twelfths, sixteenths, and eighths can wait for a follow-up issue once these land and menu organization is settled.
Goal
Expand the platform-neutral command catalog beyond the initial 28 commands with the next tranche of grid layouts: fourths, three-fourths, sixths, and ninths.
Context
Rectangle ships roughly 108 calculation variants including fourths, three-fourths, sixths, ninths, twelfths, and sixteenths. panes currently covers halves, corners, thirds, two-thirds, and the maximize/center/move/resize families. Fourths and the coarser grids are the most commonly used of the remaining layouts and are pure geometry, so they extend
panes-corewithout any platform work.Scope
CommandCategoryvalues so the tray menu stays organized.Implementation Notes
thirdhelper into a grid helper (columns x rows, offset, span) rather than adding one function per variant; Rectangle's file-per-class approach does not need to be mirrored.first-fourth,top-left-ninth.Acceptance Criteria
Validation
cargo fmt --all -- --checkcargo check --workspacecargo clippy --workspace --all-targets -- -D warningscargo test --workspace