Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-131918

Remove ALLOY UI/Metal.js/scripts in JSP from Echo's Modules (PART 2)

Details

    Description

      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:

      https://docs.google.com/spreadsheets/d/1aLZtCIkMzx6SiXPg_uTpAw_hrnmesFoNm5xKPv-l6_M/edit#gid=0

      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.

      Attachments

        Activity

          People

            support-lep@liferay.com SE Support
            pablo.molina Pablo Molina
            Wesley Gong Wesley Gong
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Packages

                Version Package