LP1812414 Keyboard shortcut to log out collab/sleary/lp1812414-logout-shortcut
authorStephanie Leary <stephanie.leary@equinoxoli.org>
Wed, 3 May 2023 20:25:31 +0000 (20:25 +0000)
committerStephanie Leary <stephanie.leary@equinoxoli.org>
Fri, 5 May 2023 15:33:57 +0000 (15:33 +0000)
commit24b7269d5b0157c54db320b43b1d2c6bb4e2ae39
tree026192ab60be5c1f3683eba0910c3a81b72be5ce
parent9aa747894e3caa84c4ec4fd406eda9973ac926be
LP1812414 Keyboard shortcut to log out

Allows the user to log out by pressing Alt + Shift + Q.

Also adds an optional confirmation dialog to keyboard shortcuts. If a
confirmation message is given as an input, a confirmation dialog will be
shown using that message, and the user must confirm before the action is
performed.

Logging out is currently the only keyboard shortcut that requires a
confirmation.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Open-ILS/src/eg2/src/app/share/accesskey/accesskey.component.ts [new file with mode: 0644]
Open-ILS/src/eg2/src/app/share/accesskey/accesskey.directive.ts [deleted file]
Open-ILS/src/eg2/src/app/share/accesskey/accesskey.service.ts
Open-ILS/src/eg2/src/app/staff/common.module.ts
Open-ILS/src/eg2/src/app/staff/nav.component.html