Add FOLIO keyboard shortcuts to eholdings
Priority
Environment
Template
Description
Development Team
Release
Story Points
Sprint
Attachments
defines
relates to
Checklist
hideTestRail: Results
Activity

Yuliia Dovhal March 4, 2021 at 8:46 AM
I fixed issues above. Also added expand/collapse shortcut key combination on Edit pages with accordions.
Changes are on the snapshot environment.
Could you recheck please?

Khalilah Gambrell February 25, 2021 at 2:36 AMEdited
I cannot use the edit shortcut key combination to edit a Provider record (example - https://spitfire.ci.folio.org/eholdings/providers/19) [Done]
I cannot use the edit shortcut key combination to edit a Resource record (example - https://spitfire.ci.folio.org/eholdings/resources/19-1073-339742) [Done]
I cannot use the expand/collapse shortcut key combination on a Resource record (example - https://spitfire.ci.folio.org/eholdings/resources/19-1073-351) [Done]
I cannot use the Save shortcut key combination on a Resource record (https://spitfire.ci.folio.org/eholdings/resources/19-1073-351/edit) [Done]
Moving this story back to In Progress

Denys Bohdan January 28, 2021 at 9:24 AM
Thanks , we can support creating a new record when on Package detail record. This is how it's implemented in Users, even though they are using the three pane view.

Denys Bohdan January 26, 2021 at 3:56 PMEdited
I've a few questions about this story:
Create new custom package/title - alt/option + n
- I assume this shortcut is only available if a user is on a search page. And if a user is searching for packages then pressing this combination will open Package Create page, and same for titles, right? KG:Good question. Yes. definitely. Although maybe we should also support this when the user is on a Package detail record too?focus must be on any element on the detail record
- does this include the header, or just the area that I've framed in red?[KG: Paneheader]
Stripes incorporates a set of keyboard shortcut keys for implementation across all apps. See:
Section "Platform-wide keyboard shortcuts (each app must implement) " on the wiki page Key Navigation https://folio-org.atlassian.net/wiki/display/A11Y/Keyboard+Navigation
Keyboard commands API: https://github.com/folio-org/stripes-components/tree/master/lib/Commander
The following shortcuts should be implemented in eholdings
Create new custom package/title - alt/option + n
Expand all accordions on detail record (focus must be on any element on the detail record) - cmd / ctrl + alt/option + b
Collapse all accordions on detail record (focus must be on any element on the detail record) - cmd / ctrl + alt/option + g
Edit selected detail record (focus must be on any element on the detail record view) - cmd / ctrl + alt/option + e
Save edit / new form changes (focus must be on any element on the detail record) - cmd / ctrl + s
Go to Search & Filter pane (aka first pane) - cmd / ctrl + alt/option + h
Refer to the Users app for an example implementation of the above shortcuts.