Workspace Navigation & Sidebar Panels
Glyph's workspace layout follows a familiar VS Code architecture โ Activity Bar, Sidebar panels, tabbed editor pane, and integrated terminal dock. Built with React 19, Zustand state management, and Monaco Editor for a native desktop experience via Electron 35.
// File Structure
The Explorer panel renders a dynamic, recursive file tree with real-time updates via Chokidar. Files are opened by click, and the tree supports full CRUD through context menus.
// Sidebar
The Activity Bar on the left switches between five sidebar panels. Each panel is a self-contained feature with its own Zustand store and persistent state.
Full file tree with expand/collapse, context menus, inline rename, and drag-to-open. Navigate your entire workspace without leaving the editor.
Find in files across your entire workspace. Supports case sensitivity toggles, regex patterns, and file glob filters with highlighted matches.
Git integration built into the sidebar. View branch status, staged and unstaged files, stage/unstage/discard changes, and commit โ all inline.
View installed MCP engines and themes. Browse the marketplace preview, search for extensions, and manage your editor's capabilities.
Full preferences UI โ theme picker, editor font and tab size, word wrap, minimap, auto-save, terminal config. All settings persist to .dragon/settings.json.
// Editor Core
Professional editing powered by Monaco with custom DragonSource theming, reactive design tokens, and Electron-native window controls.
Full Monaco-powered editing with syntax highlighting, IntelliSense, bracket matching, and minimap.
Tabbed editor with drag reorder, pin tabs, dirty-state indicators, and tab overflow management.
Switch between DragonSource (orange/charcoal) and DigiFX (violet/navy) themes instantly โ no reload.
Language mode, cursor position, encoding, line ending, and workspace info at a glance.
โโงP launches a VS Code-style command palette for every action in the editor.
Bottom dock terminal with configurable shell, font size, and cursor style.