Skip to content

feat(email): send quick reply with Ctrl/Cmd+Enter - #558

Merged
rathlinus merged 1 commit into
bulwarkmail:mainfrom
shukiv:feat/quick-reply-cmd-enter-send
Jul 4, 2026
Merged

feat(email): send quick reply with Ctrl/Cmd+Enter#558
rathlinus merged 1 commit into
bulwarkmail:mainfrom
shukiv:feat/quick-reply-cmd-enter-send

Conversation

@shukiv

@shukiv shukiv commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

The message-viewer quick-reply box only sent via the Send button. This adds a keyboard shortcut (Ctrl+Enter / Cmd+Enter) mirroring the composer shortcut from #344, so a reply can be fired without reaching for the mouse.

preventDefault stops the newline; the shortcut and the Send button share a single handleSendQuickReply() so there is no duplicated send logic.

Test plan

  • Focus the quick-reply box, type a reply, press Ctrl+Enter (Cmd+Enter on macOS) → sends.
  • Enter alone still inserts a newline.
  • Empty/whitespace reply + shortcut → no-op (button stays disabled).

The message-viewer quick-reply box only sent via the Send button. Add a
keyboard shortcut (Ctrl+Enter / Cmd+Enter) mirroring the composer (bulwarkmail#344),
so a reply can be fired without reaching for the mouse. preventDefault stops
the newline; the shortcut and button share one handleSendQuickReply().
@rathlinus
rathlinus merged commit f291480 into bulwarkmail:main Jul 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants