-
Notifications
You must be signed in to change notification settings - Fork 29
frontend github link & RepoSelect fix #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughThis PR adds a GitHub star button component to the UI, reorganizes navigation elements by moving DocsButton and ThemeToggle into the UserMenu dropdown, enhances the searchRepositories API with configurable fullmatch and timeout parameters, refactors ChatArea to use an always-mounted pattern for improved DOM stability, and implements async repository location with fullmatch search capability in RepositorySelector. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant RepositorySelector
participant GitHubAPI as GitHub API
participant RepoList as Repo List
User->>RepositorySelector: Open dropdown / Task has git_repo
activate RepositorySelector
RepositorySelector->>RepoList: Search local repos for match
alt Repo found locally
RepoList-->>RepositorySelector: Return matched repo
else Repo not found
RepositorySelector->>RepositorySelector: Trigger fullmatch search
RepositorySelector->>GitHubAPI: searchRepositories(query, {fullmatch: true})
activate GitHubAPI
GitHubAPI-->>RepositorySelector: Return search results
deactivate GitHubAPI
RepositorySelector->>RepositorySelector: Update repo list from API
end
RepositorySelector-->>User: Render updated dropdown
deactivate RepositorySelector
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~22 minutes
Possibly related PRs
Poem
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (14)
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 |
…PATH Critical fixes for local development setup: 1. **Project root directory requirement**: - All operations must be run from project root (Wegent/), not executor subdirectory - Updated all path references and commands to reflect this requirement - Added prominent warning at the beginning of setup instructions 2. **PYTHONPATH configuration**: - Added mandatory PYTHONPATH setup: `export PYTHONPATH=$(pwd)` - Included in all startup instructions and quick start script - Added to troubleshooting section with specific error examples 3. **Updated quick start script**: - Changed from executor/ directory to project root - Auto-detects script location and navigates to project root - Sets PYTHONPATH before starting service - Corrected dependency installation path to executor/requirements.txt 4. **Enhanced troubleshooting**: - Added FAQ for PYTHONPATH not set (FAQ #5) - Added FAQ for running in wrong directory (FAQ #6) - Updated virtual environment FAQ with correct paths 5. **Improved clarity**: - Added warning boxes highlighting critical requirements - Updated all code examples to show correct directory context - Emphasized PYTHONPATH requirement throughout documentation These changes address module import errors that occur when PYTHONPATH is not properly configured or when running from the wrong directory.
Summary by CodeRabbit
Release Notes
New Features
Improvements
Chores