Skip to content

refactor(pickers): unify adaptive column layout#102

Merged
barrettruth merged 2 commits intomainfrom
refactor/adaptive-picker-layouts
Apr 8, 2026
Merged

refactor(pickers): unify adaptive column layout#102
barrettruth merged 2 commits intomainfrom
refactor/adaptive-picker-layouts

Conversation

@barrettruth
Copy link
Copy Markdown
Owner

Summary

  • add a shared adaptive layout planner that measures list content and budgets against the effective picker width
  • migrate forge-backed and local git pickers onto the shared planner so columns compact and drop consistently in narrow layouts
  • cover the new planner and list formatter behavior in specs, and document display.widths as adaptive starting widths

Test plan

  • nix develop .#ci --command busted
  • ./scripts/ci.sh from a clean temporary repo copy without the local untracked notes/ file

Replace the per-picker width heuristics with a shared planner that measures list content, budgets against the real picker width, and compacts or hides lower-priority columns in narrow layouts. This makes the local git pickers and forge-backed pickers behave consistently without letting outliers define the whole table.
Simplify equivalent planner branches so the CI lint job sees the same clean result as the local clean-copy verification.
@barrettruth barrettruth merged commit b7235b4 into main Apr 8, 2026
8 checks passed
@barrettruth barrettruth deleted the refactor/adaptive-picker-layouts branch April 8, 2026 04:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant