Problem/Motivation

While reviewing #2035079: [PP-1] Figure out what to do with the install/uninstall modules page at #3373236: Drupal Usability Meeting 2023-07-14, we identified that when installing multiple modules, the install confirm form does not use a bulleted list, instead it displays all modules on a single line.

Meanwhile, the uninstall module confirm form displays each module on a separate line, using a bulleted list.

Using a bulleted list for the install confirm form would be easier to read and more user friendly than a comma-separated list on a single line.

Steps to reproduce

Proposed resolution

Change the module install confirm form to use a bulleted list for the list of modules which will be enabled. Styled similarly to the uninstall module confirm form.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Comments

AaronMcHale created an issue. See original summary.

aaronmchale’s picture

Issue summary: View changes
mstrelan’s picture

Status: Active » Postponed (maintainer needs more info)
Issue tags: +Needs steps to reproduce

Can you please provide steps to reproduce the issue? Here's what I tried;

  1. Install Drupal with standard profile
  2. Go to /admin/modules
  3. Check the checkboxes for JSON:API and Serialization modules
  4. Press the Install button

There was no install confirm form. There was however a status message:

2 modules have been installed: JSON:API, Serialization.

Perhaps that is what you meant?

nicxvan’s picture

Reading the issue summary I think if you check just one module that requires a second module, when the confirm form asks if you want to install the other modules to there is not a bulleted list.

https://git.drupalcode.org/project/drupal/-/blob/11.x/core/modules/syste...

mstrelan’s picture

If that's the case then change step 3 from #3 to "Check the checkbox for Navigation module".

That results in the following status message:

You must install the Layout Builder, Layout Discovery modules to install Navigation.

Can we confirm that's what this is about?

Added a possibly related issue.

nicxvan’s picture

Had a chat in the #ux-working-group channel in slack https://drupal.slack.com/archives/C08HBKBATHT/p1751469168192539

Adding a screenshot showing multiple modules with dependencies.

I will add a summary once the discussion is complete.

I think it might be the Required by bit in the module description on Extend not the confirmation page.

pameeela’s picture

FWIW there is a bulleted list with a list item for each of the modules you are enabling, with the dependencies listed as comma separated. But I think it has to work this way, nesting lists with the specific modules would make this pretty awkward.

quietone’s picture

Version: 11.x-dev » main
Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (outdated)
StatusFileSize
new37.56 KB

I think this was resolved in Aug last year in #3086941: Improve the required theme/module installation warning. That replaced the implode of module names with formatPlural.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

quietone’s picture

nicxvan’s picture

Thank you I think you're right! I took care of credit!