* Initial implementation for external repositories
* Added setting
* Add basic welcome views
* Replaced "Always Open" with "Configure"
* Remove code duplication
* Polish based on feedback
* Language consistency
* Update notification severity
* Move away from the "external repository" terminology
* Refactor notification logic
* Saving my changes
* Further improvements
* Refactor parent repository notification
* Update message and fix edge case when setting is set to `never`
* Add a share menu
Fixes#146309
* Add vscod.dev command in github extension
* Make share menu proposed
* Add share submenu into editor context
* Add proposed to editor share menu
- This makes the body of the pull request non-empty when the commit message consists more than one line.
- The GitHub web client fills the body the same way, too, when you create a pull request.
- Some commit messages consist more than one line, like this one, which is giving more detail about the commit, and can be used as a shortcut to not write the same text when opening a pull request and on GitHub.
- Without these changes, the pull request title will be messed up if the commit message is similar to this.
Co-authored-by: João Moreno <joao.moreno@microsoft.com>
* Allow custom title in remote source picker
* Include forks in query search results
* Support `RemoteSource.detail`
* Allow showing quickpicks in `getRemoteSources`
* Allow custom placeholder and remote source icons
* Add ability to customize placeholder
* Register and show recently opened sources
* Allow custom remote url labels
* Add a separator label for remote sources
* Update git-base typings
* Make showing recent sources opt in
* Add concept of recent remote source to `RemoteSourceProvider` concept
* Recent sources should be sorted by timestamp
* Pass current query to `getRemoteSources`
* Fix applying query
* Add getPullRequestTemplates method to discover templates
Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
* Add method to quick pick for PR templates
Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
* Handle possible PR templates
Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
* Remove unnecessary return value assignment
Co-authored-by: João Moreno <mail@joaomoreno.com>
* Change comparison operands' order
Co-authored-by: João Moreno <mail@joaomoreno.com>
* Remove sorting template URIs in pickPullRequestTemplate
Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
* Sort template URIs before showing quick-pick list
Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
* Rename getPullRequestTemplates method to findPullRequestTemplates
Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
* Find Github PR templates in-parallel using readdir/stat
Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
* Export method for visibitliy in tests
Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
* Add tests for Github PR template detection
Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
* Add launcher configration to run Github tests
Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
* 💄
* Replace stat with readDirectory for OS native case sensitivity
Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
* Delete some files to avoid duplicate names on case insensitive envs
Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
* Exclude deleted files from test case expected result
Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
Co-authored-by: João Moreno <mail@joaomoreno.com>
Co-authored-by: João Moreno <joao.moreno@microsoft.com>