recent_topics: Display compose box & enable compose hotkeys.

We move compose from being a part of message feed to
being a part of  middle column which is a common parent of recent
topics and message feed. This allows us to use a common compose
box for both the views. Fortunately, compose actions were
independent of this change so there weren't any evident
side effects.

Fixes #17543
This commit is contained in:
Aman Agrawal
2021-03-18 12:57:28 +00:00
committed by Tim Abbott
parent 1bc21a6a2f
commit 51acbefc8a
11 changed files with 111 additions and 62 deletions

View File

@@ -200,6 +200,11 @@ export function update_closed_compose_buttons_for_stream() {
update_closed_compose_buttons(text_stream);
}
export function update_closed_compose_buttons_for_recent_topics() {
const text_stream = $t({defaultMessage: "Compose message"});
update_closed_compose_buttons(text_stream);
}
function update_fade() {
if (!compose_state.composing()) {
return;