Open boygirl opened 4 years ago
Any hints (pun intended) where to start if I want to take this and contribute to the project? Thanks!
Hi @marovargovcik! The hint configuration is accessed here: https://github.com/netlify/netlify-cms/blob/089533683b0483d31da6dc158f3b9bb5f14fb88f/packages/netlify-cms-core/src/components/Editor/EditorControlPane/EditorControl.js#L215
and the List widget is rendered here: https://github.com/netlify/netlify-cms/blob/089533683b0483d31da6dc158f3b9bb5f14fb88f/packages/netlify-cms-widget-list/src/ListControl.js#L500
I'm making extensive use of variable types in the list widget, and it has been extremely useful! One thing I would like to see would be the ability to add a hint or description for the whole type. My current work around is adding a dummy boolean widget and giving it a hint, but that feels kind of hacky. The ideal solution would be to support a hint or description for the entire type that would show at the top of the control for each type.
For example:
Another possibly easier change would be to allow hidden fields to display hints if they have any.