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

Long labels are not split and dialogs look messy

XMLWordPrintable

    • Yes
    • Yes
    • Nucleus 36
    • 2
    • Yes

      Steps to reproduce

      1.  Modify one existing component to add a very long field label like: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum"
      2.  Open the component dialog

      Expected results

      Long label is split and shown in different lines so the dialogs looks correctly

      Actual results

      The label is shown in one line and the dialog looks messy

       

      Workaround

      In some cases, shortening labels is an option; unfortunately, it is not.

       

      Solution 

      • The label should be short, and we limit characters to 25 
        • Add ... when text goes above this number of characters
      • When the text to be applied is long - use the tooltip instead  

        Acceptance criteria

              thien.quach Quach Hao Thien
              jayala Jonathan Ayala
              Nucleus
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved:
                Work Started:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 1d 5h
                    1d 5h