Opening a reply window via URL

The only change I recall doing was enforcing the login flow if the user isn’t already logged in, something like:

        if (!Discourse.User.current()) {
            Discourse.__container__.lookup("route:application").send("showLogin");
        }

I still use it in my community to take users from my React app directly to some of these flows on Discourse (reply, edit, upload, etc).

1 Like

Do you mind sharing the full/current #reply script you are using for this?

I was able to install the component you shared above, but am not a coder and am not confident about where to add the additional lines enabling the login flow.