Closed leekelleher closed 5 years ago
I'm thinking along the lines of the List View's layout control...
Where the "icon" picker would be a document-type, the "Name" and "Layout path" would be for the Name Template and Tab dropdown respectively.
Considering tackling this along with #43 since both involve changes to the doctypepicker. You mention "Tab dropdown". Inner Content currently doesn't have a Tab dropdown and supports tabs in the edit view. Are there plans to change this?
Ignore the Tab drop-down, we removed the feature in v2.0, 15a7d44d5603d91aa2053b1d773a4d7d0eca347b
Quick prototype.
The prototype looks great, thanks! 🎉
Couple of technical points...
No changes to prevalue data needed. I will submit as a separate PR.
One question, do you feel it is safe to use the existing list classes in core or should I copy the styles and create new classes?
I'm happy to use the existing list classes.
Closing this ticket as a PR has been submitted. Further discussion can be had on PR #45 - thanks @dnwhte! 🎉
Rather than using a dropdown, we could do similar to how the DocType "Allow children" permission UI works. Use the overlay directive to display a doctype picker.
https://github.com/umco/umbraco-inner-content/blob/develop/src/Our.Umbraco.InnerContent/Web/UI/App_Plugins/InnerContent/views/innercontent.doctypepicker.html#L20
This is purely a cosmetic / consistent UI idea.