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

Create a API (Java and JS) to obtain icons urls

Details

    Description

      The idea is to replace code like 

      '<%= themeDisplay.getPathThemeImages() %>/clay/icons.svg'

      Into something more idiomatic that doesn't require appending strings. There should be and API for JS and also for Java. Since a lot of the icons usage lies in portal-web, we probably need to include the API in portal-kernel, so this API has be well thought before adding it.

      Some notes about the API here: https://liferay.atlassian.net/wiki/spaces/ENGFRONTENDINFRA/pages/1823113855/LPS-130196+-+Decoupling+Icons+from+Themes#Design-principles-and-trade-offs

       

      Note: This API should rely in a Feature Flag for backwards compatibility and to use the old approach until the new one is ready (when this epic is closed as completed)

       

      Attachments

        Activity

          People

            bryce.osterhaus Bryce Osterhaus
            victor.galan Victor Galan
            SE Support SE Support
            Kiyoshi Lee Kiyoshi Lee
            Bryce Osterhaus
            Bryce Osterhaus
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Packages

                Version Package
                Master