discourse/app
Martin Brennan 7850ee318f
DEV: Add focusComposer to composer controller (#15872)
This commit adds a new helpful function to the composer controller
which can be used to focus the composer and insert text, regardless
of whether the consumer knows whether the composer is open or has
a draft. This is good for cases where an action needs to copy text
to the composer or open it with text after navigating to a URL.

The inspiration for this addition is the discourse-chat plugin,
which needs to be able to copy quoted markdown from the chat
and insert it into the composer, and unlike in the topic controller
we have no idea of the state of the composer from chat.
2022-02-09 15:25:03 +10:00
..
assets DEV: Add focusComposer to composer controller (#15872) 2022-02-09 15:25:03 +10:00
controllers FEATURE: Add external_id to topics (#15825) 2022-02-08 20:55:32 -07:00
helpers Revert "PERF: Update ember-auto-import (#15814)" (#15854) 2022-02-07 22:41:07 +00:00
jobs DEV: Fix typo. (#15857) 2022-02-08 09:04:53 +08:00
mailers FEATURE: Allow sending group SMTP emails with from alias (#15687) 2022-02-07 13:52:01 +10:00
models FEATURE: Add external_id to topics (#15825) 2022-02-08 20:55:32 -07:00
serializers FEATURE: Add external_id to topics (#15825) 2022-02-08 20:55:32 -07:00
services FIX: Avoid raising error when updating post and topic count user stats. (#15873) 2022-02-09 12:51:13 +08:00
views Revert "PERF: Update ember-auto-import (#15814)" (#15854) 2022-02-07 22:41:07 +00:00