Add filter by project dependencies (ecosystem)

Created on 8 October 2021, over 2 years ago
Updated 29 May 2024, about 1 month ago

Problem/Motivation

Very often users looking for modules, that can extend functionality of some exact module, eg Search API module does almost nothing serious without any of additional modules like Search API Solr or Elasticsearch Connector, but now users can't find modules, that depends on Search API.

Steps to reproduce

Try to find in project browser all modules, that can extend the Search API functionality.

Proposed resolution

To solve this problem will be good to add filter "Depends on module", via which we can find all modules, that extends functionality of Search API from previous example, find modules that can connect two other modules (eg Flag Search API via dependency on search_api + flag), etc.

Module developers and community can manually manage list of related modules like this https://www.drupal.org/node/1999262 β†’ but it's more exclusion, than common thing, and very often they becomes outdated.

But dependencies in MODULE.info.yml file are always actual and already filled in all projects!

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

User interface changes

API changes

Data model changes

Release notes snippet

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡¦πŸ‡²Armenia Murz Yerevan, Armenia

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ͺπŸ‡¨Ecuador jwilson3

    IMHO ecosystem should rather be used for modules that can be listed as "Compatible with" whereas "Depends on" should be a new separate entity reference. It shouldn't be a taxonomy like the Ecosystem feature is, but a direct relationship to the module(s) it is dependent upon.

    Ideally, this would be:

    * populated and synced automatically with dependency data in the modules primary *.info.yml (ie, do not recurse into submodules).
    * only (optionally) exposed in the UI to people with an elevated admin role (so as to avoid interference with the aforementioned sync).

  • πŸ‡ΊπŸ‡ΈUnited States bsnodgrass
  • πŸ‡±πŸ‡ΉLithuania mindaugasd

    Dependencies is very useful idea.
    Like the most popular module is ctools in the project browser. But how to use it exactly? I know Panels used it back in the day, but ctools remains a mysterious module to me without knowing the dependents. It would be very helpful to see what modules implements it in order to discover tons of examples of how it can actually be used. Maybe it is useful since being so popular? Maybe it saves time? It would be even more useful for new site builders, whom this module can be extra confusing.

  • πŸ‡±πŸ‡ΉLithuania mindaugasd

    Dependency tree of themes is also needed.
    For example, what sub-themes depend on barrio β†’ ?
    drupal.org search does not return any results... If there are no sub-themes, there has to be for a site builder.
    Having sub-themes easy-to-find might encourage people to submit new sub-themes, and branching out barrio with more advanced sub-themes could provide better user experience.

Production build 0.69.0 2024