On Mon, Jun 6, 2016 at 7:31 PM, Ecaterina Moraru (Valica) <valicac(a)gmail.com
wrote:
Hi,
The Template Provider allows setting the locations where the template must
be available.
Some applications need/encourage their pages to be located in a particular
app location.
Currently, if we set such a location for a template, the template will be
listed in the "Create Page" step only if the user navigates to that
location and clicks on the "Add" button.
One behavior could be that all templates are displayed each time the user
clicks on 'Add', regardless of the initial location.
This would mean splitting the current Location functionality into "Template
Visibility" and "Creation location restrictions":
- Ideally "Template Visibility" should not be restricted, but we would need
to keep this field in order to be backward compatible with the current
behavior.
- "Creation location restrictions" would indicate if the page needs to be
created in a particular location. The user will not be allowed to create
somewhere else and be warned by an error message.
This mail's purpose is to debate:
A. If templates should be visible everywhere or just
in a particular
location?
Templates should be visible everywhere otherwise they can't be discovered.
We can't expect the user to know she has to go to a particular location in
order to create some type of page, and even if she does go there, chances
are that she will use the dedicated create button found on the application
home page or on a panel visible on the application space rather than the +
button.
B. Should we recommend applications to restrict the
creation of pages to a
particular location?
I don't think we should recommend this. Of course, an application should be
able to restrict the location if it needs to, but I think we should promote
the idea that applications should let users create entries anywhere they
want, as much as possible. Templates could specify a default location (e.g.
when the user selects a template we fill the location with the default
value) but the user should be able to change that location.
Thanks,
Marius