Conversation
…le browser Bug fixes: - Fix double CORS proxy: http handler no longer prepends proxy URL since isomorphic-git's corsProxy option already does this (caused 403 errors) - Fix redrawInput to handle line wrapping: uses \x1b[J (clear to end of screen) and tracks cursor line position instead of single-line \x1b[2K - Fix left/right arrow keys to use redrawInput for correct wrapping - Fix mobile sidebar: use !important to override base display:flex rule - Remove terminal prints from UI button handlers (refresh, cred save) to prevent interference with command line input New features: - File browser in sidebar: shows current directory files, click folders to navigate, click files to edit - File editor modal: edit command (also vi/vim/nano aliases) opens a textarea editor with save support and tab key insertion - browse command: shortcut to open GitHub repo browser https://claude.ai/code/session_018MffwgAzpWYMNRHB6FB41F
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThis pull request introduces in-app file editing and browsing functionality. New shell commands (edit/nano/vi/vim/browse) are wired to editor and repository browser UI overlays. The HTML adds a file list panel and editor modal; JavaScript implements file tracking, cursor positioning for multi-line input, editor state management, and command dispatch handlers. Changes
Sequence DiagramsequenceDiagram
actor User
participant CommandProcessor as Command Processor
participant Editor as Editor UI
participant FileSystem as File System
User->>CommandProcessor: Enter "edit filename"
CommandProcessor->>Editor: openEditor(filePath)
Editor->>FileSystem: Read file contents
FileSystem-->>Editor: File data
Editor->>Editor: Display editor overlay with content
User->>Editor: Edit text + Save
Editor->>FileSystem: Write updated content
FileSystem-->>Editor: Confirmation
Editor->>Editor: Close overlay / Update sidebar
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Poem
✨ Finishing Touches
🧪 Generate unit tests (beta)
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 |
Summary by CodeRabbit
Release Notes
New Features
editandbrowsecommands for quick file and repository accessImprovements