I have discovered that we can use Discourse inside an iframe. In this mode, I hide the header etc.
Now I would like to make it a full replacement for our chat / discussion system. Anywhere we have a chat, we can have a discourse topic!
But in order for this to work, I need to be able to direct users in the iframe to a URL that sets up a topic composer and prefills the topic and category. Is that possible to do?
Afterwards, I also would need to get the resulting topic id and URL in the callback, so I can save it on our side and open it next time in the iframe, instead of our own chat that would be opened.
Can someone please give me some example code that uses Ember.js that would accomplish the above?