Consideration: Create jQuery-less version of `/src/js/cptui-scripts.js`
Is there benefit at the moment to go jQuery-less for our file?
Could it be an exercise in javascript knowhow?
jQuery will likely be around in WordPress admin for a long time yet.
https://github.com/WebDevStudios/custom-post-type-ui/blob/1.13.4/src/js/cptui-scripts.js
we do make use of jQueryUI Dialog, so this may not be worth the effort.
Closing as wontfix because of the Dialog reliance.
I'm bringing this one back because despite us using jQuery Dialog for some things, we don't need to use jQuery for the other parts of our script.
At least once I get some parts figured out, we're also going to move to native <dialog> instead of jQueryUI Dialog as well.
At the moment, I'm fine with changing everything that I can manage, but if that means also still relying on jQuery UI Dialog for one small part, I'm good with that. I'd like to get the changes don thus far out the door, and we can always revisit in the future.
PR is available at https://github.com/WebDevStudios/custom-post-type-ui/pull/964
We have more work to do, so I'm not closing this issue overall yet. We got a good amount of work done already.
See https://github.com/WebDevStudios/custom-post-type-ui/pull/964#pullrequestreview-1964434471 for more discussion about what can be updated/done here.