feat: add kitty-inspired layout system with 7 layout modes#10
Merged
Conversation
- Stack: Single pane view with tab switching - Tall: Full-height main + stacked side panes - Fat: Full-width main + tiled bottom panes - Grid: Balanced grid arrangement - Splits: Manual recursive split layout (default) - Horizontal: All panes side by side - Vertical: All panes stacked vertically Includes: - Layout engine (src/layouts/kittyLayouts.ts) with algorithms for each mode - LayoutSelector dropdown in TopBar with config controls (bias, fullSize, mirrored) - Ctrl+Shift+L keyboard shortcut to cycle through layouts - Stack mode with pane tab switching - kitty.conf configuration file reference - docs/KITTY_LAYOUTS.md documentation Co-Authored-By: Thuong Huynh <admin@huynhthuong.online>
Author
Original prompt from Thuong
|
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Huynhthuongg
approved these changes
Apr 29, 2026
Member
Author
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.

Summary
Adds a complete kitty terminal emulator-inspired layout system to the Workspace IDE. This introduces 7 layout modes that control how panes are arranged within a workspace window:
What's included:
src/layouts/kittyLayouts.ts) — Algorithms that convert a flat list of panes into the appropriatePaneSplittree for each layout modeCtrl+Shift+Lcycles through enabled layoutskitty.conf— Configuration file reference documenting all layout options and shortcutsdocs/KITTY_LAYOUTS.md— Full documentation covering all layouts, options, architecture, and typesFiles changed:
src/types/workspace.ts— AddedKittyLayoutType,KittyLayoutConfig, layout labels and ordersrc/layouts/kittyLayouts.ts— New layout engine with build functions for each layoutsrc/stores/workspaceStore.ts— Added layout state,setKittyLayout,updateKittyLayoutConfig,cycleLayoutactionssrc/components/layout/LayoutSelector.tsx— New dropdown componentsrc/components/layout/WorkspaceLayout.tsx— Stack mode supportsrc/components/layout/TopBar.tsx— Integrated LayoutSelectorsrc/App.tsx— Added Ctrl+Shift+L shortcutsrc/index.css— Styles for layout selector and stack pane tabskitty.conf— Configuration reference filedocs/KITTY_LAYOUTS.md— Layout documentationReview & Testing Checklist for Human
Ctrl+Shift+Lcycles through layouts correctlyNotes
kitty.conffile is a reference configuration — it documents the layout options but is not parsed at runtime (the IDE uses the Zustand store directly)Link to Devin session: https://app.devin.ai/sessions/d432aed97ef54beb8e0512e2af2eaec2
Requested by: @Huynhthuongg