Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-14310

Propose and pre-select "recommended" templates in the create UI based on the current location

    Details

    • Difficulty:
      Unknown
    • Similar issues:

      Description

      We have the ability to specify creation restrictions with Template providers. AWM also automatically generates a template provider for a new app and, by default, sets a creation restriction to the app's data space.

      We should use this mechanism to promote (i.e. show first) and even preselect the template provider that has a creation restriction matching the current location from where the user pressed the Create button.

      In the future, this would also allow us to remove the "Add new entry" button in AWM apps and just use the Create UI with the template pre-selected.

      In the current state (i.e. while we still have the "Add new entry" button), it will simply help users that are pressing the Create button instead of the app's "Add new entry" button and getting confused with all the templates.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                enygma Eduard Moraru
                Reporter:
                enygma Eduard Moraru
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: