Are Discourse callbacks using Ember or Rails that can be hooked into for plugins?


(CJ) #1

Is there a list or documentation that shows the available callbacks that Discourse makes which can be hooked into for plugins? For example, when Discourse is done loading some new content and is about to render it to the browser, is there a call back like on_discourse_done_doing_stuff where the plugin can than run any additional steps it may want to before the render?

Maybe I was thinking of something similar to the life cycle of ViewControllers in iOS.

I was looking at the ember hooks and lifecycle although I’m not sure if this would be the best way to extend discourse.

(RĂ©gis Hanol) #2

There’s this list, but it hasn’t been updated in a while unfortunately…

(NomNuggetNom ) #3

Would be awesome to get this up to date :smiley: