Hi,
Context:
- https://jira.xwiki.org/browse/XWIKI-17236
- https://github.com/xwiki/xwiki-platform/commit/437529b859e0e17528a55e77290f41f3a637d1a1#r38676128
Proposal:
Introduce a new Property annotation to signify that a property should not be displayed in UIs. Specifically in the WYSIWYG macro dialog editor for the Include macro use case.
I’m proposing:
@PropertyDisplayHidden
Other options:
@PropertyDisplayVisibility(true|false)
@PropertyDisplaySkip
@PropertyDisplayEnabled/Disabled
@mflorea On the CKEditor side, I’m proposing to modify MacroService.xml to skip the JSON portion for properties that are hidden, so that they are not displayed.
I’m going to start implementing this now so please let me know ASAP if you have doubt or comments about this proposal.
Thanks!