Add support for Recipe logos to Recipe plugin

Created on 19 December 2024, 3 days ago

Problem/Motivation

The recipe standard specifies that recipes can have a logo.png in the same folder as recipe.yml, as added by #3450487: Recipes should have a logo for findability in Project Browser . But the recipe plug-in always uses a hard coded logo image.

While this is slightly different from the logos in the root of the repository, for Drupal CMS recipes, recipes are split into their own projects by the Drupal CMS Bot, so those recipes will have to logo in the root, and will be ready for when a Project Browser plugin supports external recipes.

Steps to reproduce

Open project browser and select Recipes tab. No logos (admitedly, I'm not aware of any recipes that have had a logo added yet).

Proposed resolution

  1. Make Recipes plugin check for logo.png in recipe directory
  2. If logo.png found, display instead of default image
  3. Optional: Consider an overlay of the Recipes logo as an overlay in the corner to distinguish recipes from modules
Feature request
Status

Active

Version

2.0

Component

Code

Created by

🇮🇪Ireland lostcarpark

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024