REQ: Better pass/fail info in preview list

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

REQ: Better pass/fail info in preview list Mon Jan 19, 2015 8:16 pm • by Smudge
When you click on the Info (i) icon for a file/folder in the preview list, it has a popup menu of the rules and if it matched or not (which is an amazing new feature, :) thank you!). However, sometimes the condition/reason it didn't match is not listed.

For example, I have a rule to move files with the extension .srt to a specific folder. Obviously this doesn't match on folders since they don't (normally) have extensions. When I look at the Preview Info for that folder, the "Archive subtitles" rule has an X but the Extension metadata entry isn't even listed.

I'd like to request that the reasons always be listed even if it normally wouldn't be appropriate for that type. Using the above example, normally it wouldn't show the Extension field because it is a folder. However, if I am using a condition checking the extension, I would like it to appear in the list.


Another example, I use a lot of "Passed Shell Script" conditions in my rules, like to check if the destination directory is mounted and writable by me. These never show in the list which makes it difficult to test them. Right now I have the scripts print output then I have to watch the debug logs for the output, which is a huge pain due to the multiple threads and excessive output.

I would be incredibly happy if you could have Hazel show in the Info listing not only if the script passed/failed (blue/red background) based on the exit code :D but the field value contained any output text. :shock:


Related issue/request. Some of my rules have multiple script conditions. To show each script check in the Info listing properly, you would have to enumerate them ("Passed Shell Script 1"?) and/or use a description, which brings me to the related request.

When using the "Passed Shell Script" condition, could you add a text field to the right of the "Edit Script" button where I could put in a short description? Not only could you use it in the listing but it would allow me to know what the script is doing without having to open it up in the editor.

Here is a mockup of the Info listing based on my requests.

Code: Select all
                Name | Movie
           Extension | .srt                 < with red background
Script 'Check Mount' | folder is mounted    < with blue background
 Script 'Check Perm' | folder is writable   < with red background


Thank you for your time and consideration of this request.
Smudge
 
Posts: 34
Joined: Mon Jul 15, 2013 10:44 pm

Thanks for the suggestion. I'll consider it though the script stuff makes things a bit more complicated in the UI. I'm also looking into other ways of making debugging rules easier for a future release so things may be shuffled around a bit. Nonetheless, I'll take this into consideration.
Mr_Noodle
Site Admin
 
Posts: 11866
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support