Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-5516

Inherit layout from parent document

    XMLWordPrintable

    Details

    • Type: User story
    • Status: Resolved
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 3.22.0
    • Component/s: Designer, Layouts & Widgets

      Description

      In order to get a better consistency

      As a studio user, when configuring a layout, Designer takes as a basis the parent document type layout instead of generating something generic.

      AC
      In general either the parent layout has been generated and we can take that as a source. Or we have to go upper recursively until we find something that is generated. If there isn't anything, we use the default doctype.

      • if the parent is a default doctype
        Either people did generate the layout in designer because they wanted to override it and we can take this as a source. Or they didn't and we can use the source used to scaffold that default doctype as a basis.
      • if the parent layout is not scaffolded
        Designer recursively looks upper for the first available basis and uses that one. Either a parent will have something (that will be closer to what users expect since they explicitly chose to generate it), or we'll end up using the default doctype as a source (see point above).
      • if the parent layout is not scaffolded but the grandparent one is
        Similar to answer above.
      • if the parent is the child of a default doctype
        Still the same: either the parent layout has been generated and we can take that as a source, or we have to go upper until we find something generated. If there isn't, we use the default doctype.

        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 - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 weeks, 2 days, 6 hours
                  4w 2d 6h

                    PagerDuty

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