Open klauweg opened 1 year ago
Its a default install with just 2 models downloaded and only one used, no scripts or mods added.
Am 31.10.2023 um 16:59 schrieb klauweg @.***>:
While running several scripts there is considerable cpu load from webbrowser. Even if there is no activity from the scripts. Is this caused by the spinners? They look a bit confusing anyway because to me it looks like there is user interaction necessary. If you have 20-30 scripts running, you are spinning yourself soon ;-). Is there a chance to turn it off?
— Reply to this email directly, view it on GitHub https://github.com/bugy/script-server/issues/711, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANKM5SGCFAYYPS7M2FCR4LYCFRDLAVCNFSM6AAAAAA6YKQ43WVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE3TCMRZGUYDAMY. You are receiving this because you are subscribed to this thread.
Hi @klauweg, i think you can modify css styles (see https://github.com/bugy/script-server/wiki/Themes) and the following style there:
.main-app-sidebar .scripts-list a.collection-item .menu-item-state.executing {
display: none;
}
I.e. in the theme.css file, you can only add the code above and that's it. Please remember, to reload the browser page cache after changing the style
That was easy :-). Of course it would be useful to have a sort of static indicator for running scripts. But i think i will find this myself. Thank you!
I don't know if this is very clever, but it works:
.main-app-sidebar .scripts-list a.collection-item .menu-item-state.executing {
background-image: url("../theme/run-button.png");
background-size: cover;
}
.main-app-sidebar .scripts-list a.collection-item .menu-item-state.executing .preloader-wrapper.active { display:none; }
While running several scripts there is considerable cpu load from webbrowser. Even if there is no activity from the scripts. Is this caused by the spinners? They look a bit confusing anyway because to me it looks like there is user interaction necessary. If you have 20-30 scripts running, you are spinning yourself soon ;-). Is there a chance to turn it off?