Closed 6543 closed 2 years ago
I think this could be implemented with a check box coupled with an empty element at the bottom of the build log that uses this function and updates either every interval or every time a new line is added.
Maybe it could be added to the lowest line here? https://github.com/woodpecker-ci/woodpecker/blob/6ae7e2cc4f65edaa6382d4df9cc8f6c968e3d39e/web/src/components/repo/build/BuildLog.vue#L90-L92
I think on each time a new line is added with a delay to load segments if it goes fast?
cc @lafriks ?
It could be easily added but any ideas where to place it?
I would suggest to use a button similar at the same position as the download button as you will have enable auto follow for running jobs and download for finished jobs. It could just show an image like https://icones.js.org/collection/ic?s=baseline-file-download and the crossed if disabled.
Yes but button should have different icon, this will be too confusing with donwload
@anbraten could not find any better icon so just changed download icon to https://icones.js.org/collection/ic?s=baseline-download-offline
at the moment it's always enabled