In order to update our legacy code base, we should:
- Remove AUI usage from any JS file or script (AUI js library, which does not include <aui:*> taglibs).
- Remove Metal usage from any JS file or script.
- Move all JS scripts from JSPs to separated .js files.
We have already removed part of this (see previous epic), but there is some code that needs work from the FrontEnd Infrastructure team. We have generated a document that contains all references to legacy code:
How we created this document
If you look for some keywords like 'AUI().use' and 'aui:script use="' you can easily find all AUI references, and "from 'metal'" will give references to Metal dependencies.
This process has been executed manually, so we might execute another scan once we have finished migrating, just to be sure.
How it should be read
The first column contains a list of JSP/JS files that have some legacy code, and the second one a list of dependencies that we have found on it.