Often when managing a site with lots of modules, it gets difficult to enable a module, as even when you find it, it's dependencies can be hidden throughout the page. This patch makes each dependency listing into a link; when you click it, you are directed to that module on the page. If the module is missing, it links to the drupal.org project page instead.

Comments

senpai’s picture

Great idea. Bookmarking for a test.

senpai’s picture

StatusFileSize
new36.33 KB

Installed and tested on a freshly updated 7.x HEAD with clean db.

Clicking on 'required by' and 'depends on' links works pretty well. Unfortunately, the resulting display in FF2 Mac is half cut off by the hovering table header.

The attached picture shows what happened when I clicked on Locale.module's 'Required by: Content translation'.

senpai’s picture

Status: Needs review » Needs work

Woops! Reset to CNR

cwgordon7’s picture

Hm. Any suggested workarounds?

Susurrus’s picture

You could either use an in-page link to the module above it or you could use some javascript to find the position factoring in moving table headers and scroll the page to that position. I'm not so sure how elegant a JS solution would be, but I don't like the other suggestion I made either.

cwgordon7’s picture

Module above it is out of the question because that won't line up properly in all cases, so I guess a JS solution...

senpai’s picture

Target the id of the enclosing div, but scroll the page +25px to compensate for the floating table header?

Jaza’s picture

Component: base system » user interface text

In the case of the module not being in the site's codebase, we have no guarantee that a particular module has its own drupal.org project page, it may be part of a package of modules. So simply linking to http://drupal.org/project/modulename will result in plenty of broken links.

I doubt that this will make it into D7 (if indeed it's appropriate to go in at all), but bumping and leaving in the D7 queue anyway.

cwgordon7’s picture

Status: Needs work » Needs review
StatusFileSize
new4.38 KB

Updated and fixed patch attached. Note that this will not work in the overlay at the moment for the same reason the tableheader won't work in the overlay - once the patch at #649662: Sticky tableheaders don't work in Overlay is committed, this patch should work in the overlay as well.

realityloop’s picture

Status: Needs review » Needs work

Even with overlay disabled this still moves the desired element off top of the page.

bfroehle’s picture

Version: 7.x-dev » 8.x-dev
Status: Needs work » Needs review
StatusFileSize
new3.13 KB

Uploading a re-rolled version of #9 but without the JS.

It is the responsibility of tableheader.js not to mess up every link to an anchor in the table, not the responsibility of everybody using a sticky header table. This is going to be dependent on #787940: Generic approach for position:fixed elements like Toolbar, tableHeader (or some other tableheader fix), so I'm bumping to 8.x-dev.

yoroy’s picture

Status: Needs review » Needs work

Overall this seems symptom fixing to me. I would hope we can improve this workflow on a more fundamental level than this. Modules page in its current state is not helped with adding bits and pieces to it. Handling dependencies more elegantly is definately something to pursue. Adding links that make the page jump up and down is probably not the best option there. Could we for example filter or group modules that share dependencies?

Version: 8.0.x-dev » 8.1.x-dev

Drupal 8.0.6 was released on April 6 and is the final bugfix release for the Drupal 8.0.x series. Drupal 8.0.x will not receive any further development aside from security fixes. Drupal 8.1.0-rc1 is now available and sites should prepare to update to 8.1.0.

Bug reports should be targeted against the 8.1.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.2.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.1.x-dev » 8.2.x-dev

Drupal 8.1.9 was released on September 7 and is the final bugfix release for the Drupal 8.1.x series. Drupal 8.1.x will not receive any further development aside from security fixes. Drupal 8.2.0-rc1 is now available and sites should prepare to upgrade to 8.2.0.

Bug reports should be targeted against the 8.2.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.3.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.2.x-dev » 8.3.x-dev

Drupal 8.2.6 was released on February 1, 2017 and is the final full bugfix release for the Drupal 8.2.x series. Drupal 8.2.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.3.0 on April 5, 2017. (Drupal 8.3.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.3.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.6 was released on August 2, 2017 and is the final full bugfix release for the Drupal 8.3.x series. Drupal 8.3.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.4.0 on October 4, 2017. (Drupal 8.4.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.4.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.4.x-dev » 8.5.x-dev

Drupal 8.4.4 was released on January 3, 2018 and is the final full bugfix release for the Drupal 8.4.x series. Drupal 8.4.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.5.0 on March 7, 2018. (Drupal 8.5.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.5.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.6.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.5.x-dev » 8.6.x-dev

Drupal 8.5.6 was released on August 1, 2018 and is the final bugfix release for the Drupal 8.5.x series. Drupal 8.5.x will not receive any further development aside from security fixes. Sites should prepare to update to 8.6.0 on September 5, 2018. (Drupal 8.6.0-rc1 is available for testing.)

Bug reports should be targeted against the 8.6.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.7.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

dpi’s picture

Title: Linkify module dependency text on modules admin page » Link missing modules to Drupal.org project page
Version: 8.6.x-dev » 8.8.x-dev
Component: user interface text » system.module
Assigned: cwgordon7 » Unassigned
Issue summary: View changes

Version: 8.8.x-dev » 8.9.x-dev

Drupal 8.8.0-alpha1 will be released the week of October 14th, 2019, which means new developments and disruptive changes should now be targeted against the 8.9.x-dev branch. (Any changes to 8.9.x will also be committed to 9.0.x in preparation for Drupal 9’s release, but some changes like significant feature additions will be deferred to 9.1.x.). For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.9.x-dev » 9.1.x-dev

Drupal 8.9.0-beta1 was released on March 20, 2020. 8.9.x is the final, long-term support (LTS) minor release of Drupal 8, which means new developments and disruptive changes should now be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 9.1.x-dev » 9.2.x-dev

Drupal 9.1.0-alpha1 will be released the week of October 19, 2020, which means new developments and disruptive changes should now be targeted for the 9.2.x-dev branch. For more information see the Drupal 9 minor version schedule and the Allowed changes during the Drupal 9 release cycle.

Version: 9.2.x-dev » 9.3.x-dev

Drupal 9.2.0-alpha1 will be released the week of May 3, 2021, which means new developments and disruptive changes should now be targeted for the 9.3.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.3.x-dev » 9.4.x-dev

Drupal 9.3.0-rc1 was released on November 26, 2021, which means new developments and disruptive changes should now be targeted for the 9.4.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.4.x-dev » 9.5.x-dev

Drupal 9.4.0-alpha1 was released on May 6, 2022, which means new developments and disruptive changes should now be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.5.x-dev » 10.1.x-dev

Drupal 9.5.0-beta2 and Drupal 10.0.0-beta2 were released on September 29, 2022, which means new developments and disruptive changes should now be targeted for the 10.1.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 10.1.x-dev » 11.x-dev

Drupal core is moving towards using a “main” branch. As an interim step, a new 11.x branch has been opened, as Drupal.org infrastructure cannot currently fully support a branch named main. New developments and disruptive changes should now be targeted for the 11.x branch, which currently accepts only minor-version allowed changes. For more information, see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

quietone’s picture

Status: Needs work » Postponed (maintainer needs more info)

It has been thirteen years since there has been activity on this issue. In the last comment yoroy pointed out that adding links that make the page jump up and down is not the best option and suggested some kind of filtering or grouping modules that share dependencies? There has been no discussion here on that point.

Is there interest in pursuing the filtering or should this issue be closed? I am setting the status to Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.

quietone’s picture

quietone’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

Thanks for the work on this issue. There has been no work on this task for 14 years, except to ask if this issue is still relevant. Therefor, closing.

If there is work to do here, then either re-open the issue or open a new issue and reference this one. If the choice is to use this issue then add a comment change make sure to change the issue status to 'Active'.