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

Identify a good candidate for new global state API in liferay-portal and migrate to it

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      This issue replaces a few of discarded ones in LPS-122065 (theĀ fi-state-management epic):

      • LPS-127082 ("Add deprecation warning to Liferay.on/Liferay.fire APIs")
      • LPS-127083 ("Replace SPA navigation event listeners with Global State APIs")
      • LPS-127084 ("Replace destroyPortlet event listeners with Global State APIs")

      Basically, we came to the conclusion that "destroyPortlet" and SPA weren't ideal use cases for this kind of API, that we should instead move forward with creating a lightweight replacement event emitter API to use in those scenarios (replacing "Liferay.on()"/"Liferay.fire()" and friends), and that before closing this epic, we should identify a good candidate for using the state API and migrate to that. That's what this issue is for.

      We can then use that candidate as an example in our existing documentation and that will in turn give us a good basis for completing the technical draft in this epic (LPS-128435).

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package