Uploaded image for project: 'XWiki Rendering'
  1. XWiki Rendering
  2. XRENDERING-824

Mark the cssClass parameter of the box and message macros as advanced

    XMLWordPrintable

Details

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

    Description

      The cssClass parameter of the box and message macros is a styling hook that no common example sets, but the Edit Macro dialog shows it with the main options instead of as an advanced parameter.

      The macros to change, with the file where most of the fix is done:

      • box, info, warning, error and success: parameters declared in BoxMacroParameters.java, shared by the five macros.

      KOs covered

      Macro Criterion Parameters Problem
      box C8 advanced cssClass A styling parameter that is rarely used, and no common example sets it, but it is not marked as advanced.
      error C8 advanced cssClass A styling parameter that is rarely used, and no common example sets it, but it is not marked as advanced.
      info C8 advanced cssClass A styling parameter that is rarely used, and no common example sets it, but it is not marked as advanced.
      success C8 advanced cssClass A styling parameter that is rarely used, and no common example sets it, but it is not marked as advanced.
      warning C8 advanced cssClass A styling parameter that is rarely used, and no common example sets it, but it is not marked as advanced.

      Impact found on macro fluidity

      These 5 KOs come from the WYSIWYG usability audit of the macros, under the criteria C8 advanced 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 parameter declarations of the macros: their groups, order, default values, mandatory and advanced flags.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: