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

Migrate nuxeo-document-layout to the Elements library

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0
    • Component/s: Layouts, UI
    • Release Notes Description:
      Hide
      • nuxeo-document-layout moved from Web UI to the ui of the nuxeo-elements repository (@nuxeo/nuxeo-ui-elements)
      • added hrefBase property to nuxeo-document-layout to defined the layout href base URL
      • if hrefBase is not specified, the layout's href will be resolved in relation to the importPath property of it's parent, if available, or it's own (see URLs in Templates for more details). This means that the parent element must have a `importMeta` property assigned to import.meta, containing the absolute URL from which the element was loaded from.
      • this means that if you are using nuxeo-document-layout directly inside your element, that most likely you will have to add the `importMeta` property to it (see this commit for more details).
      Show
      nuxeo-document-layout moved from Web UI to the ui of the nuxeo-elements repository ( @nuxeo/nuxeo-ui-elements ) added hrefBase property to nuxeo-document-layout to defined the layout href base URL if hrefBase is not specified, the layout's href will be resolved in relation to the importPath property of it's parent, if available, or it's own (see URLs in Templates for more details). This means that the parent element must have a `importMeta` property assigned to import.meta , containing the absolute URL from which the element was loaded from. this means that if you are using nuxeo-document-layout directly inside your element, that most likely you will have to add the `importMeta` property to it (see this commit for more details).
    • Tags:
    • Impact type:
      API change
    • Sprint:
      nxGang Sprint 11.1.24, nxGang Sprint 11.1.25, nxGang Sprint 11.1.26, nxGang Sprint 11.1.27
    • Story Points:
      5
    • Team:
      GANG
    • Roadmap Milestone:
      LC.UI.EC.contentElements

      Description

      We need to move nuxeo-document-layout to nuxeo/nuxeo-elements as part of the element migration from Web UI to the Elements library (see SUPINT-1523).

      We need to keep in mind that this element computes a layout href assuming the doctype folders live in the same directory. We need to decide on what to do from now on with elements that compute hrefs.

      Complexity (see SUPINT-1523): 2

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 week, 3 hours, 50 minutes
                  1w 3h 50m

                    PagerDuty

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