Automattic / Edit-Flow

WordPress plugin to accelerate your editorial workflow
https://editflow.org
359 stars 132 forks source link

Move the block editor JS/CSS blocks for the custom status #731

Closed ingeniumed closed 4 months ago

ingeniumed commented 4 months ago

Description

This will make the block editor version of the custom status module the default one. It uses the newer actions to load it, in just the block editor. In addition, it also moves the files to the module and loads everything that's compiled in the generic dist folder. The intention is that once we convert everything away from JQuery, it can just sit in that dist folder.

I've also disabled the PHPCSDiff script just in the interest of making it easier for us to update each of the modules. We can re-enable this later, once we have re-done each of the modules.

Steps to Test

ingeniumed commented 4 months ago

I have re-enabled the php cs diff test but I haven't fixed them in this PR because it's over 2000 lines of changes. I'll follow up with another PR that focuses on that, so it's easy to revert any build problems in the JS vs the php side.