Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.8.3 release #400

Merged
merged 3 commits into from
Jan 7, 2025
Merged

1.8.3 release #400

merged 3 commits into from
Jan 7, 2025

Conversation

finnlewis
Copy link
Member

No description provided.

andybroomfield and others added 3 commits December 19, 2024 19:27
* removes jQuery, adds modern (Drupal) JS

* adds once library as a dependency

* waits for button to be present before clicking it

* Remove DomcontentLoaded event

Since javascript is already in Drupal behaviours attach function, the dom
should already be present. Once behaviours should prevent multiple attachments

Moved the setAlertBannerHideCookie function outside the attach.

* CS: test fixes

* Restore find button by contents in alertbannerhidetest

* Add core/drupal and core/once dependencies

Fix tests and use of alert banner on themes that don't use the once in the
theme.

The new javascript no longer requires jQuery, but does require the use of
the core/drupal and core/once libraries in order to function. These are
provided by most themes, but not stark or stable9 which the tests run with.

Should also resolve any issues we have with forthcoming javascript library
changes. See:
  https://www.drupal.org/node/3473558
  Asset ordering is now more strictly determined by library dependencies

---------

Co-authored-by: Andy Broomfield <[email protected]>
Add a default block for the olivero theme
@finnlewis finnlewis merged commit ea10eb9 into release-1.x Jan 7, 2025
8 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants