refactor: simplify and reorganize panel components#138
Merged
jonathanlab merged 4 commits intomainfrom Nov 19, 2025
Merged
Conversation
- Add Vitest configuration with jsdom environment - Configure TypeScript for test files - Create test setup with React Testing Library - Add test fixtures for panel testing - Add test helpers and utilities - Add Vitest dependencies (testing-library, vitest, jsdom)
- Create CodeMirrorEditor component with syntax highlighting - Add CodeEditorPanel that loads files from repository - Add IPC handler to read repository files securely - Add CodeMirror dependencies (state, view) - Update gitignore
…tore - Create centralized panelLayoutStore managing layouts for multiple tasks - Add comprehensive unit tests - Extract panel manipulation logic into helpers - Add constants for default panel IDs and sizes - Enhance panelTree utilities for tree manipulation
- Extract GroupNodeRenderer and LeafNodeRenderer from PanelLayout - Add usePanelLayoutHooks for panel interactions - Simplify PanelLayout through component extraction - Remove DraggablePanel component - Update panel component exports
This was referenced Nov 18, 2025
Contributor
Author
This was referenced Nov 18, 2025
lucasheriques
approved these changes
Nov 19, 2025
Contributor
lucasheriques
left a comment
There was a problem hiding this comment.
not related to the PR, but one think i'd love is for us to persist the width in the panel
every time i was opening Array i was always resizing the panels
Contributor
Author
yup layouts should also now be properly persisting now per task |
Contributor
Author
Merge activity
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

PanelLayout was getting way too complex, so we split it up into some more reasonable parts.