Update Language Merging to Support Projects with Multiple Additional Repositories#6255
Conversation
- Update additional-repo-ids format in civic-tech-index.md - Add liquid filter for multi-repo support in project.html - Merge languages across multiple repositories in project.js. - Dynamically handle additional repo IDs in current-project.js.
|
Want to review this pull request? Take a look at this documentation for a step by step guide! From your project repository, check out a new branch and test the changes. Note that CONTRIBUTING.md cannot previewed locally; rather it should be previewed at this URL: |
|
avail: 2/11 |
|
New eta: 2/13 |
t-will-gillis
left a comment
There was a problem hiding this comment.
Hey @jphamtv Fantastic work! I am able to confirm that "Civic Tech Index" in Docker matches the live site, and did not find any discrepancies when checking some of the other projects. The code edits appear to satisfy the other criteria (no additional-repo-ids, with the add'l repo but empty, with one add'l repo, and with multiple add'l repos. )
And great job picking up the minor edits (projectLanguageArr --> projectLanguageArray, semicolons, etc.)- thanks for tackling this issue!
|
@t-will-gillis - thanks for the feedback and review! |
Fixes #5160
What changes did you make?
additional-repo-idsformat to enable support for multiple additional repositories.joinfilter to convert multiple additional repository IDs from a project's Markdown file into a comma-separated string.retrieveProjectDataFromCollectionfunction to merge languages from multiple repos associated with a project more efficiently.Why did you make the changes (we will use this info to test)?
Screenshots of Proposed Changes Of The Website (if any, please do not screen shot code changes)
No visual changes to the website.