#4221 (Make the React front end more keyboard friendly)
by Luc Saffre · in Developers · assigned to Sharif Mehedi
Kokkuvõte
Children
Kommentaarid
- 5 aastat, 3 kuud ago by Luc Saffre about #4221 (Make the React front end more keyboard friendly) : Yet another details : in the insert window, ESCAPE should close the window. When Lino asks for confirmation, ENTER should be equivalent to OK button and ESCAPE equivalent to the Cancel button.
- 5 aastat, 3 kuud ago by Sharif Mehedi about #4221 (Make the React front end more keyboard friendly) : CTRL+M is used by the browser to mute and unmute. I added ALT+M instead to activate keyboard nav on menu.
- 5 aastat, 3 kuud ago by Luc Saffre about #4221 (Make the React front end more keyboard friendly) : Ctrl+Home = goto first page Ctrl+End = goto last page
- 5 aastat, 3 kuud ago by Luc Saffre about #4221 (Make the React front end more keyboard friendly) : And yet another thing : PgUp/PgDn should go to the previous/next page.
- 5 aastat, 3 kuud ago by Luc Saffre about #4221 (Make the React front end more keyboard friendly) : One last thing: try whether you can get the menu to work using keyboard. Maybe Ctrl+M to activate, and then arrow keys up/down and right to expand and left to collapse, and ENTER to select. But if it is difficult, then don't waste too much time.
- 5 aastat, 3 kuud ago by Luc Saffre about #4221 (Make the React front end more keyboard friendly) : Code looks good. I merged your changes and tested them manually in apc, both using ExtJS and React. Works very well! One detail under Firefox with React : Ctrl+P in an invoice detail continues to open the browser's "print page" dialog. In ExtJS this works.
- 5 aastat, 3 kuud ago by Sharif Mehedi about #4221 (Make the React front end more keyboard friendly) : I put the get_actions_hotkeys() on the CachedPrintable class and now the `CTRL+p` is available on the all the Actors of excerpts plugin because the directly inherit from TypedPrintable, this is okay and working fine; but - the hotkey does not work in sales.InvoiceByJournal, because they do not direc...
- 5 aastat, 4 kuud ago by Luc Saffre about #4221 (Make the React front end more keyboard friendly) : Don't forget to also add Ctrl-P keyboard shortcut to printing.Printable.to_print().
- 5 aastat, 4 kuud ago by Sharif Mehedi about #4221 (Make the React front end more keyboard friendly) : added: keyboard shortcuts - 'Insert' on LinoBody, 'CTRL-s' on dialog, hotkeys on LinoBody. See: gitlab.com/lino-framework/react/-/commit/5b3f25dd69f1fd0a6e64d4b4a29d0da93971c54f
- 5 aastat, 4 kuud ago by Luc Saffre about #4221 (Make the React front end more keyboard friendly) : Two older tickets are sub-tickets of this: #3903 and #2678
- 5 aastat, 4 kuud ago by Luc Saffre about #4221 (Make the React front end more keyboard friendly) : For example, Ctrl+S works in detail window but not in insert window.