How to make successful complete task dialog pages automatically dismiss?

Example this page

All commands completed successfully, but it sits there and you HAVE to click dismiss.

I don’t see the point of demanding such an interaction from the user.

I’m happy to see the commands being run, their exact syntax so I can modify them paste them in the console, that is a really great feature of luci.

But in this case it’s just an unnecessary interruption.

So I would like to mod these dialogs so that if the commands are all successful exit codes, auto-dismiss the dialog screen (unless user click somewhere else, maybe they want to copy text out, then, if there’s a click, cancel the “dismiss-timer”)

Does luci have one code file that deals with all such dialog screens ?

1 Like

I personally want to be able to verify things, and think auto-dismissal is poor UI design, but what you want is ui.hideModal which should be the action to which that "Dismiss" button is bound.

2 Likes