Skip to content

fix(ui): preserve panel size after layout changes#6

Merged
alsi-lawr merged 1 commit into
masterfrom
fix/issue-5-panel-resize
May 31, 2026
Merged

fix(ui): preserve panel size after layout changes#6
alsi-lawr merged 1 commit into
masterfrom
fix/issue-5-panel-resize

Conversation

@alsi-lawr

Copy link
Copy Markdown
Owner

Summary

Fixes agent panel sizing after external Neovim layout changes, including opening files from nvim-tree.lua.

The panel previously applied its configured width or height only when first opened. File explorers and other window operations can rebalance splits afterward, leaving the panel unexpectedly expanded or shrunk.

Closes #5.

Changes

  • Reapply configured panel width/height after window layout events.
  • Reapply panel-local window options during layout reconciliation.
  • Add regression coverage for externally resized side panels.

Validation

  • Focused UI spec
  • nix run nixpkgs#stylua -- --check lua tests
  • luacheck lua tests
  • ./run_tests.sh

@alsi-lawr
alsi-lawr merged commit fe3f684 into master May 31, 2026
6 checks passed
@alsi-lawr
alsi-lawr deleted the fix/issue-5-panel-resize branch June 1, 2026 14:26
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.

Bug: Preserve panel size after external layout changes

1 participant