Uploaded image for project: 'Magnolia pages module'
  1. Magnolia pages module
  2. PAGES-5

Add comparator class for sorting available components list

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.4
    • Component/s: None
    • Labels:
      None
    • Magnolia Release:
      5.4

      Description

      Currently, building options for available component templates is hard-coded in CreateComponentAction, while ComponentSelectorDefinition/FieldFactory is unused.

      As MGNLUI-3215 brings possibility of specifying comparatorClass on any SelectFieldDefinition, we should make use of this for the newComponent dialog, i.e. move this dialog definition to configuration.

      -As we're programmatically creating the select field for the available components we need to add the options to the actin definition itself.-

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mgeljic Mikaël Geljić
              Reporter:
              ejervidalo Espen Jervidalo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: