Skip to content

Commit 74eee8f

Browse files
committed
feat: migrate Tracker to GraphQL search, add missing fields, better errors; contributors repo resolution; clipboard await; router cleanup
1 parent 60a8c64 commit 74eee8f

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

src/hooks/useGitHubData.ts

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,29 @@ export const useGitHubData = (getOctokit: () => any) => {
1414
query ($queryString: String!, $first: Int!, $after: String) {
1515
search(query: $queryString, type: ISSUE, first: $first, after: $after) {
1616
issueCount
17+
pageInfo {
18+
hasNextPage
19+
endCursor
20+
}
1721
edges {
1822
cursor
1923
node {
2024
... on Issue {
21-
id
25+
databaseId
2226
title
2327
url
2428
createdAt
29+
state
30+
repository { url }
2531
}
2632
... on PullRequest {
27-
id
33+
databaseId
2834
title
2935
url
3036
createdAt
37+
state
38+
mergedAt
39+
repository { url }
3140
}
3241
}
3342
}

0 commit comments

Comments
 (0)