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

Pipeline view automatically scrolls down

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Hi, I'd like to display the picture (the SVG) of an ongoing pipeline in an html page that will display in a radiator. The problem I have is that when scripts (that are part of the pipeline execution) get executed the page scrolls down, hiding the picture. Would it be possible to add a no-scroll parameter to the url to disable the scrolling down of the page? Something like:

      http://server.com/blueocean/.../pipeline#no-scroll

      In other words, I want to always show in an unattended browser the picture attached (example).

      thanks!
      Gustavo.

        Attachments

          Activity

          Hide
          fkykko Staffan Forsell added a comment -

          James Dumay I would also support a change to where the top of the page is the default. I typically find myself scrolling up even in a failed build, just to see which part of the build that failed and then scrolling down to get the step log. 

          Show
          fkykko Staffan Forsell added a comment - James Dumay I would also support a change to where the top of the page is the default. I typically find myself scrolling up even in a failed build, just to see which part of the build that failed and then scrolling down to get the step log. 
          Hide
          stevedonie Steve Donie added a comment -

          James Dumay please consider this as my vote as a user (as well as my whole team) to not automatically scroll.

          Show
          stevedonie Steve Donie added a comment - James Dumay please consider this as my vote as a user (as well as my whole team) to not automatically scroll.
          Hide
          jsnrth Jason R added a comment -

          James Dumay ditto, my team and I would like to see this auto-scroll behavior disabled.

          We find ourselves scrolling back to the top nearly every time we navigate to a failed build from links on Github checks. Further, while the page is loading, the top with the pipeline and menu is shown – it only auto-scrolls to the bottom once the JS or whatever kicks in and loads the console output. This makes the UX disruptive as it jumps us away from where we were getting situated on the page.

          We would much prefer if the page did not assume we wanted to be at the bottom of the failed stage's console output, and instead allowed us to navigate where we want to go.

          I see that this issue is closed as a duplicate of JENKINS-41088, but I don't think that is quite the same request (per Julian Gamble's comment about a year ago).

          We are running Blue Ocean 1.9.0.

          Thanks, -j

          Show
          jsnrth Jason R added a comment - James Dumay  ditto, my team and I would like to see this auto-scroll behavior disabled. We find ourselves scrolling back to the top nearly every time we navigate to a failed build from links on Github checks. Further, while the page is loading, the top with the pipeline and menu is shown – it only auto-scrolls to the bottom once the JS or whatever kicks in and loads the console output. This makes the UX disruptive as it jumps us away from where we were getting situated on the page. We would much prefer if the page did not assume we wanted to be at the bottom of the failed stage's console output, and instead allowed us to navigate where we want to go. I see that this issue is closed as a duplicate of JENKINS-41088 , but I don't think that is quite the same request (per Julian Gamble 's comment about a year ago). We are running Blue Ocean 1.9.0. Thanks, -j
          Hide
          cetex oskar stenman added a comment -

          This is definitely not resolved, or handled by the referenced issue.

          Some builds we run ends up launching 15 parallel tasks (building AMI's for AWS environment), and i want to look at one of these.

          The pipeline view's javascript makes it very very hard to select which one of those parallel tasks I want to watch as it's scrolling down to the bottom every few seconds, so i basically have to wait until everything is done (half an hour) before i can even select the right build and see what happened IN THE BEGINNING of this build to figure out what's wrong.

          Next, if i manage to pick the correct parallel build it somehow still manages to switch the console output to the output of another build if that one's finished before the one i'm currently watching..

          To be honest, this autoscrolling behavior is useless for most of our scenarios as we run a lot of stuff in parallel.

          It might be ok to autoscroll-down if the user is already on the bottom of the page and you add more text, but don't mess with where my scrollbar is on the page otherwise. If i want to place it on the middle of the page to investigate something, let me do that. Currently the behaviour prohibits this as it's impossible to do anything but watch the last few lines as long as a build with a lot of text output is running.

          Either disable autoscrolling completely or only make it apply whenever a user has scrolled down to bottom.

          Show
          cetex oskar stenman added a comment - This is definitely not resolved, or handled by the referenced issue. Some builds we run ends up launching 15 parallel tasks (building AMI's for AWS environment), and i want to look at one of these. The pipeline view's javascript makes it very very hard to select which one of those parallel tasks I want to watch as it's scrolling down to the bottom every few seconds, so i basically have to wait until everything is done (half an hour) before i can even select the right build and see what happened IN THE BEGINNING of this build to figure out what's wrong. Next, if i manage to pick the correct parallel build it somehow still manages to switch the console output to the output of another build if that one's finished before the one i'm currently watching.. To be honest, this autoscrolling behavior is useless for most of our scenarios as we run a lot of stuff in parallel. It might be ok to autoscroll-down if the user is already on the bottom of the page and you add more text, but don't mess with where my scrollbar is on the page otherwise. If i want to place it on the middle of the page to investigate something, let me do that. Currently the behaviour prohibits this as it's impossible to do anything but watch the last few lines as long as a build with a lot of text output is running. Either disable autoscrolling completely or only make it apply whenever a user has scrolled down to bottom.
          Hide
          kzantow Keith Zantow added a comment - - edited

          I'd also note: JENKINS-41088 is a slightly different ask, but could somewhat be accommodated by implementing this. I'll add that after using the tool for a while, I also find myself less interested in following along a particular stage than seeing the graph to click around. At one point, long ago, I did some work to "fix" this behavior somewhat, but it didn't disable following by default. Perhaps I can resurrect the pertinent parts of that if I get some time. Or perhaps a simple button to follow/not follow that's saved in browser storage or something similar would suffice; not sure the right UX for it – suggestions welcome.

          Show
          kzantow Keith Zantow added a comment - - edited I'd also note: JENKINS-41088 is a slightly different ask, but could somewhat be accommodated by implementing this. I'll add that after using the tool for a while, I also find myself less interested in following along a particular stage than seeing the graph to click around. At one point, long ago, I did some work to "fix" this behavior somewhat, but it didn't disable following by default. Perhaps I can resurrect the pertinent parts of that if I get some time. Or perhaps a simple button to follow/not follow that's saved in browser storage or something similar would suffice; not sure the right UX for it – suggestions welcome.

            People

            • Assignee:
              Unassigned
              Reporter:
              gusgonnet72 Gustavo Gonnet
            • Votes:
              1 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

              • Created:
                Updated: