I’m trying to study how to create a plugin in Discourse. Currently, I’m trying to figure out how to put a button in the corner of the screen and if clicked, handle the request. How can I do it? It’s really basic but I could not figure it out.
Also, I saw in some plugins, calls like
decorateWidget. Where can I see a list of all the methods Discourse allows to use?