LP#
1862235 - Create MARC Record - Keyboard workflow enhancements
LP#
1862235 - Create MARC Record - Global Keyboard Shortcut
Added ctrl+f3 to launch the create MARC record interface.
Signed-off-by: Josh Stompro <stompro@stompro.org>
LP#
1862235 - Create MARC Record - Focus on template on load
Focus on the template selector dropdown when interface loads.
This removes the need to use the mouse, and speeds up using the
interface. Pressing tab, then enter will submit
the form with the default template selected.
If the template needs to be changed, then pressing the first letter
of the template will switch between the different options.
This adds a directive named autoFocus to staff/cat/catalog/app.js,
so adding "auto-focus" to an element will cause that element
to have focus on load.
Signed-off-by: Josh Stompro <stompro@stompro.org>
LP#
1862235 - Set unique page title for create marc record.
Add an egCore string for page title translation, and set
page title for Create New MARC Record.
Signed-off-by: Josh Stompro <stompro@stompro.org>
LP#
1862235 - Create MARC Record - focus on item add and call number
This change sets the focus on the "Add Item" checkbox when the marc editor
is opened with fast item add enabled. This allows the user to just press space
to enable Add item.
When the add item checkbox is enabled, the focus is moved to the call number field.
This adds a directive to app.js called focusOnShow that makes it easy
to mark an element to have focus when it becomes visible when using ng-show.
I had to add in a bit of redundancy in t_marcedit.tt2, the Add Item checkbox
needs to have it's own ng-show directive for the focus-on-show to work.
Signed-off-by: Josh Stompro <stompro@stompro.org>
LP#
1862235 - Create MARC Record - Hide help button for flat editor
The help button only works for the non flat editor, so show it only
when flat editor isn't in use.
Signed-off-by: Josh Stompro <stompro@stompro.org>
LP#
1862235 - Create MARC Record - Flat Editor - Keyboard Shortcut for Saving
Adds ctrl+s as a keyboard shortcut for saving the marc record while in the
flat text editor.
Signed-off-by: Josh Stompro <stompro@stompro.org>
LP#
1862235 - Create MARC Record - Non-Flat Editor - Keyboard Shortcuts
Added the following shortcuts to the marc editor keyboard shortcuts.
Ctrl+s for save,
Ctrl+l for validate,
Ctrl+? for toggle help
Signed-off-by: Josh Stompro <stompro@stompro.org>
LP#
1862235 - Create MARC Record - Jump to Flat Editor - Keyboard Shortcut
Added ctrl+e to jump to the flat editor textarea.
Signed-off-by: Josh Stompro <stompro@stompro.org>