Skip to content

Show status of a change request #4

@jakewtaylor

Description

@jakewtaylor

Try to show the user that there have been changes on a PR they requested changes on.

This gql should help

{
  repository(owner: "teampickr", name: "wfm") {
    pullRequest(number: 9) {
      reviewThreads(last: 100) {
        nodes {
          id
          isResolved
          comments(last: 100) {
            nodes {
              outdated
              body
            }
          }
        }
      }
      reviews(last: 100) {
        nodes {
          id
          createdAt
          state
          commit {
            oid
            authoredDate
          }
          author {
            login
            avatarUrl
          }
        }
      }
    }
  }
}

An unreviewed change has been made if isResolved is false, and there are any comments where outdated is true.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions