Ludwig has working Drush and Drupal Console commands for automated download and unpacking of missing libraries into the proper folder structure. To use the commands the user has to be familiar with these command-line tools... and the most of Ludwig users are not.

Is it possible to add such functionality to Ludwig's UI as well?

For example, instead of current "Download" link below package name we could have "Download and unpack" link to automate the job.

Are there some major obstacles which prevent us from having such automated actions inside UI? Some folder permission issues or some other?

The working PackageDownloader class is available to be used by Drush and Drupal Console. Can we use the same class to add automated actions to UI?

We could have a global "Download and unpack all missing packages" at the top of Reports > Packages UI as well. That would be extremely handy. Updating of expired modules would take just a few clicks.

CommentFileSizeAuthor
#6 3177835-06.patch1.34 KBdevad
#3 3177835-02.patch7.79 KBdevad

Comments

devad created an issue. See original summary.

devad’s picture

Title: Add "Download missing packages" link to Reports >Packages page » Add "Download missing packages" link to Reports > Packages page

  • devad committed f5c83b1 on 8.x-1.x
    Issue #3177835 by devad: Add "Download missing packages" link to Reports...
devad’s picture

Status: Needs review » Fixed
devad’s picture

Status: Fixed » Needs review
StatusFileSize
new1.34 KB

For the UX consistency purpose, if there are no missing packages, render the 'Download and unpack missing packages' button again, but this time as disabled one.

  • devad committed f5c3eb9 on 8.x-1.x
    Issue #3177835 by devad: Add "Download missing packages" link to Reports...
devad’s picture

Title: Add "Download missing packages" link to Reports > Packages page » Add "Download missing packages" button to Reports > Packages page
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.