Retrieves pull request for a branch in Azure DevOps to show in Home#3999
Merged
ramin-t merged 0 commit into3977-azure-autolinksfrom Feb 3, 2025
Merged
Retrieves pull request for a branch in Azure DevOps to show in Home#3999ramin-t merged 0 commit into3977-azure-autolinksfrom
ramin-t merged 0 commit into3977-azure-autolinksfrom
Conversation
sergeibbb
added a commit
that referenced
this pull request
Jan 30, 2025
4f099c4 to
5fd960f
Compare
ramin-t
approved these changes
Jan 30, 2025
Contributor
ramin-t
left a comment
There was a problem hiding this comment.
Looks good to me. One comment but can address post-merge.
Comment on lines
+104
to
+123
| return new PullRequest( | ||
| provider, | ||
| { | ||
| id: pr.createdBy.id, | ||
| name: pr.createdBy.displayName, | ||
| avatarUrl: pr.createdBy.imageUrl, | ||
| url: pr.createdBy.url, | ||
| }, | ||
| pr.pullRequestId.toString(), | ||
| pr.pullRequestId.toString(), | ||
| pr.title, | ||
| getPullRequestUrl(options.baseUrl, owner, projectName, repoName, pr.pullRequestId), | ||
| { | ||
| owner: owner, | ||
| repo: repo, | ||
| }, | ||
| azurePullRequestStatusToState(pr.status), | ||
| new Date(pr.creationDate), | ||
| new Date(pr.creationDate), | ||
| ); |
Contributor
There was a problem hiding this comment.
In the near future it would be nice to abstract this part into a fromAzurePullRequest similar to our fromGitHubPullRequest function.
7e383a0 to
fabd51c
Compare
sergeibbb
added a commit
that referenced
this pull request
Jan 31, 2025
5fd960f to
c40c391
Compare
c40c391 to
a0a5820
Compare
ramin-t
pushed a commit
that referenced
this pull request
Feb 3, 2025
fabd51c to
16b4307
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
(#3977)
Description
✅ you can see associated issues and prs on Home
A PR on Home:

Enriched autolinks of PRs and issues on Home:

Checklist
Fixes $XXX -orCloses #XXX -prefix to auto-close the issue that your PR addresses