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

[7.4-stable] Load jQuery via importmap #3118

Merged
merged 2 commits into from
Jan 4, 2025

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Jan 4, 2025

Backport

This will backport the following commits from main to 7.4-stable:

Questions ?

Please refer to the Backport tool documentation

We still need it for select2 but we want to update and install it via
node modules.

In order for this to work we need to use module script tags. Since
jQuery is loaded via importmap and a JS module (`alchemy_admin.js`)
it execution is deferred.

(cherry picked from commit 770a0d0)
The language id select is not always present
(ie. if only one language is present).

(cherry picked from commit 5f94d50)
@tvdeyen tvdeyen requested a review from a team as a code owner January 4, 2025 12:39
@tvdeyen tvdeyen mentioned this pull request Jan 4, 2025
2 tasks
Copy link

codecov bot commented Jan 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.47%. Comparing base (056a0da) to head (ebd573a).
Report is 4 commits behind head on 7.4-stable.

Additional details and impacted files
@@              Coverage Diff               @@
##           7.4-stable    #3118      +/-   ##
==============================================
- Coverage       96.47%   96.47%   -0.01%     
==============================================
  Files             237      237              
  Lines            6407     6406       -1     
==============================================
- Hits             6181     6180       -1     
  Misses            226      226              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tvdeyen tvdeyen merged commit 3e16df3 into 7.4-stable Jan 4, 2025
36 checks passed
@tvdeyen tvdeyen deleted the backport/7.4-stable/pr-3049 branch January 4, 2025 13:11
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.

1 participant