Skip to content

Enhancement: Investigate autocomplete for reviewer usernames #16

@Philipp0205

Description

@Philipp0205

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

  1. 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
  2. Performance Considerations:

    • Debouncing/throttling API calls as user types
    • Caching results to minimize API requests
    • Minimum character threshold before triggering search
  3. Implementation Approach:

    • SWT/JFace autocomplete widget options
    • Eclipse content assist patterns
    • Async fetching to avoid blocking UI
  4. 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

  • Research GitHub API endpoints for user/collaborator search
  • Research Bitbucket API endpoints for user search
  • Investigate SWT/Eclipse UI patterns for autocomplete
  • Prototype implementation
  • Consider API rate limiting implications

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions