Skip to content

Instantly share code, notes, and snippets.

@pdaire
Forked from mrs110/shortcuts.md
Last active August 29, 2015 14:15
Show Gist options
  • Save pdaire/91618e2217833034e417 to your computer and use it in GitHub Desktop.
Save pdaire/91618e2217833034e417 to your computer and use it in GitHub Desktop.
Saving time with keyboard shortcuts

Feature: Shortcuts

With our new feature we hope to make the lives of our users a lot easier. We noticed that many of our users have standard phrases, which they repeat many times throughout the day, when attending clients. This is why we decided to introduce the shortcuts feature.

How it works

We have added a button on the right side of the message field. When clicked it displays a list of available shortcuts: button_dropdown By selecting one of these shortcuts, a predefined text is inserted in the messages field. The result looks like this: shortcut_results You can also access the shortcuts from the messages field by pressing '/'. This will open a dropdown menu, identical to the menu shown when pressing the button. You can select the shortcut using your arrow keys or your mouse. You can also continue typing, this will filter the results in the dropdown. Once you hit the spacebar, the shortcut (if defined) is inserted. shortcut_slash

Customizing Shortcuts

System admins can update the shortcuts through an additional field in dropdown menu. This field takes you to a menu which allows you to change the default shortcuts and to define new shortcuts for your organization. The new and updated shortcuts are then available for all of your organization's users. This is a screenshot of the menu, followed by a screenshot of the updated shortcuts list. Note that you can not use '/' in the shortcut values and that a '/' will be prepended to your shortcut key. modal update_results

We really hope you enjoy this new feature and any feedback is welcomed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment