Problem/Motivation
The Resources page is the site's field-updates section, and the design shows it as a filterable grid of cards running over several pages. The site template ships three blog posts, so on a fresh install the page renders a single short row: the pager never appears, the exposed filters have almost nothing to filter, and a site builder cannot see how the section behaves once it holds real content.
The three posts also carried no categories or tags, so the Type filter did not render at all and the card badges in the design had no data behind them.
Steps to reproduce
- Install the Horizon Aid site template.
- Open
/resources: three cards, no pager, and no Type filter.
Proposed resolution
- Ship twenty-six blog posts as default content, written as field updates, reports and policy briefs, so the listing fills three pages at nine per page and the pager is visible and usable.
- Add the three categories the design shows as card badges: News, Report and Policy brief. This also makes the Type exposed filter render.
- Add the three themes the design lists beside the updates: Healthcare & Medicine, Sustenance & Growth and Universal Education.
- Add nine high-resolution images taken from the design's resource images, at the size the drimage crop needs, each with an editor-facing name and alt text.
This is default content only: no configuration changes, and the listing view is untouched.
Remaining tasks
- ✅ 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
User interface changes
- Resources lists nine cards per page over three pages, with a working pager and both exposed filters.
API changes
- N/A
Data model changes
- N/A. 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.
Issue fork horizonaid-3613856
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #6
rajab natshah✅ Released horizonaid-1.0.0-alpha1
Comment #7
rajab natshahComment #8
rajab natshah