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

Step description does not show ellipsis when truncated

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • blueocean-plugin
    • None
    • Blue Ocean 1.2-beta1, Blue Ocean 1.2-beta2, Blue Ocean 1.2-beta3

      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.

          [JENKINS-44718] Step description does not show ellipsis when truncated

          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.

          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.

          Cliff Meyers added a comment -

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

          Cliff Meyers added a comment - nicu nice fix, don't forget to add a web link to the PR

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

              Created:
              Updated:
              Resolved: