-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
[Actions] Auto scroll feature #25186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I was impatient so I wrote a hacky tamper monkey script that limits the height of the action step and auto scrolls on changes: // ==UserScript==
// @name Gitea Autoscroll
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Limit height of build steps and scroll them automagically
// @author You
// @match [DOMAIN HERE]*/actions/runs/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=gitea.io
// @grant GM_addStyle
// ==/UserScript==
(function() {
'use strict';
GM_addStyle(`.job-step-logs {
max-height: 75vh !important;
overflow-y: scroll;
}`);
$("body").on('DOMSubtreeModified', ".job-step-logs", function() {
this.scrollTo(0, this.scrollHeight);
});
})(); I downloaded tamper monkey 10 minutes ago, so I might've done something weird in my script 😛 it works for me! Edit: It no longer works since Chrome removed the DOMSubtreeModified event :/ |
100% I am new to Gitea and this issue really stood out as Jenkins has had this for years. I have several long running actions and having to scroll to the bottom on every update is a PITA. I was going to open a proposal but found this one already opened. |
This definitely needs to be added |
Feature Description
It would be nice if on the action page it would auto scroll down to the bottom of the logs (and maybe auto open the steps?)
Screenshots
No response
The text was updated successfully, but these errors were encountered: