Fix Program Area for Diversity/Equity/Inclusion#4270
Fix Program Area for Diversity/Equity/Inclusion#4270roslynwythe merged 3 commits intohackforla:gh-pagesfrom
Conversation
|
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: EOD Mon. 3/27/23 |
There was a problem hiding this comment.
Awesome work, @t-will-gillis ! This PR fixes the Diversity, Equity, and Inclusion (DEI) filter on the Projects, Home, and Program Areas pages. The DEI filter works with the other filters (ie, Status, Languages/Technology), as well. It passes the ABCs plus you've addressed some pesky typos, which is great.
One note:
There appears to be a preexisting bug with the Write for All project (one of the two DEI projects) when it's being filtered by Languages/Technology.
- With this new branch, you can recreate the bug by filtering by DEI then by a Languages/Technology used in the Write for All project (ie, HTML, JavaScript, Svelte, or CSS). The Write for All project will not appear, only the New Schools Today project (the other DEI project) if you choose JavaScript, HTML, or CSS (see image below). Svelte, the other Languages/Technology used in the Write for All project, doesn't even appear in the filter list for Languages/Technology.
- With this current site/old code, you can see this by trying to filter by Svelte, a Languages/Technology used exclusively by the Write for All project; Svelte doesn't even appear in the filter list for Languages/Technology. Write for All also doesn't appear when JavaScript, HTML, or CSS Languages/Technology filters are used.
It seems like a new Issue could be created for this unless leadership is already aware of it? This bug might be due to the _projects/writeforall.md file not having a technologies attribute, as some of the other files in _projects have. However, I'm not positive where this Languages/Technology data is being pulled from. Please advise, as I haven't created an issue before. Thank you + nice work on this PR, again!
|
Hi @nnr-nnr Awesome catch! I did not see that- you're right it is ignoring Write for All's languages completely. I think I unwittingly stumbled across the code that causes this-( |
|
Yes, I'd be happy to create a new issue to address this with some guidance. Maybe at Tuesday's dev meeting or Thursday OHs or if there's documentation I can follow? Otherwise, my schedule's pretty flexible, let me know whenever. Thanks! |
|
Availability: 3/27 2 - 4pm |
roslynwythe
left a comment
There was a problem hiding this comment.
Great work @t-will-gillis ! This PR is well-formed and testing confirms that it resolves issues on the homepage, Projects Page, and Program Areas pages. Thank you also for fixing the typos.

Fixes #4120
What changes did you make and why did you make them ?
Diversity, Equity & Inclusion.Diversity, Equity & Inclusion. Per discussion with Bonnie and Jessica (re: notes in 4120), instead of refactoring the assets/js/current-projects.js script to work with the current program name, we are changing the program name toDiversity / Equity / Inclusionto work with the script.Screenshots of Proposed Changes Of The Website (if any, please do not screen shot code changes)
Visuals before changes are applied
Visuals after changes are applied