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

Enable opening a form-dialog from a choose-dialog

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.3.4
    • Component/s: content app, forms
    • Labels:
    • Magnolia Release:
      5.3.4

      Description

      MGNLDAM-383 introduces a new feature: "Upload & edit" an asset in a dialog, directly from the assets choose-dialog.

      In order to support this, the UI required minor adjustments, in particular because the choosedialog IoC container "inherits" from the one of the target app — not subapp (rightfully so):

      • make sure fields/factories get components from the choosedialog container (e.g. imageProvider for the DamUploadField).
      • pass on the subapp UiContext along, for the dialog to open in.
      • listen to {{ContentChangedEvent}}s in choose-dialog to refresh and select item when form-dialog is saved and closed.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mgeljic Mikaël Geljić
                Reporter:
                mgeljic Mikaël Geljić
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: