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

Add lint to enforce use of new SideNavigation API

    Details

      Description

      Any instance of `.sideNavigation(...)` or `data-toggle="sidenav"` should be directed to use the new API merged inĀ https://github.com/brianchandotcom/liferay-portal/pull/74090

      Same gotcha that I noted in LPS-96485:

      We can't entirely lint this with ESLint because we have some JS in JSP files (which we want to remove, but it will be a long road). In JSP, we will have to use source formatter in the interim (coordinate with Hugo for that), and there we obviously can't use imports.

        Attachments

          Activity

            People

            Assignee:
            brian.chan Brian Chan
            Reporter:
            greg.hurrell Greg Hurrell (Inactive)
            Recent user:
            Jason Pince
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                7.2.X