Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 296283

Decouple Stable libraries from Bartik/Seven/Claro/Umami

$
0
0

Problem/Motivation

As stated in #3110855: Plan for removing dependency to Stable in Bartik/Seven/Claro/Umami, Bartik/Seven/Claro/Umami will be decoupled from Stable. This includes the two libraries provided by Stable, which extend existing core libraries.

drupal.ajax:
  version: VERSION
  js:
    js/ajax.js: {}

drupal.user:
  version: VERSION
  js:
    js/user.theme.js: {}
libraries-extend:
  core/drupal.ajax:
    - stable/drupal.ajax
  user/drupal.user:
    - stable/drupal.user

stable/drupal.ajax added in #3059847: Move hard coded AJAX progress bar classes to a theme function
stable/drupal.user added in #3061265: Use specific class for password confirm message

Proposed resolution

Confirm what the library provides for each theme, determine if it is still necessary. If yes, transfer the functionality to the core themes that need it in the most easy-to-maintain way possible.

Remaining tasks

Determine which libraries are needed by each theme
No themes require the functionality provided by stable/drupal.ajax.
Bartik, Seven. and Umami need to modify user.css to receive the styling that was previously made available by the class added in stable/drupal.user

Update classy/components/user.css in Bartik, Seven. and Umami so stable/drupal.user isn't needed. Move to theme specific library as it no longer matches classy.

Update ConfirmClassyCopiesTest to reflect the changes to user.css

User interface changes

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 296283

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>