feat: #3613856 Ship the full Resources demo content so the listing, its filters and its pager can be seen

Issue: #3613856 Ship the full Resources demo content so the listing, its filters and its pager can be seen

What this adds

The Resources section shipped three blog posts, so /resources rendered one short row: no pager, and no Type filter at all because nothing carried a category. A site builder could not see how the section behaves with real content.

Twenty-six field updates, written as news, reports and policy briefs about the work the template describes — mobile health units, seed banks, water trucking, safe learning spaces, legal aid, winterisation. Each has a summary, a body, an image, a category and a theme.

Three categories — News, Report, Policy brief — the badges the design puts on the cards. Adding them is also what makes the Type exposed filter render.

Three themes — Healthcare & Medicine, Sustenance & Growth, Universal Education — the ones the design lists beside the updates.

Nine images taken from the design's resource images with the Figma asset download rather than a screenshot export, so they arrive at their original size and are shipped at 2640w for the drimage crop. Each has an editor-facing filename, media name and alt text.

Default content only: no configuration changes, and the listing view is untouched.

How this was verified

  • drush site:install recipes/horizonaid from a dropped database: exit code 0, no file-metadata errors.
  • /resources reports "Shown articles: 1–9 of 26" and renders a pager of three pages; ?page=0, ?page=1 and ?page=2 return 9, 9 and 8 posts, and ?page=3 is empty.
  • Both exposed filters render: Industry and Type.
  • All thirteen images on the page load their real derivative in a browser after scrolling, with no placeholder left and nothing broken. Cards render at 416px, none collapsed.
  • Content after install: 26 blog posts, 12 countries, 5 programmes, 3 events, 3 pages.
  • gitlab-ci-local runs the project pipeline green (build:composer-validate, validate:yaml-lint).

User interface changes

  • Resources lists nine cards per page over three pages, with a working pager and both exposed filters.

API changes

None.

Data model changes

None. The categories and themes use the vocabularies Varbase Blog Base already provides.

Release notes snippet

  • Resources now ships twenty-six field updates across three pages, with categories, themes and images from the design, so the listing, filters and pager can be seen on a fresh install.

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
Loading