Description
Investigate the feasibility of implementing autocomplete/suggestions for reviewers when the user starts typing a username in the reviewer field.
Proposed Enhancement
When a user begins typing in the reviewer field, fetch and display matching usernames to allow quick selection of reviewers.
Investigation Points
-
API Availability: Check if GitHub/Bitbucket APIs support searching for users/collaborators
- GitHub:
/repos/{owner}/{repo}/collaborators endpoint
- GitHub:
/search/users endpoint with repository context
- Bitbucket: User search capabilities
-
Performance Considerations:
- Debouncing/throttling API calls as user types
- Caching results to minimize API requests
- Minimum character threshold before triggering search
-
Implementation Approach:
- SWT/JFace autocomplete widget options
- Eclipse content assist patterns
- Async fetching to avoid blocking UI
-
Scope:
- Should it show only repository collaborators or all users?
- How to handle organizations/teams?
- Privacy and permission considerations
Benefits
- Improved user experience when adding reviewers
- Reduced typos in reviewer usernames
- Faster reviewer assignment workflow
Tasks
Description
Investigate the feasibility of implementing autocomplete/suggestions for reviewers when the user starts typing a username in the reviewer field.
Proposed Enhancement
When a user begins typing in the reviewer field, fetch and display matching usernames to allow quick selection of reviewers.
Investigation Points
API Availability: Check if GitHub/Bitbucket APIs support searching for users/collaborators
/repos/{owner}/{repo}/collaboratorsendpoint/search/usersendpoint with repository contextPerformance Considerations:
Implementation Approach:
Scope:
Benefits
Tasks