Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-22804

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

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Major
    • None
    • None
    • None
    • None
    • Unknown

    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 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

      Attachments

        Activity

          People

            Unassigned Unassigned
            Farcasut Farcasi Alexandru-Vicentiu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: