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

Make a general refactor of low hanging improvements in frontend-js-spa-web

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: Master
    • Component/s: SPA Engine (Senna)
    • Labels:
      None

      Description

      During the process to Assimilate Senna.js inside DXP codebase, several improvements have been flagged as desirable but postponed until the bulk of the transition was completed.

      The goal of this task is to pick up as many of those low hanging improvements as possible, which should include:

      • Simplify initialization logic
      • Remove unnecessary utils class
      • Inline errors module
      • Remove globals module
      • Remove version
      • Remove data attribute initialization support
      • Remove unnecessary 'use strict' pragma
      • Remove unnecessary configuration overrides
      • Remove unnecessary .es prefixes
      • Merge LiferaySurface into Surface
      • Export all utils from the same module
      • Consolidate liferay and senna root directories

        Attachments

          Activity

            People

            Assignee:
            team-frontend-infra Product Team Frontend Infrastructure
            Reporter:
            jose.balsas Chema Balsas
            Engineering Assignee:
            Chema Balsas
            Recent user:
            Tomáš Polešovský
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                Master