Uploaded image for project: 'Nuxeo Elements'
  1. Nuxeo Elements
  2. ELEMENTS-1368

Allow disconnected elements to send notifications

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.x, 3.0.4
    • Component/s: Core

      Description

      Right now, whenever our custom elements need to send a notification upwards, they need to fire a notify event via dispatchEvent. However, this will not work if an element is not connected to DOM (e.g., is hidden by a dom-if or a nuxeo-filter).

      The propose solution consists of creation a new behavior that will provide a notify method. This method fires a the notify event from the current element, if it is attached to the DOM, or from a fallback target element if the current element is disconnected. The fallback element can be set with a helper method, and it can be used at the application level. On Nuxeo Web UI, the fallback element would be nuxeo-app.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gbarata Gabriel Barata
                Reporter:
                gbarata Gabriel Barata
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours, 15 minutes
                  4h 15m

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.