teragrep / ajs_01

User interface for Teragrep
Apache License 2.0
0 stars 0 forks source link

Improve shortcuts available on TG #274

Open ronja-ui opened 2 months ago

ronja-ui commented 2 months ago

Description There are bunch of different shortcuts on Teragrep that has been there since the start. Some of them works, some don't, and some are just weird. At the moment they are not serving their purpose.

Use case or motivation behind the feature request As wikipedia states:

Keyboard shortcuts are generally used to expedite common operations by reducing input sequences to a few keystrokes, hence the term "shortcut".

However, at the moment available shortcuts are not speeding up certain actions a user can do on Teragrep. Available shortcuts combinations are not consistent and at worst they may not work at all.

At the moment there are following patterns used in shortcuts:

Not only shortcut combinations need redesigning but also the list of actions that should have a shortcut should be reconsidered.

Related issues

Additional context See the Shortcut-test notebook on qa for a comprehensive list of commands and their status.

ronja-ui commented 2 months ago

The biggest issues are shortcuts for toggling the paragraph title and clearing the paragraph output. On Linux ctrl + alt + T opens the console and ctrl + alt + L locks the account. TG shortcuts shouldn't use any combinations that are already used on browsers or OS.