This issue has been created
There is 1 update.
 
 
XWiki Platform / cid:jira-generated-image-avatar-a30bb13e-b376-4544-81ac-9ed9ceb70391 XWIKI-22804 Open

Add the ability to mark macro parameters defined in XWiki objects as advanced, hidden, or deprecated, ensuring greater consistency with the Java implementations

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-140d6797-a0d4-48c9-bc76-0796bf7826d1 Farcasi Alexandru-Vicentiu created this issue on 22/Jan/25 11:53
 
Summary: Add the ability to mark macro parameters defined in XWiki objects as advanced, hidden, or deprecated, ensuring greater consistency with the Java implementations
Issue Type: cid:jira-generated-image-avatar-a30bb13e-b376-4544-81ac-9ed9ceb70391 Task
Assignee: Unassigned
Created: 22/Jan/25 11:53
Priority: cid:jira-generated-image-static-major-4f94cbc3-042e-4c8b-aa7c-6fc332a89f94 Major
Reporter: Farcasi Alexandru-Vicentiu
Description:

Currently, there is a significant discrepancy between macro parameters defined in XWiki and those defined in Java. In Java, it is possible to add annotations to parameters, providing additional functionality, as detailed in the https://extensions.xwiki.org/xwiki/bin/view/Extension/CKEditor+Integration#HWikiMacros

It is crucial to bring these properties to XWiki defined macro parameters to enable more consistent macro development directly within XWiki, without requiring migration to Java. At present, there is no way to hide highly technical parameters from the user interface when defining them in XWiki. Adding this feature could greatly improve the clarity of the UI by reducing clutter from technical parameters that are not used frequently.

There is already an open ticket similar to this one but it only addresses the advanced annotation:

https://jira.xwiki.org/browse/XWIKI-17450

 
 

1 update

 
cid:jira-generated-image-avatar-140d6797-a0d4-48c9-bc76-0796bf7826d1 Changes by Farcasi Alexandru-Vicentiu on 22/Jan/25 11:57
 
Description: Currently, there is a significant discrepancy between macro parameters defined in XWiki and those defined in Java. In Java, it is possible to add annotations to parameters, providing additional functionality, as detailed in the [ https://extensions.xwiki.org/xwiki/bin/view/Extension/CKEditor+Integration#HWikiMacros ]

It is
crucial essential to bring these properties to XWiki defined macro parameters to enable more consistent macro development directly within XWiki, without requiring migration to Java. At present, there is no way to hide highly technical parameters from the user interface when defining them in XWiki. Adding this feature could greatly improve the clarity of the UI by reducing clutter from technical parameters that are not used frequently.



There is already an open ticket similar to this one but it only addresses the advanced annotation:

https://jira.xwiki.org/browse/XWIKI-17450