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

  1. Install the Horizon Aid site template.
  2. 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

Command icon 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

rajab natshah created an issue. See original summary.

  • rajab natshah committed 0fcfada0 on 1.0.x
    feat: #3613856 Ship the full Resources demo content so the listing, its...

  • rajab natshah committed 8e6d2558 on 1.0.x
    fix: #3613856 Remove the superseded stand-in posts and their orphaned...
rajab natshah’s picture

Assigned: Unassigned » josebc
Status: Active » Needs review
Issue tags: +horizonaid-1.0.0-alpha1
rajab natshah’s picture

Assigned: josebc » mohammed j. razem
rajab natshah’s picture

Assigned: mohammed j. razem » Unassigned
Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.