Keyboard shortcuts in the Web staff client not noted within menus

Bug #1622358 reported by Jane Sandberg
66
This bug affects 14 people
Affects Status Importance Assigned to Milestone
Evergreen
Confirmed
Undecided
Unassigned

Bug Description

In the XUL client, the menus list keyboard shortcuts for menu items. For example, the first entry in the circulation menu reads "Check Out Items F1".

Though the F1 shortcut still works in the Web staff client, it is not noted in the menu (the menu entry simply reads "Check Out"). Users of the web client would not therefore not be able to learn about this nice time-saving functionality, except perhaps by accident.

This report is based on the current Webby demo server.

tags: added: webstaffclient
Revision history for this message
Michele Morgan (mmorgan) wrote :

I have noticed this while working in the web client as well. Displaying the function keys within the menus provides a built in cheat sheet for the function keys, as well as cluing in the user that the functionality exists.

Changed in evergreen:
status: New → Confirmed
Kathy Lussier (klussier)
Changed in evergreen:
assignee: nobody → Kathy Lussier (klussier)
Kathy Lussier (klussier)
Changed in evergreen:
assignee: Kathy Lussier (klussier) → nobody
Revision history for this message
Alberto Martinez (0101martinez) wrote :

Hello,

I'm currently working on noting the shortcut keys in the drop down menu. Almost done :)

Changed in evergreen:
assignee: nobody → Alberto Martinez (0101martinez)
Revision history for this message
Terran McCanna (tmccanna) wrote :

Great! Thanks, Alberto!

Revision history for this message
Alberto Martinez (0101martinez) wrote :
tags: added: pullrequest
Revision history for this message
Terran McCanna (tmccanna) wrote :

Thanks, Alberto!

A few notes:

Line 82: l('Check Out') was changed to l('Check Out ') which would break the translation.

Line 130: "Ctrol" should be "Ctrl"

These two are missing:
  F8 Retrieve Last Patron
  Shift-F8 Retrieve Last Bib Record

Since this is changing translatable strings, the language files should also be updated to match or else current translations will break. Alternatively these could separate the strings for the shortcut keys into two parts so that the current translations wouldn't break and only the new strings would need to be added for translations:

<span>[% l('Search the Catalog') %][% l('- F3') %]</span>

Revision history for this message
Alberto Martinez (0101martinez) wrote : Re: [Bug 1622358] Re: Keyboard shortcuts in the Web staff client not noted within menus

Hello,

I recently uploaded a new version with all the fixes:
https://github.com/evergreen-library-system/Evergreen/pull/55/files#diff-bb661cbacbce40d2d8d0ca8415c86600

Regards,

Alberto Martinez

On Wed, Jun 6, 2018 at 11:14 AM, Terran McCanna <
<email address hidden>> wrote:

> Thanks, Alberto!
>
> A few notes:
>
> Line 82: l('Check Out') was changed to l('Check Out ') which would break
> the translation.
>
> Line 130: "Ctrol" should be "Ctrl"
>
> These two are missing:
> F8 Retrieve Last Patron
> Shift-F8 Retrieve Last Bib Record
>
> Since this is changing translatable strings, the language files should
> also be updated to match or else current translations will break.
> Alternatively these could separate the strings for the shortcut keys
> into two parts so that the current translations wouldn't break and only
> the new strings would need to be added for translations:
>
> <span>[% l('Search the Catalog') %][% l('- F3') %]</span>
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/1622358
>
> Title:
> Keyboard shortcuts in the Web staff client not noted within menus
>
> Status in Evergreen:
> Confirmed
>
> Bug description:
> In the XUL client, the menus list keyboard shortcuts for menu items.
> For example, the first entry in the circulation menu reads "Check Out
> Items F1".
>
> Though the F1 shortcut still works in the Web staff client, it is not
> noted in the menu (the menu entry simply reads "Check Out"). Users of
> the web client would not therefore not be able to learn about this
> nice time-saving functionality, except perhaps by accident.
>
> This report is based on the current Webby demo server.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/evergreen/+bug/1622358/+subscriptions
>

