Uploaded image for project: 'Magnolia pages module'
  1. Magnolia pages module
  2. PAGES-1557

As a frontend developer I want to get page template definitions by path

    XMLWordPrintable

Details

    • Story
    • Resolution: Unresolved
    • Neutral
    • None
    • None
    • None
    • None
    • Yes
    • Yes
    • Medium

    Description

      Context

      Use case

      To manage a grid layout of an component with nested areas. We need to create a JS field that stores multilple columns config. The number of columns will be changed by viewport. We need to define multiple viewports in the definition and the grid field needs to get configured viewports from the definition.

      Problem

      The dialog only provides node path when edit a component, so it is inconvenient to use the template definitions endpoint version 1 (which is deprecated).

      Acceptance Criteria

      • Find a definition by a given path
      • Find the closest parent definition by a given path and node type
      • Find a definition by definition ID

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                canh.nguyen Canh Nguyen
                DeveloperX
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Work Started:

                  Checklists

                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - Not Specified
                      Not Specified
                      Logged:
                      Time Spent - 3d
                      3d