compose: Extend empty compose navigation logic to recipient boxes.

Navigation key presses like `Up` and `PageUp` with an empty recipient
boxes will now close the compose and propagate the keypress to the message
list or recent topics, depending upon the active view.

This extends behavior we've had for a long time with focus in the
compose box itself.
This commit is contained in:
Aman Agrawal
2022-01-07 09:21:55 +00:00
committed by Tim Abbott
parent 49e9cf10de
commit c4efc97d5a
3 changed files with 31 additions and 7 deletions

View File

@@ -60,6 +60,7 @@ EXEMPT_FILES = make_set(
"static/js/compose_actions.js",
"static/js/compose_closed_ui.js",
"static/js/compose_fade.js",
"static/js/compose_state.js",
"static/js/compose_ui.js",
"static/js/compose_validate.js",
"static/js/composebox_typeahead.js",