LP1812414 Keyboard shortcut to log out (WIP) user/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>
Wed, 3 May 2023 20:35:45 +0000 (20:35 +0000)
commitc10d59bea469fb6918bfed8d19aeb55cfc150bce
tree79ac0040ace531ea3b7c1239798dbeffc8197a30
parentcadb7351a932247e0ee9219217546ae09d4d0d4a
LP1812414 Keyboard shortcut to log out (WIP)

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.directive.ts
Open-ILS/src/eg2/src/app/share/accesskey/accesskey.service.ts
Open-ILS/src/eg2/src/app/staff/nav.component.html