Skip to content

Commit 706bb57

Browse files
committed
docs(CLAUDE.md): enhance docs from commit 7885857
- Remove "# NEW: ..." comments from source tree - Add new entries to reflect sidebar resizing
1 parent 7885857 commit 706bb57

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

CLAUDE.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ Gemini Desktop is a powerful, cross-platform desktop and web application that pr
2929
- **Security-first design**: Comprehensive command filtering and permission system
3030
- **Custom title bar**: Enhanced desktop experience with native window controls
3131
- **About dialog**: Integrated help and version information
32+
- **Resizable sidebar**: Interactive sidebar with drag-to-resize functionality and persistent width settings
3233
- **Cross-platform support**: Windows, macOS, and Linux compatibility
3334

3435
## Architecture
@@ -122,7 +123,7 @@ The project is organized as a Rust workspace with three main crates:
122123
- `RecentChats.tsx` - Session history sidebar
123124
- **`layout/`** - Application structure
124125
- `AppHeader.tsx` - Top navigation bar
125-
- `AppSidebar.tsx` - Navigation and project selection
126+
- `AppSidebar.tsx` - Navigation and project selection with resizable functionality
126127
- `CustomTitleBar.tsx` - Native window controls for desktop
127128
- `PageLayout.tsx` - Responsive layout management
128129
- **`mcp/`** - Model Context Protocol components
@@ -149,6 +150,7 @@ The project is organized as a Rust workspace with three main crates:
149150
- Complete design system with consistent theming
150151
- Accessible components with proper ARIA support
151152
- Dark/light mode toggle support
153+
- Enhanced sidebar component with resize handle and drag-to-resize functionality
152154

153155
#### Context and State Management
154156
- **`BackendContext.tsx`** - Primary communication layer
@@ -166,6 +168,7 @@ The project is organized as a Rust workspace with three main crates:
166168
- **`useConversationManager.ts`** - Conversation state management
167169
- **`useMessageHandler.ts`** - Message processing and display
168170
- **`useProcessManager.ts`** - Session lifecycle management
171+
- **`useResizable.ts`** - Sidebar resize functionality with mouse drag handling and localStorage persistence
169172
- **`useToolCallConfirmation.ts`** - User approval workflow
170173
- **`use-mobile.ts`** - Responsive design utilities
171174

@@ -780,15 +783,15 @@ gemini-desktop/
780783
│ │ ├── components/
781784
│ │ │ ├── branding/
782785
│ │ │ │ ├── DesktopText.tsx
783-
│ │ │ │ ├── GeminiIcon.tsx # NEW: Gemini brand icon
786+
│ │ │ │ ├── GeminiIcon.tsx
784787
│ │ │ │ ├── GeminiWordmark.tsx
785788
│ │ │ │ ├── PiebaldLogo.tsx
786-
│ │ │ │ ├── QwenIcon.tsx # NEW: Qwen brand icon
789+
│ │ │ │ ├── QwenIcon.tsx
787790
│ │ │ │ ├── QwenWordmark.tsx
788791
│ │ │ │ ├── SmartLogo.tsx
789792
│ │ │ │ └── SmartLogoCenter.tsx
790793
│ │ │ ├── common/
791-
│ │ │ │ ├── AboutDialog.tsx # NEW: About dialog
794+
│ │ │ │ ├── AboutDialog.tsx
792795
│ │ │ │ ├── CliWarnings.tsx
793796
│ │ │ │ ├── CodeBlock.tsx
794797
│ │ │ │ ├── DiffViewer.tsx
@@ -813,7 +816,7 @@ gemini-desktop/
813816
│ │ │ ├── layout/
814817
│ │ │ │ ├── AppHeader.tsx
815818
│ │ │ │ ├── AppSidebar.tsx
816-
│ │ │ │ ├── CustomTitleBar.tsx # NEW: Custom title bar
819+
│ │ │ │ ├── CustomTitleBar.tsx
817820
│ │ │ │ └── PageLayout.tsx
818821
│ │ │ ├── mcp/
819822
│ │ │ │ ├── AddMcpServerDialog.tsx
@@ -832,7 +835,7 @@ gemini-desktop/
832835
│ │ │ │ ├── ReadManyFilesRenderer.tsx
833836
│ │ │ │ ├── SearchRenderer.tsx
834837
│ │ │ │ └── WebToolRenderer.tsx
835-
│ │ │ ├── theme/ # NEW: Theme management
838+
│ │ │ ├── theme/
836839
│ │ │ │ ├── simple-theme-toggle.tsx
837840
│ │ │ │ └── theme-provider.tsx
838841
│ │ │ └── ui/
@@ -869,6 +872,7 @@ gemini-desktop/
869872
│ │ │ ├── useConversationManager.ts
870873
│ │ │ ├── useMessageHandler.ts
871874
│ │ │ ├── useProcessManager.ts
875+
│ │ │ ├── useResizable.ts
872876
│ │ │ └── useToolCallConfirmation.ts
873877
│ │ ├── index.css
874878
│ │ ├── lib/
@@ -893,7 +897,7 @@ gemini-desktop/
893897
│ │ │ ├── mcpValidation.ts
894898
│ │ │ ├── toolCallParser.ts
895899
│ │ │ ├── toolInputParser.ts
896-
│ │ │ └── wordDiff.ts # NEW: Word-level diff utilities
900+
│ │ │ └── wordDiff.ts
897901
│ │ └── vite-env.d.ts
898902
│ ├── tsconfig.json
899903
│ ├── tsconfig.node.json

0 commit comments

Comments
 (0)