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

Offer the mention types as a list in the Edit Macro dialog of the mention macro

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 17.10.14, 18.8.0
    • Mentions
    • None
    • Unknown

    Description

      The type of the mention macro is a free text field of the Edit Macro dialog with a single value in XWiki Standard, user, which extensions can add to.

      The main problem:

      • A wiki macro cannot declare the list, and the types come from extensions, so a provider with the installed types is needed.

      Depends on

      Most of these fields cannot be offered before these generic changes, each giving the macro the means to declare the expected value:

      • XWIKI-23045, which lets a parameter get its values from a provider, with or without custom values.

      KOs covered

      Macro Criterion Parameter Problem Depends on
      mention C4 input-assistance type A free text field with one predefined value, user, that a select could offer: type="robot" is accepted and shows the raw reference. XWIKI-23045

      Impact found on macro fluidity

      These 1 KOs come from the WYSIWYG usability audit of the macros, under the criterion C4 input-assistance of its usability criteria. The page of each macro, linked in the table, has the full notes and the steps to reproduce. Fixing them means changing the declaration of the parameters in the macro definitions.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Lucas C Charpentier Lucas
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: