Hello,
I am facing the issue to open the composer with a prefilled information within it, or in case that it is too complex maybe just create a topic from a custom component/widget. The context of the issue is that I have a custom UI that expect to be used to create a Topic so there are two scenarios we can use that UI to prefill the composer and finally create the topic of embedded all things needed to create the topic from that custom UI. Keep in mind that we want also to have the composer as it is.
I saw I useful idea here: https://meta.discourse.org/t/accessing-the-createtopic-action-while-on-a-topic-route/26423 where the author ends up by reopen
the ApplicationRoute
and then define his own action, it looks like I can do something like that but not sure where is the right place to write that code; I can define a new custom action to be called on my custom UI button that sends the action of open
to the Composer Controller with some arguments.
Cheers.