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

Feature/cc 409 admin dejquery #685

Open
wants to merge 39 commits into
base: release270
Choose a base branch
from

Conversation

tw2113
Copy link
Member

@tw2113 tw2113 commented Sep 24, 2024

This PR removes MOST of the jQuery integration that we had with the admin side of our plugin interaction and functionality.

There are a couple spots that rely on CMB2 jQuery-based events that I had to leave in place with the builder.js file. If we decide long term to move away from CMB2, we can address at that time, but that is a much larger project than what we presently do.

There is also a spot using jQuery UI Dialog with the modal.js file regarding log deletion confirmation that we're leaving as jQuery for the time being.

Only the files in the assets/js/ctct-plugin-admin/ need to be reviewed, the others are build files, sourced from that folder.

tw2113 added 30 commits July 30, 2024 19:48
…at refers to a "connection-settings-redirect" html class, I think this small part of the javascript is orphaned.

On top of that, I checked out the 2.0.0 branch when it was first introduced, and still couldn't find any references to the class. Given the scope and size of the 2.0.0 release, I
must conclude that the javascript spot was originally implemented at one time during the 2.0.0 release work, but a pivot was made and the js was missed for removal afterwards.

I have tested the connection process without this snippet in the build files, and our workflow remained unaffected. If by chance we need to re-add in, after a release and support
comes in, we most definitely can.
@tw2113 tw2113 changed the base branch from main to release270 September 24, 2024 16:19
@tw2113
Copy link
Member Author

tw2113 commented Sep 24, 2024

If we run into build file issues, merge anyway and we can re-run npm scripts afterwards.

@tw2113 tw2113 added this to the 2.7.0 milestone Sep 24, 2024
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