This repository has been archived by the owner on Jun 21, 2023. It is now read-only.
Allow selection of fork/parent pull requests. #1021
Merged
Merged
Changes from 17 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
0d59eef
Optionally show PRs for forked repo.
grokys bb42210
Recreate collection when switching to/from fork.
grokys dd8d37f
Display correct PR in PR details view.
grokys 4890567
Change how we determine if PR is from fork.
grokys a39ffe3
Use correct fork for inline comments.
grokys d242bd1
Make fork selection a dropdown link.
grokys 0102285
Fix failing tests.
grokys 8cbeacd
Merge branch 'master' into fixes/863-fork-pull-requests
grokys 19663bc
Merge branch 'feature/cache-versioning' into fixes/863-fork-pull-requ…
grokys 64ad14b
Use new config key for PR owner/number.
grokys 7d31743
Harden parsing of PR owner/number.
grokys 00fdbd5
Merge remote-tracking branch 'origin/master' into fixes/863-fork-pull…
grokys 63fe9b4
Fixed failing tests.
grokys ddcae61
Merge branch 'master' into fixes/863-fork-pull-requests
grokys 287ca67
Merge branch 'master' into fixes/863-fork-pull-requests
grokys fd4f72c
GetPullRequestMergeBase before GetFileContent
jcansdale 1fbc6f7
Make GetPullRequestMergeBase fetch from correct repo URLs
jcansdale 3d0eab0
Made GitClientTests tests pass
jcansdale c563a47
Include DesignTimeStyleHelper in solution build
jcansdale fee9231
Remove dependency on `refs/pull/PR/head` remote refs
jcansdale e56cfa2
Always fetch PR base/head using https
jcansdale 903ef04
Use `origin` remote when possible
jcansdale 7d04482
Add xmldoc comment for fetch from URI method
jcansdale 4ff299a
Merge remote-tracking branch 'origin/master' into fixes/863-fork-pull…
grokys 4aec576
Set RemoteRepository in Load.
grokys b7f3803
Merge branch 'master' into fixes/863-fork-pull-requests
grokys 82bf5ce
Merge branch 'master' into fixes/863-fork-pull-requests
grokys File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
using System; | ||
using GitHub.ViewModels; | ||
|
||
namespace GitHub.Models | ||
{ | ||
/// <summary> | ||
/// Passes arguments to a <see cref="PullRequestDetailViewModel"/> | ||
/// </summary> | ||
public class PullRequestDetailArgument | ||
{ | ||
/// <summary> | ||
/// Gets or sets the repository containing the pull request. | ||
/// </summary> | ||
public IRemoteRepositoryModel Repository { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the number of the pull request. | ||
/// </summary> | ||
public int Number { get; set; } | ||
} | ||
} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I need to fix this.