Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Setting to allow Enter key to break line OR send message #1486

Closed
trymeouteh opened this issue Feb 6, 2021 · 6 comments
Closed

Add Setting to allow Enter key to break line OR send message #1486

trymeouteh opened this issue Feb 6, 2021 · 6 comments
Labels
enhancement New feature or request good first issue Good for newcomers User Interface User interface issue

Comments

@trymeouteh
Copy link

Please add a setting on desktop just like on mobile on weather the enter key will send the message or the enter key will break the line in the message.

@FatBirdie
Copy link

Or even better, like Signal, allow desktop users to enlarge the input box. When input box is regular it sends on enter, when its enlarged it line breaks.

@nooblag
Copy link

nooblag commented Feb 26, 2021

Or even better, add setting that configures a preference for CTRL+ENTER for sending, ENTER just for line breaks?

@KeeJef KeeJef changed the title Enter key does not send message Add Setting to allow Enter key to break line OR send message Mar 29, 2021
@KeeJef KeeJef added enhancement New feature or request User Interface User interface issue good first issue Good for newcomers labels Mar 29, 2021
@mokkun
Copy link

mokkun commented Mar 20, 2022

Does the enter key work at all? At least on the macOS, hitting Enter or Cmd + Enter does nothing. I have to click on the send message button every time.

@Bilb
Copy link
Collaborator

Bilb commented Feb 14, 2023

I think doing what signal does would be better. Not having the compositionbox auto resize but just have two sizes.

  • single line: Enter sends message
  • 7 line displayed or so: Enter adds a new line character, and CMD+Enter or CTRL+Enter sends the message.

@KeeJef
Copy link
Collaborator

KeeJef commented Feb 15, 2023

Relates to #2245

If you are implementing this as a good first issue here is some additional information on how it should be laid out and what the copy should be.

Setting info

Header: Enter Key
Copy: Function of the enter key when typing in a conversation.

Option 1: ENTER sends a message, SHIFT + ENTER starts a new line
Option 2: SHIFT + ENTER sends a message, ENTER starts a new line

Location: In Conversation settings, under Autoplay Audio Messages
Design: As per Notification Content in Notifications Settings.
Notes: Option 1 should be selected by default

Below is a wireframe, however referencing Notification Content in Notifications Settings should provide a more detailed guide on the actual visual implementation.

Screenshot_2023-02-14_at_4 48 06_pm

@KeeJef
Copy link
Collaborator

KeeJef commented Nov 16, 2023

This is merged, setting will be available in next release

@KeeJef KeeJef closed this as completed Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers User Interface User interface issue
Projects
None yet
Development

No branches or pull requests

6 participants