Repository navigation
Split pane tree equalization logic - #17145
Conversation
Greptile SummaryExtracts pane-tree traversal and split-size equalization into a dedicated module while preserving the existing
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains.
|
| Filename | Overview |
|---|---|
| src/renderer/src/lib/pane-manager/pane-tree-equalization.ts | Contains the extracted pane-child traversal and recursive split equalization logic without behavioral changes. |
| src/renderer/src/lib/pane-manager/pane-tree-ops.ts | Re-exports the extracted functions to preserve the existing public import contract. |
| config/max-lines-baseline.txt | Removes the shortened pane-tree operations module from the max-lines exception baseline. |
Reviews (3): Last reviewed commit: "Merge remote-tracking branch 'origin/mai..." | Re-trigger Greptile
…om-3-mobile-browser
…-bottom-4-prune-resolved
…-bottom-5-pane-tree-ops
…-pane-tree-ops # Conflicts: # config/max-lines-baseline.txt
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThe change moves pane-tree equalization helpers into a dedicated module. The module finds pane children, calculates same-direction descendant weights, and updates child ✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
📝 Generate docstrings
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
* Split speech session lifecycle * Split terminal output scheduler pipeline * Split mobile browser pane modules * Prune resolved max-lines suppressions * Split pane tree equalization logic * Fix F3-speech for stablyai#17123 * Fix F1-cycle for stablyai#17131
Stacked on #17142.
Summary
pane-tree-equalization.tspane-tree-opsexports stablepane-tree-ops.tsto 297 physical lines and remove its max-lines suppressionTesting
pnpm test src/renderer/src/lib/pane-manager/pane-tree-ops.test.ts src/renderer/src/lib/pane-manager/pane-tree-reparent-frame.test.ts src/renderer/src/lib/pane-manager/pane-drag-reorder.test.ts src/renderer/src/lib/pane-manager/pane-split-close.test.tspnpm tcpnpm run check:code-quality:changedpnpm check:max-lines-ratchetpnpm exec playwright test tests/e2e/terminal-pane-layout-resize.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1 --grep "shows a pane divider after splitting|closing a split pane removes it"