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 {Align} from the metal-position package. 

      The intended order of removal is:

      1. Replace the classes/function calls 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.

      Here is a list of usages
       

      Family Module File Usage
      analytics analytics-reports-web META-INF/resources/js/components/Popover.js Align
          META-INF/resources/js/components/detail/KeywordsDetail.js Align
          META-INF/resources/js/components/detail/ReferralDetail.js Align
          META-INF/resources/js/components/detail/SocialDetail.js Align
      app-builder app-builder-web META-INF/resources/js/components/popover/Popover.es.js Align
          test/js/components/popover/Popover.es.js Align
      dynamic-data-mapping dynamic-data-mapping-form-builder META-INF/resources/js/components/FormBuilder/FieldActionsDropDown.es.js Align
          package.json  
        dynamic-data-mapping-form-field-type META-INF/resources/components/Tooltip/Tooltip.es.js Align
          package.json  
        dynamic-data-mapping-form-web package.json  
      frontend-js frontend-js-tooltip-support-web META-INF/resources/index.js Align
          package.json  
      layout layout-admin-web package.json  
        layout-content-page-editor-web META-INF/resources/page_editor/app/components/DisabledArea.js
      META-INF/resources/page_editor/plugins/experience/components/Popover.js
      Align
          META-INF/resources/page_editor/plugins/experience/components/Popover.js Align
      site-navigation site-navigation-admin-web package.json  
      style-book style-book-web META-INF/resources/js/style-book-editor/PreviewInfoBar.js Align
          package.json  

        Attachments

          Activity

            People

            Assignee:
            team-frontend-infra Product Team Frontend Infrastructure
            Reporter:
            daniel.sanz Daniel Sanz
            Engineering Assignee:
            Julien Castelain
            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