Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-44718

Step description does not show ellipsis when truncated

    XMLWordPrintable

    Details

    • Sprint:
      Blue Ocean 1.2-beta1, Blue Ocean 1.2-beta2, Blue Ocean 1.2-beta3
    • Similar Issues:

      Description

      Problem
      When viewing the logs for a run, a step with a very long string for description will truncate but not show the ellipsis.

      There also seems to be some strange resizing behaviours https://cl.ly/291x3T3l0x11

      Repro Steps

      1. Create a multibranch project with a Jenkinsfile that has a very long step description, such as echo'ing a long string. Ex: https://github.com/histos/karaoke-samples/blob/step-description-long/Jenkinsfile
      2. Let the job run
      3. Open the run details

      Expected Behavior
      The step description should truncate and show an ellipsis.

      Actual Behavior
      The step description truncates but does not show an ellipsis.

      Screenie

      Notes
      The layout is flexbox based and there appear to be known issues with using flexbox along with white-space: nowrap. Check out the tables work being done by Josh should probably yield a basic CSS layout that should work.

        Attachments

          Issue Links

            Activity

            Hide
            cliffmeyers Cliff Meyers added a comment -

            We decided to merge the current impl for JENKINS-37324 so we have it for 1.1 and will address this bug as time permits.

            Show
            cliffmeyers Cliff Meyers added a comment - We decided to merge the current impl for JENKINS-37324 so we have it for 1.1 and will address this bug as time permits.
            Hide
            cliffmeyers Cliff Meyers added a comment -

            Nicolae Pascu nice fix, don't forget to add a web link to the PR

            Show
            cliffmeyers Cliff Meyers added a comment - Nicolae Pascu nice fix, don't forget to add a web link to the PR

              People

              • Assignee:
                nicu Nicolae Pascu
                Reporter:
                cliffmeyers Cliff Meyers
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: