Transform links to projects on Drupal.org to internal links to the project_browser.browse route

Created on 7 June 2023, over 1 year ago
Updated 14 October 2023, about 1 year ago

Problem/Motivation

Project Browser provides a clean and simple UI to locate modules in place of Drupal.org. Many modules, in their description, provide links to other modules e.g., dependencies or related modules. It would be a more consistent experience if those links would open within the Project Browser UI instead of opening on Drupal.org in a new browser tab.

Steps to reproduce

Open a module detail page in Project Browser. For example, /admin/modules/browse/image_widget_crop . Click on one of the links to recommended modules. You will open a new tab on Drupal.org.

Proposed resolution

Write a routine to identify links to project pages on Drupal.org, scrape the project name, and replace the href with a local link to the equivalent Project Browser page.

Remaining tasks

  • βœ… File an issue about this project
  • ☐ Manual Testing
  • ☐ Code Review
  • ☐ Accessibility Review
  • ☐ Automated tests needed/written?
✨ Feature request
Status

Needs review

Version

1.0

Component

User experience

Created by

πŸ‡ΊπŸ‡ΈUnited States gslexie

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

Comments & Activities

Production build 0.71.5 2024