jstanden / cerb

Cerb is a fully customizable, web-based platform for enterprise communication and process automation. Create high volume shared inboxes. Integrate with any API-based service and automate nearly any repetitive digital workflow using the specialized KATA language and browser-based coding tools. Production: https://github.com/cerb/cerb-release/
https://cerb.ai/
Other
81 stars 38 forks source link

[Ticket Profile] Ctrl-Shift-Enter / Ctrl-Enter should also be available after changing the ticket status #1142

Open beatbesmer opened 4 years ago

beatbesmer commented 4 years ago

A soon as we leave the reply form, the shortcuts used in a regular workflow are broken. This means, if exceptionally a ticket needs another status than the default one, we can't use CTRL-SHIFT-ENTER after having clicked to the corresponding status...

It would be nice, if someday the "focus send button" and "send immediately" (and maybe other shortcuts) still would be available, even if

jstanden commented 4 years ago

It would be possible to catch those keypresses on the parent form rather than just the textarea. Right now they're defined in data- attribs on toolbar buttons and added to the editor.

That change would allow the keyboard shortcuts from any element on the form.

Related to #1145, being able to add custom shortcuts/interactions to the compose/reply toolbar also means you could have your own shortcuts that set status/owner/custom-fields/deliver-at/reopen-at all at the same time in one-click.