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

Dialogs in legacy apps are full screen (UI 5)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 6.2.4
    • 6.2.3
    • None
    • None

    Description

      When creating a dialog in a legacy app using the old UI framework (UI 5), for example, the old pages app, the dialog is automatically full screen.
      If you try to use the wide property in a dialog component, it will not make a difference, it's still full screen.

      Steps to reproduce

      1. Create a simple dialog for a component
        form:
          tabs:
            - name: tabText
              label: Textold
              wide: true
              fields:
                - name: title
                  fieldType: text
                  label: Title
                  rows: 5
                  maxLength: 300
        actions:
          commit:
            label: save changes
            class: info.magnolia.ui.admincentral.dialog.action.SaveDialogActionDefinition
          cancel:
            label: cancel
            class: info.magnolia.ui.admincentral.dialog.action.CancelDialogActionDefinition
        
      1. Go to the legacy pages app, and create the component.
      2. Note that the dialog is full screen, even the dialog to create the components is full screen.
      3. Try to set the wide property to false in the dialog component with no effect

      Expected results
      The dialogs should be full screen only if the wide property is set to true.
       
      Actual results
      All dialogs are full screen in legacy apps and it's not possible to change it.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                mdamborenea Monica Damborenea
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD