-
Notifications
You must be signed in to change notification settings - Fork 9k
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
YARN-11361: Remove jQuery dependency #6965
base: trunk
Are you sure you want to change the base?
Conversation
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
Hi @riya2305, as I can see that the CI is failing on spotbugs, missing ASF licences and there are some checkstyle issues as well. May I ask you to address them, please? |
Hi @riya2305, May I ask if we should check both UI versions regarding this change? I checked out the changes as a first step, and when I tried it out with UI v1, I saw that we got a "Uncaught ReferenceError: DataTableHelper is not defined" when loading http://localhost:8088/cluster. Are you experiencing the same on this endpoint? |
Hi @riya2305, With regards to the Datatables.js I saw that we are using an implementation of https://github.com/Mobius1/Vanilla-DataTables/tree/master, which I am not sure we can include this way under ASF license. Probably it would be better to use that as a dependency but as I can see that repository is no longer maintained, there is a newer fork named https://github.com/fiduswriter/Simple-DataTables. But that goes under LGPL license, and we cannot use this fork based on this page: https://www.apache.org/legal/resolved.html#category-x So I am not sure what would be the best option for us. |
Description of PR
jQuery nowadays has little to no benefits, but has a really high maintenance cost (a lot of CVE fixes result in a jQuery upgrade ticket, which then needs thorough manual UI testing). This task is to investigate and replace the jQuery JS code to JavaScript.
Issue Links
How was this patch tested?
For code changes:
LICENSE
,LICENSE-binary
,NOTICE-binary
files?