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

Enable opening a form-dialog from a choose-dialog

    XMLWordPrintable

Details

    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.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD