Dynamically Created Pages for each Program Area Using a Layout#8437
Dynamically Created Pages for each Program Area Using a Layout#8437daras-cu merged 7 commits intohackforla:gh-pagesfrom
Conversation
…program-area-layout-3328
|
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. |
|
Review ETA: 8 PM 11/28/25 |
|
Review ETA: 6 PM 11/28/25 |
TheManTheMythTheGameDev
left a comment
There was a problem hiding this comment.
Hello @ldaws003! Great job on this PR:
- Branches are correct
- Changes look great -- all the new pages are accurate and complete
- Changes are clean and effective
I will say I was a little surprised to see that the problem/solution text does not appear for any projects outside of Citizen Engagement -- but upon closer inspection, this was not an issue with your implementation, and the text remains to be written.
The program area page template makes references to the citizen engagement header SVG and the citizen engagement JS logic, but it seems like these should remain constant for all program area pages, so I think it's fine.
Great job -- approved!
santi-jose
left a comment
There was a problem hiding this comment.
Good job working on this issue @ldaws003 !
What you did well:
- Made pull request with correct branches
- Linked your issue
- Made code changes requested by issue
- Maintained integrity of website with changes in code
- Program area pages properly render
Great work! I have no changes to suggest and approve this PR.
|
Review ETA: 12/6/2025 |
myronchen-git
left a comment
There was a problem hiding this comment.
Done Well
- Good detailed explanations of changes.
- Good job on asking questions for clarification.
Things to Address
-
There is a bug when viewing the program areas webpages in smaller widths. For example, on the Citizen Engagement webpage, the Sustainable Development Goal components for the project cards have their texts cut off in mobile widths and have their texts in narrow columns in tablet widths.
This issue might be out of scope, but I would like to see at least a resolution or clarification with the issue author. Ideally, you could create an Emergent Request to have this fixed.
-
Under the todo item
In each project's Markdown file in _projects directory, there is a field called visible. If visible is true, then the project should show up on the program area page(s) it falls under. If visible is false, then the project should not show up.
, changing the
visibleproperties do not do anything. For example, changing 311 Data's or Open Community Survey's visibilities do not do anything.I assume this action item is outdated or inaccurate as the visible property might have some other purpose, but this should be clarified with the issue author. Else, you would need to do some digging to figure this out.
|
Hi @myronchen-git, Thanks for taking a look. I'll bring the issue with the text being cut off in Sustainability Goal with the issue creator. For the visibility property. It does work on my end. For me it the effects of changing that only shows after stopping and restarting docker-compose. |
myronchen-git
left a comment
There was a problem hiding this comment.
Thanks for addressing my two points. And thanks for the explanation on stopping and starting Docker. That got the visibility to work. Everything else is in order and you followed the instructions well.
* Update contributor and language data * Update contributor and language data * Update contributor and language data * Update contributor and language data * Update contributor and language data * Update Inactive Members JSON * Update contributor and language data * Update contributor and language data * Update contributor and language data * Update contributor and language data * Update contributor and language data * Update contributor and language data * Update contributor and language data * Update contributor and language data * Update contributor and language data * Update contributor and language data * Update contributor and language data * Update contributor and language data * Update meeting data * Update contributor and language data * Update contributor and language data * Update contributor and language data * Update meeting data * Update contributor and language data * Update contributor and language data * Update contributor and language data * Update Github handle for Santiago Vidal (hackforla#8423) (hackforla#8446) * Bump actions/checkout from 5 to 6 (hackforla#8434) Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump @actions/core in /github-actions/trigger-schedule/github-data (hackforla#8447) Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.11.1 to 2.0.1. - [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md) - [Commits](https://github.com/actions/toolkit/commits/@actions/artifact@2.0.1/packages/core) --- updated-dependencies: - dependency-name: "@actions/core" dependency-version: 2.0.1 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/upload-artifact from 5 to 6 (hackforla#8448) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 5 to 6. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](actions/upload-artifact@v5...v6) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update contributor and language data * Update contributor and language data * Update contributor and language data * Update contributor and language data * Update contributor and language data * Update contributor and language data * Update contributor and language data * Update contributor and language data * Update contributor and language data * Update contributor and language data * Update contributor and language data * Update contributor and language data * Update contributor and language data * Update contributor and language data * Bump stefanzweifel/git-auto-commit-action from 7.0.0 to 7.1.0 (hackforla#8449) Bumps [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action) from 7.0.0 to 7.1.0. - [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases) - [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md) - [Commits](stefanzweifel/git-auto-commit-action@v7.0.0...v7.1.0) --- updated-dependencies: - dependency-name: stefanzweifel/git-auto-commit-action dependency-version: 7.1.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update contributor and language data * Update contributor and language data * Update contributor and language data * Updated Links Variable for Github (hackforla#8435) The devops repo is being renamed from https://github.com/hackforla/ops to https://github.com/hackforla/devops with this change users will be able to navigate to the renamed repo from the hfla website's communities of practice page: https://www.hackforla.org/communities-of-practice * Update contributor and language data * Update contributor and language data * Update contributor and language data * Update contributor and language data * Update contributor and language data * Dynamically Created Pages for each Program Area Using a Layout (hackforla#8437) * changed program-areas to true * added program-areas to default * renamed citizen-engagement.html and moved to _layouts * made card appear based on page program area * made title reflect the page * renamed _citizen_engagement.scss file and updated import in main.scss * Update contributor and language data * Updated CoP DevOps Name (hackforla#8455) * update devops name 8388 * reverting to normal * redid changes for issue * added Jason Shi to Civic Tech Jobs page (hackforla#8459) Great job working on this issue @bragelbytes! * Update contributor and language data * Bump @actions/github in /github-actions/trigger-schedule/github-data (hackforla#8458) Bumps [@actions/github](https://github.com/actions/toolkit/tree/HEAD/packages/github) from 6.0.0 to 7.0.0. - [Changelog](https://github.com/actions/toolkit/blob/main/packages/github/RELEASES.md) - [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/github) --- updated-dependencies: - dependency-name: "@actions/github" dependency-version: 7.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update meeting data * Update contributor and language data * Update contributor and language data * Update contributor and language data * Update meeting data * Update contributor and language data * Update contributor and language data --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: GitHub Actions Bot <hackforla-bot@hackforla.org> Co-authored-by: Eileen Hernandez Bedoya <92833729+Colombianah@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: abinetabate1 <abinetabate@gmail.com> Co-authored-by: Leon Dawson <leondawson123@yahoo.com> Co-authored-by: Caden Ramey <37122663+cadenramey@users.noreply.github.com> Co-authored-by: Joe Bragel <85720959+bragelbytes@users.noreply.github.com>


Fixes #3328
What changes did you make?
citizen-engagement.htmltoprogram-area-pages.htmlprogram-area-pages.htmlto the_layoutsfolderprogram-area-pages-cards.htmlto filter for visible projects that are part of the page's program area_citizen_engagement.scssto_program-area-pages.scss_citizen_engagement.scssin_sass/main.scssto_program-area-pages.scssWhy did you make the changes (we will use this info to test)?
citizen-engagement.htmlwas renamed toprogram-area-pages.htmland moved to_layoutsto create a reusable layout to generate pages for other program areasprogram-area-pages-cards.htmlwas modified to make it dynamically work for any program areas_citizen_engagement.scsswas renamed and it's import updated to reflect the name change of thecitizen-engagement.htmlpageCodeQL Alerts
After the PR has been submitted and the resulting GitHub actions/checks have been completed, developers should check the PR for CodeQL alert annotations.
Check the PR's comments. If present on your PR, the CodeQL alert looks similar as shown
Please let us know that you have checked for CodeQL alerts. Please do not dismiss alerts.
Instructions for resolving CodeQL alerts
If CodeQL alert/annotations appear, refer to How to Resolve CodeQL alerts.
In general, CodeQL alerts should be resolved prior to PR reviews and merging
Screenshots of Proposed Changes To The Website (if any, please do not include screenshots of code changes)
Visuals before changes are applied
Visuals after changes are applied