Problem/Motivation

The article page does not match the article banner in the design (media-banner/article-node):

  • The author and the Share links are stacked: "By Chiara Romano" sits under one divider and the Share links wrap onto the next line, at the start. The design puts them on one row between two dividers, with the author's name at the start and Share at the end.
  • The author reads "By Chiara Romano" in the regular weight. The design shows "Chiara Romano" in a medium weight.
  • The image has no caption. The design shows a small italic caption under the image, for example "Habitat 67, Montreal. Photo: Editorial Archive".
  • The banner image and its caption set the height of the banner; the left column has no matching height.

Steps to reproduce

  1. Install The Rightup and open /news/architecture-unease-how-brutalism-became-beautiful-again at 1440px.
  2. Compare the banner with the design.

Proposed resolution

  • In the news full content template, make the left column a Group that fills the height of the image and its caption: the title, summary and date at the top, and the byline and the Share links in one row at the bottom, between two dividers in the theme's default hairline, with Share aligned to the end. The section stretches its columns so the Group can fill the height. The name alone and its weight come from the Byline options added in #3628417, now merged.
  • Spacing: use the nearest spacers to the design's gaps between the title, summary and date, around the banner, and between the body, the newsletter band and the On display list. The date takes the small, muted style.
  • Print the image's title under the image as the caption, in a small italic muted text.
  • Ship the new Byline component version, and keep every value bound to the article's fields.
  • Turn on the title field of the image media type, so editors can write a caption, and caption the lead article's image as in the design.
  • Add scenarios to the news article feature: the author and Share sit on one row, and the caption shows.

Remaining tasks

  • ✅ File an issue
  • ✅ Addition/Change/Update/Fix
  • ❌ Testing to ensure no regression
  • ✅ Automated unit/functional testing coverage
  • ➖ Developer Documentation support
  • ➖ User Guide Documentation support
  • ➖ 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

  • The article banner follows the design: the author and Share on one row, and a caption under the image.

API changes

  • N/A

Data model changes

  • The image media type shows its title field. The news full template and the Byline component config change.

Release notes snippet

  • The article banner follows the design: the author and Share sit on one row and the image shows a caption.

AI-Generated: Yes. Drafted and tested with Claude Code, reviewed by the contributor.

Issue fork rightup-3628418

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’s picture

Issue summary: View changes
rajab natshah’s picture

Issue summary: View changes

  • rajab natshah committed 3b95963b on 1.0.x
    feat: #3628418 Match the article banner to the design: author and Share...

  • rajab natshah committed 9a7e99d1 on 1.0.x
    fix: #3628418 Drop the extra opacity on the article caption, which...
rajab natshah’s picture

Status: Active » Fixed
Issue tags: +rightup-1.0.3

✅ Released rightup-1.0.3

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.