feat: #3613658 Ship all twelve countries and render the country listings from the view
What this changes
All twelve countries are content. The seven that only existed as hand-placed cards are now nodes, each with its own image taken from the Horizon Aid design, a summary, our role, on the ground text, three key figures and the partner logos: Bangladesh, Colombia, Myanmar, Somalia, South Sudan, Syria and Yemen. With the five already shipped, /countries/[node:title] covers the full set.
The listings follow the content. The static cards are gone and each listing is the countries view rendered through the overlay_card_medium view mode:
- Countries page: the
alldisplay, twelve rows sorted alphabetically with a full pager. 38 hand-placed components removed. - Home page, "Where We Work": the
latestdisplay, four rows in the existing slider. 15 hand-placed components removed. - Country page, "See Other Countries": the
relateddisplay, four rows, excluding the country being viewed.
Adding, renaming or unpublishing a country now changes every listing without touching a page.
How this was verified
drush site:install recipes/horizonaidfrom a dropped database: exit code 0, no error lines.- Twelve country nodes are created, each with its own alias and image.
/countriesrenders twelve rows, the Home page renders four, and/countries/kenyarenders four related countries with Kenya itself excluded — counted from the rendered/countries/<name>links, not from the source./,/countriesand the country pages return 200 with no TwigLoaderErrorand noComponentNotFoundException.gitlab-ci-localruns the project pipeline green (build:composer-validate,validate:yaml-lint).
User interface changes
- Twelve countries are published at
/countries/[node:title]. - The Countries page, the Home "Where We Work" section and the country page's "See Other Countries" section are driven by the view.
API changes
None.
Data model changes
None.
Release notes snippet
- Added the seven missing countries and moved the country listings onto the countries view with the card view mode.
AI-Generated: Yes
Checkpoints
- File an issue about this project
- Addition/Change/Update/Fix to this project
- Testing to ensure no regression
- Automated unit/functional testing coverage
- Developer Documentation support on feature change/addition
- User Guide Documentation support on feature change/addition
- UX/UI designer responsibilities
- Accessibility and Readability
- Reviewed by a human
- Code review by maintainers
- Full testing and approval
- Credit contributors
- Review with the product owner
- Update Release Notes
- Release
Edited by Rajab Natshah
Merge request reports
Loading