Details

    Description

      Context

      We have identified cases where in modal selector you have no elements to be added and need to leave the flow to create the element first. We should provide a better experience for these cases. FR linked.

      Requirements

      No Page template Sets Created:

      • After trying to create a page template from the page editor, a moda appears: "Add page template set".
      • After saving, a success alert appear with a message: "Success: The page template was created successfully. You can find it here." This last link, redirect to the page template administrator.
      • The name of the new page template will be predefined as: "[Page to convert name]-template", "[Page to convert name]-template 2", etc.

       

      Page template Sets Created:

      • After trying to create a page template from the page editor, a moda appears: "Select page template set". This modal allows the user to save the template in an existing set or save it in a new one.
      • Select existing set: Use the selector, select an existing set and save.
      • After saving, a success alert appear with a message: "Success: The page template was created successfully. You can find it here." This last link, redirect to the page template administrator.
      • The name of the new page template sill be predefined as: "[Page to convert name]-Page template", "[Page to convert name]-Page template 2", etc.
      • Save template in a new set: Click button "Save in new set". then a modal appears : "Add page template set"-Save.
      • After saving, a success alert appear with a message: "Success: The page template was created successfully. You can find it here." This last link, redirect to the page template administrator.
      • The name of the new page template sill be predefined as: "[Page to convert name]-template", "[Page to convert name]-template 2", etc.

      Design

      Figma

      Test Cases

      Case 1:
      The site designer could add a page template set during convert to page template when the site doesn't have a page template set
      Test Strategy: CRITICAL
      Can be covered by POSHI?: Yes

      1. Add the feature.flag.LPS-166201=true into portal-ext.properties
      2. Add a new site
      3. Add a content page
      4. Add a Heading fragment
      5. Open the dropdown menu of ellipsis button on control menu
      6. Convert To Page Template
      7. View the Add Page Template Set modal shown
      8. View the placeholder Untitled Set shown in Name field
      9. Save
      10. View the following success message
        • The page template was created successfully. You can view it here: See in Page Templates.
      11. Click the link of See in Page Templates
      12. View redirect to the Page Templates admin
      13. View the draft page template named ${Page_Name} - Page Template showed under Untitled Set page template set

      Case 2:
      The site designer could save in a new set during convert to page template when the site has page template sets
      Test Strategy: CRITICAL
      Can be covered by POSHI?: Yes

      1. Add the feature.flag.LPS-166201=true into portal-ext.properties
      2. Add a new site
      3. Add a page template set
      4. Add a content page
      5. Add a Heading fragment
      6. Open the dropdown menu of the ellipsis button on the control menu
      7. Convert To Page Template
      8. View the Select Page Template Set modal shown
      9. Click the Save in New Set button
      10. View the Add Page Template Set modal shown
      11. View the placeholder Untitled Set shown in the Name field
      12. Save
      13. View the following success message
        • The page template was created successfully. You can view it here: See in Page Templates.
      14. Click the link of See in Page Templates
      15. View redirect to the Page Templates admin
      16. View the draft page template named ${Page_Name} - Page Template showed under Untitled Set page template set

      Case 3:
      The site designer could convert to a page template to the existing page template set
      Test Strategy: MEDIUM
      Can be covered by POSHI?: Yes

      1. Add the feature.flag.LPS-166201=true into portal-ext.properties
      2. Add a new site
      3. Add a page template set
      4. Add a content page
      5. Add a Heading fragment
      6. Open the dropdown menu of the ellipsis button on the control menu
      7. Convert To Page Template
      8. View the Select Page Template Set modal shown
      9. Select the existing page template set in the Page Template Set field
      10. Save
      11. View the following success message
        • The page template was created successfully. You can view it here: See in Page Templates.
      12. Click the link of See in Page Templates
      13. View redirect to the Page Templates admin
      14. View the draft page template named ${Page_Name} - Page Template showed under the existing page template set

      Attachments

        Issue Links

          Activity

            People

              david.gutierrez David Gutiérrez Mesa
              carolina.rodriguez Carolina Rodriguez
              David Gutiérrez Mesa David Gutiérrez Mesa
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package