]> git.koha-community.org Git - koha.git/commit
Bug 17178: Add virtual keyboard to advanced cataloguing editor
authorAgustin Moyano <agustinmoyano@theke.io>
Thu, 9 May 2019 02:41:43 +0000 (23:41 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 28 Jun 2019 14:54:33 +0000 (15:54 +0100)
commit9e91662ac7bab81a6d3267d2e891c1ef5508a741
tree2ded270ecf043d469de251cef16af62864ee762d
parent00b71e8ea3deb717a343a266888744939d23187b
Bug 17178: Add virtual keyboard to advanced cataloguing editor

This patch adds Mottie keyboard (https://github.com/Mottie/Keyboard) to advanced editor.

To test:
1) Apply patches
2) perl install/data/mysql/updatedatabase.pl
3) Enable EnableAdvancedCatalogingEditor system preference
4) Go to cataloguing and to Advanced editor
5) Click on Keyboard shortcuts
SUCCESS => the keyboard shortcut "Ctrl-K" should be displayed, with "Toggle keyboard" as description
6) press Ctrl-K
SUCCESS => a virtual keyboard should be displayed, and a new toolbar button labeled "Keyboard layout" should appear.
=> when you press a letter on both the physical and virtual keyboard, they should be added to the editor.
7) Click on "Keyboard layout"
SUCCESS => a modal should appear, where you can filter and select keyboard layouts.
=> when you select a layout, it should be reflected on the keyboard.
=> when you close the modal without selecting a layout, it should keep using the previous layout.
8) Sign off

Sponsored-by: Round Rock Public Library
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
24 files changed:
koha-tmpl/intranet-tmpl/lib/keyboard/css/keyboard-basic.min.css [new file with mode: 0644]
koha-tmpl/intranet-tmpl/lib/keyboard/css/keyboard-dark.min.css [new file with mode: 0644]
koha-tmpl/intranet-tmpl/lib/keyboard/css/keyboard-previewkeyset.min.css [new file with mode: 0644]
koha-tmpl/intranet-tmpl/lib/keyboard/css/keyboard.min.css [new file with mode: 0644]
koha-tmpl/intranet-tmpl/lib/keyboard/js/jquery.keyboard.extension-all.min.js [new file with mode: 0644]
koha-tmpl/intranet-tmpl/lib/keyboard/js/jquery.keyboard.extension-altkeyspopup.min.js [new file with mode: 0644]
koha-tmpl/intranet-tmpl/lib/keyboard/js/jquery.keyboard.extension-autocomplete.min.js [new file with mode: 0644]
koha-tmpl/intranet-tmpl/lib/keyboard/js/jquery.keyboard.extension-caret.min.js [new file with mode: 0644]
koha-tmpl/intranet-tmpl/lib/keyboard/js/jquery.keyboard.extension-extender.min.js [new file with mode: 0644]
koha-tmpl/intranet-tmpl/lib/keyboard/js/jquery.keyboard.extension-mobile.min.js [new file with mode: 0644]
koha-tmpl/intranet-tmpl/lib/keyboard/js/jquery.keyboard.extension-navigation.min.js [new file with mode: 0644]
koha-tmpl/intranet-tmpl/lib/keyboard/js/jquery.keyboard.extension-previewkeyset.min.js [new file with mode: 0644]
koha-tmpl/intranet-tmpl/lib/keyboard/js/jquery.keyboard.extension-scramble.min.js [new file with mode: 0644]
koha-tmpl/intranet-tmpl/lib/keyboard/js/jquery.keyboard.extension-typing.min.js [new file with mode: 0644]
koha-tmpl/intranet-tmpl/lib/keyboard/js/jquery.keyboard.js [new file with mode: 0644]
koha-tmpl/intranet-tmpl/lib/keyboard/js/jquery.keyboard.min.js [new file with mode: 0644]
koha-tmpl/intranet-tmpl/lib/keyboard/js/jquery.mousewheel.min.js [new file with mode: 0644]
koha-tmpl/intranet-tmpl/lib/keyboard/languages/all.min.js [new file with mode: 0644]
koha-tmpl/intranet-tmpl/lib/keyboard/layouts/all.min.js [new file with mode: 0644]
koha-tmpl/intranet-tmpl/lib/koha/cateditor/marc-editor.js
koha-tmpl/intranet-tmpl/prog/css/cateditor.css
koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc
koha-tmpl/intranet-tmpl/prog/en/includes/keyboard_shortcuts.inc
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/editor.tt