-
-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: connect repositories page to API data and pagination #405
Conversation
β Deploy Preview for oss-insights ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
β Deploy Preview for design-insights ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
e5bbc31
to
9f3545f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Compliance Checks
Thank you for your Pull Request! We have run several checks on this pull request in order to make sure it's suitable for merging into this project. The results are listed in the following section.
Watched Files
This pull request modifies specific files that require careful review by the maintainers.
Files Matched
- npm-shrinkwrap.json
- package.json
@pixelsbyeryc I'll need some guidance on how to add the images for the up/down arrows |
I think I can help on this one... On line 30 in the I think that will do π. |
components/molecules/PullRequestOverview/pull-request-overview.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All components seem to be getting data from the backend, as they should! β¨
I won't approve because I don't have knowledge to evaluate if everything's good, but otherwise, looks saucy to me π
added border to contributor avatars updated calculation for PRs merged
3662e82
to
e458e38
Compare
6b4ec1d
to
f98322e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Superb!! ππ
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, on the Pill file, we can change the text color from light-amber-11
to light-amber-10
, I think it'll look a bit less rough. π
If you want, I can open an issue on these two things so it doesn't stagnate your PR.
Looks good to me π
@pixelsbyeryc no problem. I tweaked the color and icon |
@brandonroberts sorry, I meant below the As for the bg, we can leave it as ...
{icon}
<div
className={`
${color === "green" ? "text-light-grass-11" : color === "yellow" ? "text-light-amber-10" : color === "red" ? "text-light-red-11" : "text-light-slate-11"}
font-medium text-sm leading-none`}>
{text}
</div>
</div> |
Ahh I see. Go ahead and put a follow-up issue in and I'll fix it after this gets merged |
Not a review but an observation. At first glance this list looks inconclusive, but all the 0 PR projects would suggest that those projects are not maintained or taking contributions. I am thinking that we should consider the sorting to not be based on stars, but instead based on last commit or activity. The most active projects will have the most data and despite the popularity of freeCodeCamp in stars, it doesn't belong on the top. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just had one data question here, #405 (comment).
Can you update that calculation to see if it is a tad bit more readable. I also opened a bug issue, not related to this work but something I noticed.
@brandonroberts @bdougie I think I'll need this PR merged in order to complete #409 ππ |
Merged! Will follow up with calculation and style fixes |
π This PR is included in version 1.7.0-beta.1 π The release is available on GitHub release Your semantic-release bot π¦π |
## [1.7.0](v1.6.0...v1.7.0) (2022-09-23) ### π¨ Styles * added hover state style to footer links ([#420](#420)) ([3aa5f17](3aa5f17)) * change text font and icon size to xs(12px) ([#401](#401)) ([741288e](741288e)) * refactor show us button style to match design ([#419](#419)) ([b6c21b1](b6c21b1)), closes [#408](#408) ### π Bug Fixes * add tooltip message on information icon hover ([#421](#421)) ([12ff851](12ff851)), closes [#366](#366) * adds brandon to top5 ([8bb56cb](8bb56cb)) * correct beta branch checking beta gitsense api ([2c6f576](2c6f576)) * redirect from onboarding if already complete with custom hook ([#388](#388)) ([8600c76](8600c76)), closes [#387](#387) * update PR overview calculation to use active PRs in last 30 days / total PRs ([#423](#423)) ([05b48ff](05b48ff)), closes [#418](#418) ### π Features * add privacy and license terms ([#422](#422)) ([0dcc161](0dcc161)), closes [#377](#377) * connect repositories page to API data and pagination ([#405](#405)) ([634de8e](634de8e)), closes [#320](#320) [#384](#384) * create mobile version of repo table ([#409](#409)) ([9355968](9355968)) ### π§βπ» Code Refactoring * check avatarURL for orange avatar background and update pill colors ([#424](#424)) ([c821cd5](c821cd5)), closes [#414](#414) [#416](#416) * Polish the Dashboard to match designs ([#427](#427)) ([f919c27](f919c27)) * Polish the Reports Page to match the design ([#425](#425)) ([87a2bdc](87a2bdc)) * Update text styles on Scatter Chart card ([#429](#429)) ([ab24703](ab24703))
π This PR is included in version 1.7.0 π The release is available on GitHub release Your semantic-release bot π¦π |
## [1.7.0-beta.1](open-sauced/app@v1.6.1-beta.3...v1.7.0-beta.1) (2022-09-22) ### π Features * connect repositories page to API data and pagination ([#405](open-sauced/app#405)) ([634de8e](open-sauced/app@634de8e)), closes [#320](open-sauced/app#320) [#384](open-sauced/app#384)
## [1.7.0](open-sauced/app@v1.6.0...v1.7.0) (2022-09-23) ### π¨ Styles * added hover state style to footer links ([#420](open-sauced/app#420)) ([3aa5f17](open-sauced/app@3aa5f17)) * change text font and icon size to xs(12px) ([#401](open-sauced/app#401)) ([741288e](open-sauced/app@741288e)) * refactor show us button style to match design ([#419](open-sauced/app#419)) ([b6c21b1](open-sauced/app@b6c21b1)), closes [#408](open-sauced/app#408) ### π Bug Fixes * add tooltip message on information icon hover ([#421](open-sauced/app#421)) ([12ff851](open-sauced/app@12ff851)), closes [#366](open-sauced/app#366) * adds brandon to top5 ([8bb56cb](open-sauced/app@8bb56cb)) * correct beta branch checking beta gitsense api ([2c6f576](open-sauced/app@2c6f576)) * redirect from onboarding if already complete with custom hook ([#388](open-sauced/app#388)) ([8600c76](open-sauced/app@8600c76)), closes [#387](open-sauced/app#387) * update PR overview calculation to use active PRs in last 30 days / total PRs ([#423](open-sauced/app#423)) ([05b48ff](open-sauced/app@05b48ff)), closes [#418](open-sauced/app#418) ### π Features * add privacy and license terms ([#422](open-sauced/app#422)) ([0dcc161](open-sauced/app@0dcc161)), closes [#377](open-sauced/app#377) * connect repositories page to API data and pagination ([#405](open-sauced/app#405)) ([634de8e](open-sauced/app@634de8e)), closes [#320](open-sauced/app#320) [#384](open-sauced/app#384) * create mobile version of repo table ([#409](open-sauced/app#409)) ([9355968](open-sauced/app@9355968)) ### π§βπ» Code Refactoring * check avatarURL for orange avatar background and update pill colors ([#424](open-sauced/app#424)) ([c821cd5](open-sauced/app@c821cd5)), closes [#414](open-sauced/app#414) [#416](open-sauced/app#416) * Polish the Dashboard to match designs ([#427](open-sauced/app#427)) ([f919c27](open-sauced/app@f919c27)) * Polish the Reports Page to match the design ([#425](open-sauced/app#425)) ([87a2bdc](open-sauced/app@87a2bdc)) * Update text styles on Scatter Chart card ([#429](open-sauced/app#429)) ([ab24703](open-sauced/app@ab24703))
What type of PR is this? (check all applicable)
Description
This PR connects the repositories page to more live data from the GS API.
Also connects pagination to the requested data
In Progress
Related Tickets & Documents
fixes #384
#320
Mobile & Desktop Screenshots/Recordings
Added tests?
Added to documentation?
[optional] Are there any post-deployment tasks we need to perform?
[optional] What gif best describes this PR or how it makes you feel?