dashboard icon indicating copy to clipboard operation
dashboard copied to clipboard

Restore log scroll buttons

Open AlanGreene opened this issue 1 month ago • 2 comments

Instead of scrolling the individual step log containers as in the previous design (where only 1 log was displayed on the page), we now want to scroll the entire page.

As part of this we also need to update react-window to a more recent version, i.e. v2.x or newer.

See additional changes in https://github.com/tektoncd/dashboard/pull/4409 for a start. New DOM structure of the react-window components is affecting the Carbon tooltips and will need to be addressed, as well as ensuring the buttons are only shown when needed based on the scroll state of the page instead of the individual steps.

AlanGreene avatar Nov 06 '25 11:11 AlanGreene

Just to make sure your are talking about the same problem we are currently facing:

Image

In this example it takes nearly minutes to scroll at the end of the log - and yes, it is a very long log - and no scroll bar is displayed.

Furthermore it would be nice to have the button back for jumping at the end of the log with only one click (Maybe this is want you ment with the issue title "restore log scroll buttons"). In some of the logs its possible to use the end-key of the keyboard or the scrollbar of the browser window, but thats not that comfortable as it was in the past by using a simple button. And it is only possible in some logs.

Last but not least: The download button of the logs is also missing if we are correct. (Not the topic of this issue, you may ignore it)

Dashboard: v0.63.0 Pipelines: v1.6.0 Triggers: v0.33.0

snukone avatar Nov 06 '25 11:11 snukone

Yes these are the buttons referenced by this issue.

AlanGreene avatar Nov 06 '25 11:11 AlanGreene