View Single Post
Old 04-26-2021, 03:21 AM   #560
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,453
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by compurandom View Post
I've got a chain that randomly does stuff I don't want. I'm working on debugging it, but I'm thinking it would be nice to have some tools for debugging chains.

What I'm wishing I had right now is a button (on each line) in the chain editor to run the action. That would let me run each item to make sure it does what I think it should be doing.
Quote:
Originally Posted by ownedbycats View Post
An option to toggle actions on and off without deleting them would work, too; you could toggle them all off and then toggle them all one at a time until you find the mistake.
Maybe have a "single step" mode? This would use a non-modal dialog so the user can interact with the library while the chain is running, in order to see what is happening. The idea: for each action in the chain:
  • Run the condition and display the results. Wait for Continue/Cancel.
  • Display the scope criteria. You could "Mark" the books in the scope, or maybe select them. Wait for Continue/Cancel. On "continue", ensure that the scope is applied, which might mean checking the selection in the library.
  • Run the action. Where it makes sense, such as single-field edit, show the results somehow, possibly in the dialog, possibly using marks. Wait for Continue/Cancel.
This would certainly be a fair amount of work, but would provide a lot of flexibility.
chaley is offline   Reply With Quote