Problem/Motivation

The Storybook component library pulled brand and demo images from external and old sources, kept a duplicate placeholder image inside each component, and a few stories did not match the approved design.

  • Images were loaded from external hosts (varbase-assets, varbase_media_demo) and an old 3.0.x branch.
  • Each component shipped its own duplicate placeholder image instead of sharing one.
  • The Logos page did not match the approved Logo and Share Image design; the Section background-image story was broken; the Media Banner story was in the wrong group; and the CTA documentation page errored.

Steps to reproduce

  1. Open Storybook and browse the Foundation, card, hero, and CTA components.
  2. Notice the external image requests, the duplicate placeholders, and the broken Section and CTA documentation pages.

Proposed resolution

  • Use Varbase's own approved images and logos everywhere, kept once in a single shared folder (no duplicates, no external sources).
  • Rebuild the Logos page to the approved Logo and Share Image design.
  • Make components default to the shared images so they also render correctly in Drupal Canvas.
  • Fix the Section background-image story, move the Media Banner story to Organisms, fix the CTA documentation page, and remove non-design and unused images.

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
  • ❌ Code review from 1 Varbase core team member
  • ❌ Full testing and approval
  • ❌ Credit contributors
  • ❌ Review with the product owner
  • ❌ Update Release Notes
  • ❌ Release

Varbase update type

  • ✅ No Update
  • ➖ Optional Update
  • ➖ Forced Update
  • ➖ Forced Update if Unchanged

User interface changes

  • Storybook component library and component defaults only; no runtime theme or template logic changes.

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • N/A
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

Title: Use vartheme_bs5's own local images/logos in Storybook stories and implement the Logo & Share Image foundation page » Use the theme's own foundation images & logos across Storybook and Canvas, implement the Logo & Share Image page, and tidy component assets
Issue summary: View changes
rajab natshah’s picture

Title: Use the theme's own foundation images & logos across Storybook and Canvas, implement the Logo & Share Image page, and tidy component assets » Use Varbase's own approved images and logos across the Storybook component library, and add the Logo and Share Image page
Issue summary: View changes

rajab natshah’s picture

Status: Active » 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.

rajab natshah’s picture

Status: Fixed » Closed (fixed)

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