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

Add comparator class for sorting available components list

XMLWordPrintable

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

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

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Task DoD