Use data-* to check modules dependencies before submit

Created on 8 March 2012, over 12 years ago
Updated 5 September 2024, 14 days ago

Problem/Motivation

An idea from sun and coming from #1090592: [meta] Use HTML5 data-drupal-* attributes instead of #ID selectors in Drupal.settings โ†’ the module page is a pretty good use-case.

When checking to enable a module there is a JS check on dependencies and check all unchecked dependencies hence avoiding the confirm step.

The patch is very rough but it works :) any comment on this is welcome. It should be using jquery ui instead of a confirm (or maybe not, which is better for screen-readers?).

I'm not certain i'll be super-fast with 100+ modules enabled, there is a lot of room for perf improvement at this point.

Steps to reproduce

Proposed resolution

Remaining tasks

Usability review to comment of whether avoiding the confirm form is beneficial or not.

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

โœจ Feature request
Status

Active

Version

11.0 ๐Ÿ”ฅ

Component
Systemย  โ†’

Last updated less than a minute ago

No maintainer
Created by

๐Ÿ‡ซ๐Ÿ‡ทFrance nod_ Lille

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

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

  • Needs usability review

    Used to alert the usability topic maintainer(s) that an issue significantly affects (or has the potential to affect) the usability of Drupal, and their signoff is needed. When adding this tag, make it easy to review the issue. Make sure the issue summary describes the problem and the proposed solution. Screenshots usually help a lot! To get sign-off on issues with the "Needs usability review" tag, post about them in the #ux channel on Drupal Slack, and/or attend a UX meeting to demo the patch and get direct feedback from designers/UX folks/product management on next steps. If an issue represents a significant new feature, UI change, or change to the general "user experience" of Drupal, use Needs product manager review instead. See the scope of responsibilities for product managers.

Missing content requested by

๐Ÿ‡ฆ๐Ÿ‡บAustralia dpi
10 days ago
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024