mirror of
https://github.com/pd4d10/git-touch.git
synced 2026-04-30 19:37:35 -05:00
improvement: settings screen
This commit is contained in:
@@ -151,6 +151,7 @@ query GhUser($login: String!, $isViewer: Boolean!) {
|
||||
}
|
||||
}
|
||||
viewer @include(if: $isViewer) {
|
||||
id
|
||||
login
|
||||
avatarUrl
|
||||
url
|
||||
@@ -159,8 +160,8 @@ query GhUser($login: String!, $isViewer: Boolean!) {
|
||||
company
|
||||
location
|
||||
email
|
||||
websiteUrl
|
||||
createdAt
|
||||
websiteUrl
|
||||
starredRepositories {
|
||||
totalCount
|
||||
}
|
||||
@@ -170,9 +171,6 @@ query GhUser($login: String!, $isViewer: Boolean!) {
|
||||
following {
|
||||
totalCount
|
||||
}
|
||||
repositories {
|
||||
totalCount
|
||||
}
|
||||
contributionsCollection {
|
||||
contributionCalendar {
|
||||
weeks {
|
||||
@@ -182,5 +180,60 @@ query GhUser($login: String!, $isViewer: Boolean!) {
|
||||
}
|
||||
}
|
||||
}
|
||||
repositories(
|
||||
first: 6
|
||||
ownerAffiliations: OWNER
|
||||
orderBy: { field: STARGAZERS, direction: DESC }
|
||||
) {
|
||||
totalCount
|
||||
nodes {
|
||||
owner {
|
||||
login
|
||||
avatarUrl
|
||||
}
|
||||
name
|
||||
description
|
||||
isPrivate
|
||||
isFork
|
||||
stargazers {
|
||||
totalCount
|
||||
}
|
||||
forks {
|
||||
totalCount
|
||||
}
|
||||
primaryLanguage {
|
||||
color
|
||||
name
|
||||
}
|
||||
}
|
||||
}
|
||||
pinnedItems(first: 6) {
|
||||
totalCount # TODO: Add this for correct generated code
|
||||
nodes {
|
||||
__typename
|
||||
... on Repository {
|
||||
owner {
|
||||
login
|
||||
avatarUrl
|
||||
}
|
||||
name
|
||||
description
|
||||
isPrivate
|
||||
isFork
|
||||
stargazers {
|
||||
totalCount
|
||||
}
|
||||
forks {
|
||||
totalCount
|
||||
}
|
||||
primaryLanguage {
|
||||
color
|
||||
name
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
viewerCanFollow
|
||||
viewerIsFollowing
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user