-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Modular code for table structure and table related files #14564
Modular code for table structure and table related files #14564
Conversation
This pull requests contains too many commits, in most cases it is caused by wrong merge target. In case you have forked |
91a5fd2
to
d657991
Compare
This pull requests contains too many commits, in most cases it is caused by wrong merge target. In case you have forked |
91a5fd2
to
7daada9
Compare
This pull requests contains too many commits, in most cases it is caused by wrong merge target. In case you have forked |
Codecov Report
@@ Coverage Diff @@
## gsoc-js-refactoring #14564 +/- ##
=========================================================
+ Coverage 50.57% 50.58% +0.01%
Complexity 14442 14442
=========================================================
Files 501 501
Lines 67999 67983 -16
=========================================================
Hits 34388 34388
+ Misses 33611 33595 -16 |
91a5fd2
to
7daada9
Compare
This pull requests contains too many commits, in most cases it is caused by wrong merge target. In case you have forked |
7daada9
to
8d5e968
Compare
@Piyush3079 please rebase |
8d5e968
to
cec4a3c
Compare
…nd PMA_initSlider in Slider.js. Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
0a43e91
to
0ce9714
Compare
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
…port. Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
…namic imports. Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
…loading. Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
…ot deened to be loaded in head of page. Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
…port. Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally. LGTM.
A few minor comments.
js/functions.js
Outdated
}); | ||
} | ||
} | ||
// /* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/minor remove if not needed?
js/functions.js
Outdated
} | ||
}); | ||
// /** | ||
// * Unbind all event handlers before tearing down a page |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above
@@ -772,6 +772,40 @@ export let AJAX = { | |||
$(document).on('click', 'a', AJAX.requestHandler); | |||
$(document).on('submit', 'form', AJAX.requestHandler); | |||
|
|||
/** | |||
* @todo this is to be removed when complete code is modularised * Gracefully handle fatal server errors |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@@ -244,16 +243,15 @@ public function indexAction() | |||
->getScripts() | |||
->addFiles( | |||
[ | |||
'makegrid.js', | |||
'sql.js', | |||
'sql', | |||
'vendor/jqplot/jquery.jqplot.js', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these still needed to be added explicitly?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah they were sending the scripts list in ajax response but scripts were loaded by dynamic imports only.
37ac9a3
to
5f4db91
Compare
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
This pr contains the modular code for table-related files.
This pr is in continuation with the pr Mod_Js_Db_Structure. Before reviewing this pr, review and merge Mod_Js_Db_Structure and then start reviewing this.
Before submitting pull request, please check that every commit: