bugy / script-server

Web UI for your scripts with execution management
Other
1.55k stars 246 forks source link

realoading values for "script" dropdown each time it is being clicked #562

Open yosefy opened 2 years ago

yosefy commented 2 years ago

hello @bugy

use case: 1)there is a dropdown calculated from list. 2)after that, script is running and changing the values in file|dir that step 1 builds the list from 3)now i reopen the dropdown to rerun the script but it shows me old data

users are being bit confused :)

though not super critical

thanks

bugy commented 2 years ago

Hi @yosefy the values are calculated only once, when a script is loaded (or a dependent parameter changes). Any OS changes are not monitored unfortunately

yosefy commented 2 years ago

I mean maybe can recalculate it when the user presses on the dropdown on the frontend as trigger?

for example: i get the list of files from dropdown then i choose few of them and script deletes those files now i want to delete more, but the dropdown still shows old data

usually the user won't open the dropdown again, but if he does... :)

i know you are busy, it is just a suggestion

thanks

On Sun, Jul 17, 2022 at 12:52 PM Iaroslav Shepilov @.***> wrote:

Hi @yosefy https://github.com/yosefy the values are calculated only once, when a script is loaded (or a dependent parameter changes). Any OS changes are not monitored unfortunately

— Reply to this email directly, view it on GitHub https://github.com/bugy/script-server/issues/562#issuecomment-1186463269, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADCXF3IJKN72NTAIL2ZV6W3VUPJUJANCNFSM53ZNFJVA . You are receiving this because you were mentioned.Message ID: @.***>

bugy commented 2 years ago

Hi, got you, thanks :) I'll keep this ticket open, if someone would vote for it or even implement it :)

raszuk commented 1 year ago

Annoying bug :(

Perhaps the script launch params should self reload/refresh after execution is complete.