teknologi-umum / hacktoberfest

Code for hacktoberfest.teknologiumum.com
https://hacktoberfest.teknologiumum.com
Apache License 2.0
24 stars 13 forks source link

Show list of ongoing PRs that needs reviews #71

Open aldy505 opened 2 years ago

aldy505 commented 2 years ago

Because the reviewers can't catch up with the world right now.

Backend API endpoint is at: /pullrequest.

Sample output:

[
  {
    "number": 68,
    "html_url": "https://github.com/teknologi-umum/hacktoberfest/pull/68",
    "title": "fix: github app error",
    "state": "Closed",
    "mergeable_state": "Dirty",
    "locked": false,
    "user": {
      "login": "ii64",
      "avatar_url": "https://avatars.githubusercontent.com/u/26342994?v=4",
      "html_url": "https://github.com/ii64"
    },
    "created_at": "2022-10-14T07:21:49Z",
    "updated_at": "2022-10-14T07:24:34Z",
    "merged_at": "2022-10-14T07:24:24Z",
    "closed_at": "2022-10-14T07:24:24Z",
    "merged": true,
    "draft": false,
    "requested_reviewers": [
      {
        "login": "elianiva",
        "avatar_url": "https://avatars.githubusercontent.com/u/51877647?v=4",
        "html_url": "https://github.com/elianiva"
      }
    ],
    "author_association": "Unknown",
    "comments": 0,
    "review_comments": 0,
    "diff": {
      "additions": 11,
      "deletions": 15,
      "changed_files": 1
    }
  },
  {
    "number": 66,
    "html_url": "https://github.com/teknologi-umum/hacktoberfest/pull/66",
    "title": "fix(frontend): favicon",
    "state": "Closed",
    "mergeable_state": "Unknown",
    "locked": false,
    "user": {
      "login": "iamyuu",
      "avatar_url": "https://avatars.githubusercontent.com/u/45778229?v=4",
      "html_url": "https://github.com/iamyuu"
    },
    "created_at": "2022-10-12T15:23:00Z",
    "updated_at": "2022-10-12T18:12:42Z",
    "merged_at": "2022-10-12T15:55:04Z",
    "closed_at": "2022-10-12T15:55:04Z",
    "merged": true,
    "draft": false,
    "requested_reviewers": [],
    "author_association": "Contributor",
    "comments": 0,
    "review_comments": 0,
    "diff": {
      "additions": 5,
      "deletions": 7,
      "changed_files": 7
    }
  },
  {
    "number": 65,
    "html_url": "https://github.com/teknologi-umum/hacktoberfest/pull/65",
    "title": "feat(frontend): filter repositories that has no issue",
    "state": "Open",
    "mergeable_state": "Clean",
    "locked": false,
    "user": {
      "login": "up2dul",
      "avatar_url": "https://avatars.githubusercontent.com/u/36098718?v=4",
      "html_url": "https://github.com/up2dul"
    },
    "created_at": "2022-10-09T15:24:31Z",
    "updated_at": "2022-10-11T05:26:57Z",
    "merged_at": "-262144-01-01T00:00:00Z",
    "closed_at": "-262144-01-01T00:00:00Z",
    "merged": false,
    "draft": false,
    "requested_reviewers": [],
    "author_association": "Contributor",
    "comments": 0,
    "review_comments": 3,
    "diff": {
      "additions": 11,
      "deletions": 9,
      "changed_files": 1
    }
  },
  {
    "number": 10,
    "html_url": "https://github.com/teknologi-umum/captcha-lite/pull/10",
    "title": "Feat zerolog logger",
    "state": "Closed",
    "mergeable_state": "Unknown",
    "locked": false,
    "user": {
      "login": "falentio",
      "avatar_url": "https://avatars.githubusercontent.com/u/75155697?v=4",
      "html_url": "https://github.com/falentio"
    },
    "created_at": "2022-10-08T06:42:40Z",
    "updated_at": "2022-10-08T23:59:11Z",
    "merged_at": "2022-10-08T23:59:11Z",
    "closed_at": "2022-10-08T23:59:11Z",
    "merged": true,
    "draft": false,
    "requested_reviewers": [],
    "author_association": "Contributor",
    "comments": 1,
    "review_comments": 2,
    "diff": {
      "additions": 119,
      "deletions": 1,
      "changed_files": 5
    }
  },
  {
    "number": 120,
    "html_url": "https://github.com/teknologi-umum/blog/pull/120",
    "title": "feat(comps): add horizontal scroll to categories PostCard",
    "state": "Open",
    "mergeable_state": "Dirty",
    "locked": false,
    "user": {
      "login": "up2dul",
      "avatar_url": "https://avatars.githubusercontent.com/u/36098718?v=4",
      "html_url": "https://github.com/up2dul"
    },
    "created_at": "2022-10-04T10:23:25Z",
    "updated_at": "2022-10-08T02:29:37Z",
    "merged_at": "-262144-01-01T00:00:00Z",
    "closed_at": "-262144-01-01T00:00:00Z",
    "merged": false,
    "draft": false,
    "requested_reviewers": [
      {
        "login": "herlangga72",
        "avatar_url": "https://avatars.githubusercontent.com/u/44990885?v=4",
        "html_url": "https://github.com/herlangga72"
      },
      {
        "login": "elianiva",
        "avatar_url": "https://avatars.githubusercontent.com/u/51877647?v=4",
        "html_url": "https://github.com/elianiva"
      },
      {
        "login": "arnoldart",
        "avatar_url": "https://avatars.githubusercontent.com/u/57179477?v=4",
        "html_url": "https://github.com/arnoldart"
      }
    ],
    "author_association": "FirstTimeContributor",
    "comments": 1,
    "review_comments": 0,
    "diff": {
      "additions": 24,
      "deletions": 21,
      "changed_files": 1
    }
  },
  {
    "number": 119,
    "html_url": "https://github.com/teknologi-umum/blog/pull/119",
    "title": "fix(frontend) : resolve card",
    "state": "Open",
    "mergeable_state": "Clean",
    "locked": false,
    "user": {
      "login": "arnoldart",
      "avatar_url": "https://avatars.githubusercontent.com/u/57179477?v=4",
      "html_url": "https://github.com/arnoldart"
    },
    "created_at": "2022-10-03T14:59:04Z",
    "updated_at": "2022-10-06T03:23:47Z",
    "merged_at": "-262144-01-01T00:00:00Z",
    "closed_at": "-262144-01-01T00:00:00Z",
    "merged": false,
    "draft": false,
    "requested_reviewers": [
      {
        "login": "elianiva",
        "avatar_url": "https://avatars.githubusercontent.com/u/51877647?v=4",
        "html_url": "https://github.com/elianiva"
      }
    ],
    "author_association": "Contributor",
    "comments": 3,
    "review_comments": 0,
    "diff": {
      "additions": 16,
      "deletions": 3,
      "changed_files": 1
    }
  }
]
yhoungdev commented 2 years ago

i will like to work on this. but can you elaborate more ?

sanjaykumaryada commented 1 year ago

Hi @aldy505 i would like to work on this, can you assign this to me?

aldy505 commented 1 year ago

Hi @aldy505 i would like to work on this, can you assign this to me?

@sanjaykumaryada sure go ahead.