We store the number of UGC comments on components within a separate system for performance reasons but need to update this when/if an editor deletes a comment from with the Tridion GUI.
My understanding is that there are no specific UGC events within the event system that can be subscribed to so that really only leaves extending the UGC extension itself to provide my own Delete Comment implementation (I've had a dig around and can see a Delete.js under \Tridion\web\WebUI\Editors\UGC\Scripts\Commands) to add an additional call to my own service which can update our external system.
Is it possible to extend UGC in this way?
I'm assuming it would be supported by SDL as Id be leveraging the GUI Extension framework rather than just hacking existing JS files.