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

Add comparator class for sorting available components list

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Neutral
    • 5.4
    • None
    • None
    • None

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

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD