Change UI for /admin/reports/updates/update to not mention "Enabled/Disabled" modules and themes

Created on 3 March 2020, over 4 years ago
Updated 15 August 2023, over 1 year ago

Problem/Motivation

Discovered while working on #3113992: The 'Update' page has no idea that some updates are incompatible

Drupal 8 no longer has the notion of "disabled modules". Either they're installed and enabled, or completely uninstalled. There's no such thing as an installed + disabled module. For example, the 'Available updates' listing report (at /admin/reports/updates) looks like this:

However, the 'Update' page at /admin/reports/updates/update was never modified to account for this change in the rest of core's extension handling. If you enable the "[x] Check for updates of uninstalled modules and themes" checkbox at /admin/reports/updates/settings and then visit the 'Update' form you still see "Disabled"

Proposed resolution

  • Modify the 'Update' form UI to match the 'Available updates' report to display about "Installed" and "Uninstalled" instead of "Enabled" and "Disabled".
  • Change the table heading from "Installed version" to "Site version".

Remaining tasks

  1. Reviews
  2. RTBC
  3. Commit

User interface changes

For patch #36

Before - installed only

Before - with uninstalled

After - installed only

After - with uninstalled

API changes

None.

Data model changes

None.

Release notes snippet

TBD, probably not.

🐛 Bug report
Status

Fixed

Version

11.0 🔥

Component
Update 

Last updated about 9 hours ago

  • Maintained by
  • 🇺🇸United States @tedbow
  • 🇺🇸United States @dww
Created by

🇺🇸United States dww

Live updates comments and jobs are added and updated live.
  • Usability

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

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.

Production build 0.71.5 2024