Open Serhioromano opened 5 years ago
It would be good to have field template parameter. Before we did not have this feature so everything needed to be hard coded.
additional parameters will appear in the list. No modal dialogs.
maybe they can appear "on demand". It means only if the user clicks a "reveal" icon. Otherwise too many parameter will be visible again, since every field has 3 field templates available I'm thinking of something like this:
Addition: In line with the template editing inside Cobalt 9, you should be able to edit the templates direct from the field parameter page.
It is gonna be a modal window at the end. Why? Because when you load it to the right column list it shifts and you lose control. You cannot see what was added and where. You need a few moments to study the list of parameters to understand wah was loaded.
As much as I wanted to avoid modal, I do not see other way around.
The main architecture is done. Now I am going through all fields and refactor their parameters. That will probably take me 2 days.
Organised parameter under the template would be much nicer than a modal window.
Can you not "hide" first the default parameter of the default templates and only show them when you click the carpet icon (see me screenshot). When you click the icon, it will reveal the parameter direct under the individual template. if you change the template, the parameter block below the individual template changes.
I will try to make an image of it.
the 3 caret icon work like a radio button. only 1 is open. when you open another one, the open one will close. With this approach, only minimal parameters are shown. by default all are closed. when you change the template, the parameter will change
Anyway, in some fields, there are a lot of parameters. They will grow page 2 scrolls full heigh just template parameters. It will be still complicated. I'll leave it as it is now and we will see what others think about it.
A lot of parameters in the field are related to how it looks. A good example is the gallery field. In order to proceed with making Cobalt looks simplify, I want to move all rendering specific parameres to field templates.
How it will work.
When you select a template, ther there is a corresponding XML file, additional parameters will appear in the list. No modal dialogs.