feat: implement GitHub repository dropdown selector with organization support (v0.2.2)#25
Merged
fanux merged 3 commits intoFullAgent:mainfrom Oct 23, 2025
Che-Zhu:feat/github-repo-dropdown
Merged
feat: implement GitHub repository dropdown selector with organization support (v0.2.2)#25fanux merged 3 commits intoFullAgent:mainfrom Che-Zhu:feat/github-repo-dropdown
fanux merged 3 commits intoFullAgent:mainfrom
Che-Zhu:feat/github-repo-dropdown
Conversation
- Replace manual text input with dropdown menu - Show all user-owned repositories from GitHub API - Add repository selection and disconnection functionality - Create new API endpoint for fetching user repositories - Update version to 0.2.0 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Add parallel GitHub API calls for user info, organizations, and repositories - Build accounts array with personal account and organizations - Filter repositories by selected account (personal or organization) - Auto-select personal account by default on component mount - Add account type indicator "(Org)" for organization accounts - Update UI to show two-tier dropdown system (account selector → repository selector) - Enhance empty states to show "No repositories found in [account]" - Maintain backward compatibility for users without organizations - Add comprehensive documentation with use case and changelog - Update GitHub service with listOrganizations() method 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Add /changelog and /usecase custom commands for documentation - Fix OAuth scope to include read:org for organization detection - Update documentation to reflect OAuth scope fix - Remove commit hashes from changelog format - Upgrade package version to v0.2.2 Fixes issue where organizations weren't detected despite user having access on GitHub. Users must re-authenticate to get new OAuth token with read:org scope. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
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
Implements a comprehensive GitHub repository dropdown selector that replaces manual repository name input with an intuitive two-tier dropdown system. Users can now browse and select from their personal and organization repositories through an elegant interface.
Fixes #11
Test plan
Implementation details
Features Added
read:orgscope for proper organization detectionTechnical Changes
GET /api/github/repositories- Fetches user accounts and repositories'read:user user:email repo'to'read:user user:email repo read:org'/changelogand/usecasecommands for future documentationFiles Changed
app/api/github/repositories/route.ts- New API endpointcomponents/github-repository-selector.tsx- Main UI componentlib/github.ts- Enhanced GitHub service with organization supportlib/auth.ts- Fixed OAuth scope for organization detectionapp/projects/[id]/github/page.tsx- Updated to use new componentpackage.json- Version bump to v0.2.2Breaking Changes
None. Fully backward compatible enhancement.
Migration Notes
read:orgscope🤖 Generated with Claude Code