We are currently in the middle of transitioning from tk-multi-publish to tk-multi-publish2 and I was wandering if there is a good/default way to implement warnings that are “non-blocking”. Currently in the validation step you can either block the publish or let it pass. But we would like to implement some sanity-checks that tell the user that something could be wrong but publishes just fine.
Is this possible?
Thanks for your answer and cool idea! Unfortunately it is not quite what we are looking for. I’ve made a small mock-up to give you an idea about what we have in mind. Maybe it sparks some idea
So there would be another button beside the green check mark that tells the user something might be wrong. Clicking on it would bring him to the right line in the logging view where the user get’s more information (and maybe in the best-case scenario a way to fix the issue).
I realise this thread has been dead for a little while but I’m wondering if you ever managed to work out a way to do what you’re talking about in your example?
I’m looking to do something similar (ie have non blocking warnings be more obvious) and although I could implement @philip.scadding’s suggestion (which is a good work around) it would be great to know if there’s a more “vanilla” way to just display a warning icon during validation without having to make the actual validation fail.
Unfortunately we did not find any way of implementing this. I did not investigate this any further, because I have another idea of implementing some standalone “sanity check” tool that would leverage this publish hook:
Maybe that is also something for you to consider!?
That’s a shame… Never mind I’ve just implemented @philip.scadding’s approach which does a good enough job of what I’m trying to achieve as an end goal.
Interesting! So you’re using that to just run a completely custom sanity checking UI/Module before it even gets to the point where the Publish UI is available? I think in my case that’s probably overkill but it’s good to know for the future if we need something a bit more complex
Hi all. I was wondering how to to implement something simmilar and I have a question.
Is there an easy/build in way to create popup window in case of a warning?
I would like to implement @philip.scadding solution, but with a popup window instead ( to make it more user friendly)