feat: #3628417 Let the Byline print the author name alone and in a chosen font weight

Issue: https://www.drupal.org/project/vartheme_bs5_rightup/issues/3628417

Adds two options to the Byline component: show_prefix (default true) prints "By" before the author name, and font_weight (fw-light to fw-bold, empty by default) sets the Bootstrap weight utility. Existing bylines render as before. The README, the component docs block in the template and the Storybook controls list the new options.

The article banner in the design shows the author name alone in a medium weight; the recipe sets show_prefix: false and font_weight: fw-medium on its article template (the Rightup issue follows this one).

Checked: rendered on a local Rightup site through the news article template; with both options set the author reads "Chiara Romano" in the medium weight, and a byline left on the defaults still reads "By ...". The Storybook controls were not run.

AI-Generated: Yes

Checkpoints:

  • File an issue
  • Addition/Change/Update/Fix
  • Testing to ensure no regression
  • Automated unit testing coverage
  • Automated functional testing coverage
  • UX/UI designer responsibilities
  • Readability
  • Accessibility
  • Performance
  • Security
  • Developer Documentation
  • User Guide Documentation
  • Reviewed by human
  • Code review by maintainers
  • Full testing and approval
  • Credit contributors
  • Review with the product owner
  • Release notes snippet
  • Release

🤖 Generated with Claude Code

Edited by Rajab Natshah

Merge request reports

Loading
Loading