Revision history for this message
Terran McCanna (tmccanna) wrote :

Hi Alberto,

We applied the patches to our 3.0.2 test server, but it is causing us to lose our menus entirely (we are just seeing a green bar). I'm not sure what is causing the breakage.

Terran

Revision history for this message
Remington Steed (rjs7) wrote :

I added a comment on the github pull request to the code lines that might be causing the problem.

Revision history for this message
Alberto Martinez (0101martinez) wrote :

Hello,

I will check it out and get right back to you.

Thank you

On Fri, Jun 22, 2018 at 9:39 AM, Remington Steed <email address hidden> wrote:

> I added a comment on the github pull request to the code lines that
> might be causing the problem.
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/1622358
>
> Title:
> Keyboard shortcuts in the Web staff client not noted within menus
>
> Status in Evergreen:
> Confirmed
>
> Bug description:
> In the XUL client, the menus list keyboard shortcuts for menu items.
> For example, the first entry in the circulation menu reads "Check Out
> Items F1".
>
> Though the F1 shortcut still works in the Web staff client, it is not
> noted in the menu (the menu entry simply reads "Check Out"). Users of
> the web client would not therefore not be able to learn about this
> nice time-saving functionality, except perhaps by accident.
>
> This report is based on the current Webby demo server.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/evergreen/+bug/1622358/+subscriptions
>

Revision history for this message
Dawn Dale (ddale) wrote :

I am testing this patch.

Changed in evergreen:
assignee: Alberto Martinez (0101martinez) → Dawn Dale (ddale)
Revision history for this message
Dawn Dale (ddale) wrote :

I am not able to test this patch. Chris says it looks like it is still being worked on and not ready to test.

Changed in evergreen:
assignee: Dawn Dale (ddale) → nobody
tags: removed: pullrequest
Revision history for this message
Jane Sandberg (sandbergja) wrote :

A note that these shortcuts will also have to be noted within the ang6 menu: Open-ILS/src/eg2/src/app/staff/nav.component.html

Revision history for this message
Jane Sandberg (sandbergja) wrote :

Hi all! Here's a new branch that does the following:
* Squashes Alberto's code into a single commit
* Adds Remington's fix
* Duplicates Alberto's solution in the Angular client

It's called user/sandbergja/lp1622358_shortcut_keys_in_menus

Here's a link: https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/sandbergja/lp1622358_shortcut_keys_in_menus

tags: added: pullrequest
Revision history for this message
Jane Sandberg (sandbergja) wrote :

It also rebases Alberto's code against current master.

tags: removed: pullrequest
Revision history for this message
Jane Sandberg (sandbergja) wrote :

Removing pullrequest and adding needsdiscussion tags. I just noticed two things about the Angular client:

1) The keyboard shortcuts are not all added to the Angular client yet. I split this off into this bug: https://bugs.launchpad.net/evergreen/+bug/1829567
2) The Angular client has a different way to let the user know about keyboard shortcuts. If you type Ctrl+H into the Angular client, it will give you a list of keyboard shortcuts. I think it's worth some discussion about whether we should note keyboard shortcuts in both places.

tags: added: needsdiscussion
tags: added: usability
removed: webstaffclient
Revision history for this message
Jennifer Weston (jweston) wrote :

Discussed in CWG -- many comments in favor of having keyboard shortcuts in both places.

General agreement with comment #1 from Michele -- "Displaying the function keys within the menus provides a built in cheat sheet for the function keys, as well as cluing in the user that the functionality exists."

Revision history for this message
Terran McCanna (tmccanna) wrote :

Since Ctrl+H only works in the pages that have been updated to Angular and not in any of the older pages, I'm in favor of adding the shortcut hints to the menu items.

Revision history for this message
Michele Morgan (mmorgan) wrote :

Adding a link to related bug 1999955.

Also, since this info doesn't seem to be widely known (and is easily forgotten :) ), the following are used to open the keyboard shortcut modals.

Ctrl+H - angular screens
? - angularjs screens

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.