-
Notifications
You must be signed in to change notification settings - Fork 1
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
Charter Africa Design Update #674
Conversation
Signed-off-by: Kipruto <[email protected]>
Signed-off-by: Kipruto <[email protected]>
Signed-off-by: Kipruto <[email protected]>
Signed-off-by: Kipruto <[email protected]>
Signed-off-by: Kipruto <[email protected]>
Didn't we use to have dev urls to see how the PR looks live @kelvinkipruto? |
@kilemensi That was only for |
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.
👍🏽
- With these additional API calls, are we still within the limits?
- Has the dev DB been setup correctly so that if this PR has been merged, we can ask for review on dev site before deploying to prod?
apps/charterafrica/src/assets/icons/Property 1=icons8-discord 1.svg
Outdated
Show resolved
Hide resolved
apps/charterafrica/src/components/OrganisationCard/OrganisationImageCard.js
Outdated
Show resolved
Hide resolved
apps/charterafrica/src/components/OrganisationCard/OrganisationImageCard.js
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.
@kelvinkipruto I have run the script locally and did not see the updated changes on contributor.
Can we catch up on this?
Signed-off-by: Kipruto <[email protected]>
Is this issue resolve @koechkevin / @kelvinkipruto ? |
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.
@kelvinkipruto implementation looks good, however I notice 2 things.
- The token will need to be updated with a token with sufficient organisation scope permission.
- Looks like with payload version 2, setting limit to 0 on
payload.find
no longer gets all the collection items but rather 10 and not all entries will get updated when the cron runs.
Are you talking about disabling pagination @koechkevin ? |
Yes @kilemensi |
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.
👍🏽
--
- Rename the icons to follow the current naming scheme. It allows us to see the size, color, etc., of the icon at a glance without opening it.
- I see some of the icons have different size/viewBox e.g. discord is 25/"0 0 25 25". If an icon size is not 24 (the default in MUI), you must set viewBox prop on the SVGIcon component so that MUI scales it accordingly.
apps/charterafrica/src/components/OrganisationCard/OrganisationImageLink.js
Outdated
Show resolved
Hide resolved
apps/charterafrica/src/components/OrganisationCard/OrganisationImageLink.js
Outdated
Show resolved
Hide resolved
apps/charterafrica/src/components/RepositoryCard/RepositoryCard.js
Outdated
Show resolved
Hide resolved
@kilemensi an update on this. Using github graphql to fetch a user causes the script to exceed github's rate limits. The only part remaining on this PR |
Thanks for double-checking this @koechkevin. Lets pick this up tomorrow when @kelvinkipruto is back to hear if he has a plan to deal with this issue or not. |
@kelvinkipruto check on this push to reduce API calls to github |
@koechkevin Looks good. I have made a few updates to it. |
Have these been addressed @kelvinkipruto ? |
Signed-off-by: Kipruto <[email protected]>
@kilemensi Updated. |
apps/charterafrica/src/components/FlourishChart/FlourishChart.js
Outdated
Show resolved
Hide resolved
apps/charterafrica/src/components/RepositoryCard/RepositoryCard.js
Outdated
Show resolved
Hide resolved
Signed-off-by: Kipruto <[email protected]>
Signed-off-by: Kipruto <[email protected]>
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.
🚀
Lets deploy this to dev but still not happy with the code... something are supposed to be card but they're not, they way we're handling viewBox, etc.
Description
This PR makes updates to the Datasets and Contributors pages as per the new designs here and here.
Type of change
Screenshots
Datasets Page
Contributors Page
Checklist: