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

Allow Dialogs to open outside subApp scope

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Neutral
    • 5.0.2, 5.1
    • 5.0.1
    • None
    • None

    Description

      It is currently not possible to open Dialogs outside of an app, e.g. from the shell.
      We have to:

      • use UiContext instead of subAppContext in FieldFactories and Fields
      • map UiContext to ShellImpl on admininterface scope to guarantee there is a UiContext accessible
      • move components mapping where necessary

      components mapping changes:

      • move imageprovider to admincentral scope. there is no other implementation so far.
      • move simple mappings like DialogView FormDialogView which are scope independent to admincentral
      • FormDialogPresenter needs to be present in all scopes to ensure it gets the right uiContext injected
      • copy *FactoryFactory mappings to admincentral. As they are using the componentProvider they will remain in app scope to not introduce unwanted sideeffects

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              ejervidalo Espen Jervidalo
              ejervidalo Espen Jervidalo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoD