dlvhdr / gh-dash

A beautiful CLI dashboard for GitHub 🚀
https://dlvhdr.github.io/gh-dash
MIT License
6.77k stars 191 forks source link

GraphQL: Field 'startLine' doesn't exist on type 'PullRequestReviewComment' [BUG] #376

Open altyaper opened 1 month ago

altyaper commented 1 month ago

Describe the bug I'm not 100% if this is a bug, but I've install gh correctly, but when I installed the extension and then run gh dash it loads the UI for 1s an then the next PR is thrown:

2024/05/28 11:34:07 ERRO Task finished with error id="fetching_prs_2_2024-05-28 11:34:06.475409 -0700 PDT m=+0.120038335" err="GraphQL: Field 'startLine' doesn't exist on type 'PullRequestReviewComment' (query SearchPullRequests.search.nodes.... on PullRequest.reviewThreads.nodes.comments.nodes.startLine), Field 'line' doesn't exist on type 'PullRequestReviewComment' (query SearchPullRequests.search.nodes.... on PullRequest.reviewThreads.nodes.comments.nodes.line)"
2024/05/28 11:34:07 ERRO Task finished with error id="fetching_prs_3_2024-05-28 11:34:06.475434 -0700 PDT m=+0.120063918" err="GraphQL: Field 'startLine' doesn't exist on type 'PullRequestReviewComment' (query SearchPullRequests.search.nodes.... on PullRequest.reviewThreads.nodes.comments.nodes.startLine), Field 'line' doesn't exist on type 'PullRequestReviewComment' (query SearchPullRequests.search.nodes.... on PullRequest.reviewThreads.nodes.comments.nodes.line)"
2024/05/28 11:34:07 ERRO Task finished with error id="fetching_prs_1_2024-05-28 11:34:06.475109 -0700 PDT m=+0.119738585" err="GraphQL: Field 'startLine' doesn't exist on type 'PullRequestReviewComment' (query SearchPullRequests.search.nodes.... on PullRequest.reviewThreads.nodes.comments.nodes.startLine), Field 'line' doesn't exist on type 'PullRequestReviewComment' (query SearchPullRequests.search.nodes.... on PullRequest.reviewThreads.nodes.comments.nodes.line)"

To Reproduce Steps to reproduce the behavior:

  1. Go to your terminal
  2. Run gh dash
  3. See error

Expected behavior I would like to see my PR's in the dash UI, as shown in the Readme of this repo

Screenshots image

Desktop (please complete the following information):