Skip to content
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

Expose rich repository pickers as API #141295

Closed
joyceerhl opened this issue Jan 24, 2022 · 0 comments
Closed

Expose rich repository pickers as API #141295

joyceerhl opened this issue Jan 24, 2022 · 0 comments
Assignees
Labels
feature-request Request for new features or functionality on-testplan
Milestone

Comments

@joyceerhl
Copy link
Collaborator

The following extensions contain rich pickers for working with git repositories:

  • GitHub Repositories
  • git-base (built-in)

The git-base extension exposes API allowing other extensions to contribute entries to its repository pickers. The GitHub Repositories extension does not yet expose such API.

export interface API {
registerRemoteSourceProvider(provider: RemoteSourceProvider): Disposable;
pickRemoteSource(options: PickRemoteSourceOptions): Promise<string | PickRemoteSourceResult | undefined>;
}

This issue tracks evaluating existing pickers across both extensions and making the rich pickers in GitHub Repositories available to other extensions, potentially by enhancing the pickers in git-base or by exposing extension API on the GitHub Repositories extension modeled after git-base API.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality on-testplan
Projects
None yet
Development

No branches or pull requests

1 participant