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

Add URI scheme and domain to issue url #48

Merged
merged 2 commits into from
Sep 5, 2024

Conversation

boazreicher
Copy link
Collaborator

The link to the issue (as the group title for comments) is incorrect. Instead of having the full URL, it has the structure /<ORG>/<REPO>/issues/<ISSUE_NUMBER>. Clicking it (at least in Arc) results in a 404.

@@ -48,7 +48,7 @@ const handleIssueGroups = (allIssuesCreated: QueryGroup[], allIssueComments: Que
// make sure that comment belongs to a PR group
if (!finalIssues.secondary[issueUrl]) {
finalIssues.secondary[issueUrl] = {
groupTitle: `Left comments on issue: [${comment.issue.title}](${issueUrl}) in ${repoGroup.repo}`,
groupTitle: `Left comments on issue: [${comment.issue.title}](https://github.com${issueUrl}) in ${repoGroup.repo}`,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks ok 👍 We just need some updated tests please :)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a test for this

Copy link
Owner

@inkblotty inkblotty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@inkblotty inkblotty merged commit 8995d3f into main Sep 5, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants