Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: Master
    • Component/s: Metal.js
    • Labels:
      None

      Description

      Part of our plan to remove usages of metal in DXP codebase

      The goal of this task is to remove existing usages of {Affix} from the metal-affix package. 

      The intended order of removal is:

      1. Replace the classes with standard APIs or specific DXP functions when needed.
      2. Remove imports of these functions/objects in the .js files
      3. Remove the dependencies in package.json file if it's declared there

      Do not look for occurrences in neither .npmbundlerrc nor .eslintrc.js files as these will be dealt with in a separate task.

      For the case of {Affix} class, the feature is very specific and it's used only in <liferay-frontend:info-bar> via <aui:script> tag. A potential solution would be to migrate this to a React component.

      Here is a list of usages

      Family Module File Usage
      frontend-taglib frontend-taglib META-INF/resources/info_bar/end.jsp metal-affix/src/Affix

        Attachments

          Activity

            People

            Assignee:
            bryce.osterhaus Bryce Osterhaus
            Reporter:
            daniel.sanz Daniel Sanz
            Engineering Assignee:
            Bryce Osterhaus
            Recent user:
            Brian Chan
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                Master