From cbc5ab5696a64fe10d5a37d25cc6e87d8d44481f Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Mon, 18 Jan 2021 15:23:49 -0500 Subject: Hotkey help controller (#1272) * Create HotkeyHelpController * Expose getAllTemplates * Update hotkeys on the context page * Update hotkeys on the display pages * Fix display issue where a hotkey used to be defined but no longer is --- ext/mixed/display-templates.html | 22 +++--- ext/mixed/js/display-generator.js | 11 ++- ext/mixed/js/display.js | 9 ++- ext/mixed/js/hotkey-help-controller.js | 120 +++++++++++++++++++++++++++++++ ext/mixed/js/html-template-collection.js | 4 ++ 5 files changed, 153 insertions(+), 13 deletions(-) create mode 100644 ext/mixed/js/hotkey-help-controller.js (limited to 'ext/mixed') diff --git a/ext/mixed/display-templates.html b/ext/mixed/display-templates.html index 66cd9785..c261bcdb 100644 --- a/ext/mixed/display-templates.html +++ b/ext/mixed/display-templates.html @@ -2,16 +2,16 @@ @@ -84,14 +84,14 @@