Allow a project to suggest other projects, present in UI

Created on 19 August 2024, 4 months ago

Problem/Motivation

Sometimes a module or recipe can be extended or enhanced by adding one or more popular projects. There was a suggestion in #3459972: Use composer suggest to present additional recipe options โ†’ to use the standard "suggest" key in composer.json to associate such related projects. In practice, however, the information present there doesn't typically provide much practical benefit to site builders.

Proposed resolution

Allow Project Browser to read the suggest section of a project's composer.json. After the module is installed or the recipe applied, the UI could present the site builder the option to similarly install/apply the suggested projects. This would allow a site builder to take advantage of the full ecosystem around a project, instead of having to find these popular add-ons themselves.

Ideally, within the Project Browser listings interface, the card for the parent project could visually indicate if there are suggested add-ons that haven't yet been installed/applied.

โœจ Feature request
Status

Active

Version

2.0

Component

User experience

Created by

๐Ÿ‡จ๐Ÿ‡ฆCanada mandclu

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

Comments & Activities

  • Issue created by @mandclu
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia prashant.c Dharamshala

    Like the WordPress also does. It has many tabs but we can have only something like the "Suggested" section.

  • ๐Ÿ‡บ๐Ÿ‡ธUnited States chrisfromredfin Portland, Maine

    One vision I have had for a while is to display a "post-apply" modal for either modules or recipes. In this way, we tell the user the things they need to do to configure the project they just installed. Even if that's not a full wizard (i.e. "Enter your Google Analytics id here: [____]") it could at least be "For this module to function, you will need to enter your Analytics ID here: https://your.site/admin/config/whatever").

    I think we could utilize this same "post-apply modal" to show what a recipe suggests, maybe.

  • ๐Ÿ‡จ๐Ÿ‡ฆCanada mandclu

    I believe I have see talk about a config action to add dashboard items from a recipe, maybe something along those lines could be a stopgap until there's a way to have a more sophisticated display of related recipes in project browse

  • ๐Ÿ‡ฉ๐Ÿ‡ชGermany rkoller Nรผrnberg, Germany

    But there is one significant problem to consider in regard the idea of providing some sort of post apply modal as suggested in #3 โœจ Allow a project to suggest other projects, present in UI Active . If you add and install a single module that post apply modal pattern works, but how do you handle the case of 2 to x number of modules installed at once, which is the likely case with the batch functionality being the only way to install modules - having a chain of post apply modals in a row seems suboptimal.

Production build 0.71.5 2024