Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-5684

Extend MultiFormView to use LayoutProducer

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Neutral Neutral
    • None
    • None
    • None
    • UI FW 22, UI FW 23
    • 8

      Currently MultiFormView uses VerticalLayout so as to make it look better in certain contexts

      • e.g. narrow choose audience dialog in pages app to allow trait fields to expand through whole row,

      but it makes more sense to have it as FormLayout in other

      • e.g. Persona app traits tab to achieve horizontal alignment of fields.

      We can imagine that in certain cases it might be beneficial to be able to layout the entry components as e.g. tiles/columns etc.

      All that speaks for adopting the layout producer concept introduced for the general form view. Not to mention that doing so will increase consistency and predictability among different form implementations.

      High-level steps to accomplish:

      • consider changes to MultiFormView definition
      • extract layouting logic into a dedicated layout producer.
      • consider potential problems or handling move/delete actions (may require additional API to be added directly to MultiFormView).
      • consider 1-2 alternative layout producer impls

        Acceptance criteria

              rkovarik Roman Kovařík
              sdemocko Šimon Demočko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 5h 20m
                    5h 20m