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

Convert dialog class into esm #3050

Merged
merged 5 commits into from
Sep 24, 2024
Merged

Convert dialog class into esm #3050

merged 5 commits into from
Sep 24, 2024

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Sep 24, 2024

What is this pull request for?

This converts the last two remaining coffeescript files into ES modules, so we can remove
Sprockets as our JS compiler and start using Propshaft for serving assets.

Checklist

@tvdeyen tvdeyen added this to the 8.0 milestone Sep 24, 2024
Copy link

codecov bot commented Sep 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.63%. Comparing base (367b5cf) to head (881a5f9).
Report is 85 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3050   +/-   ##
=======================================
  Coverage   96.63%   96.63%           
=======================================
  Files         236      236           
  Lines        6331     6331           
=======================================
  Hits         6118     6118           
  Misses        213      213           

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

@tvdeyen tvdeyen force-pushed the convert-dialog-into-esm branch 2 times, most recently from a636d9a to 0dbe699 Compare September 24, 2024 07:48
@tvdeyen tvdeyen marked this pull request as ready for review September 24, 2024 07:48
@tvdeyen tvdeyen requested a review from a team as a code owner September 24, 2024 07:48
Copy link
Contributor

@sascha-karnatz sascha-karnatz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Finally

The last module before we can convert it's parent the Dialog.
The last CoffeeScript file and last JS file we compile with
Sprockets. We can now remove Sprockets.
We do not compile any JS with Sprockets anymore \o/
@tvdeyen tvdeyen force-pushed the convert-dialog-into-esm branch from 0dbe699 to e63f266 Compare September 24, 2024 07:53
Alchemy.GUI.init is only used in this module. Combining it into the Initializer
allows to reduce the dependencies of the Dialog class.
Try to adhere code climate issues
@tvdeyen tvdeyen force-pushed the convert-dialog-into-esm branch from 5e571f3 to 881a5f9 Compare September 24, 2024 09:32
@tvdeyen tvdeyen merged commit 4c20717 into main Sep 24, 2024
39 checks passed
@tvdeyen tvdeyen deleted the convert-dialog-into-esm branch September 24, 2024 10:32
@tvdeyen tvdeyen modified the milestones: 8.0, 7.4 Jan 4, 2025
@tvdeyen tvdeyen added the backport-to-7.4-stable Needs to be backported to 7.4-stable label Jan 4, 2025
@alchemycms-bot
Copy link
Collaborator

💚 All backports created successfully

Status Branch Result
7.4-stable

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-to-7.4-stable Needs to be backported to 7.4-stable
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants