I’d like to add the functionality to change PublishedFile status from the SGTK Loader. I’ve been able to add the basic functionality into the tk-houdini_actions.py hook to change status, but I’m trying to expose awareness of the status in the UI, and refresh the UI when the action is executed. So I’m trying to figure out the best way to implement these functions.
To begin with, I discovered the async_refresh() function for updating models, but I can’t figure out how to access the UI models from the action hook module.
And, once the basic functionality and refreshing are in place, I’d like the UI to be able to display the status in ideally two ways, color and filtering.
I’d like to be able to color code the background of the entries in the UI based on status (omit - red, complete - green, everything else standard grey), but I’m not finding much on color setting.
Another thing that is more involved, but would be useful would be to be able to customize the UI to have filtering by status and toggle display of published on that the same way there is Published Type filtering already.