Uploaded image for project: 'Magnolia pages module'
  1. Magnolia pages module
  2. PAGES-330

When only one component is available - disable the select field

    XMLWordPrintable

Details

    Description

      If there is nothing to choose in the 'Add component' dialog (when there is only one available component):

      • make the select field disabled, so that it's clear to the user that there is nothing to select.

      Context:

      When adding a component to a page, previously (< 6.2) If there was only one available component type, then the "Add Component" dialog would be skipped. This made for efficient adding of a component.

      Now in 6.2.2 https://jira.magnolia-cms.com/browse/PAGES-307 implements that at least the single component is selected i the select field. However a user does not know that it is the only component, so they may still go to that select, only to discover that there is only one option.

       

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                ajuran Antonín Juran
                czimmermann Christopher Zimmermann
                AuthorX
                Votes:
                2 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Work Started:

                  Checklists

                    Task DoD