You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've recently begun to use Phanpy which is, honestly, pretty awesome and one of my favorite alternative front-ends so far.
Nevertheless, I am not using a classical keyboard layout (I use bépo) and I love to navigate with my keyboard.
I checked the source code and I would like to append a shortcuts switcher. The aim of this topic is to determine which way you prefer − or not.
In my mind, I would centralize the shortcuts in an object like this one:
consthotKeysQwerty={nextMessage: "j",previousMessage: "k",//}// and to use it useHotkeys(window[hotkeyLayout].nextMessage,[...]);
And a parameter, such as a select input into Phanpy's settings would be great and would change the hotkey object. It should not change performance due to an additional condition by saving them on the window object.
May I know what do you think of this idea ?
There is no problem if you are not agree with this. It's a rare usecase and almost everyone is using qwerty or azerty layout. I think this is an exception.
In this case, I would like to centralize hotkeys to change them in an easy way before building Phanpy.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Good evening everyone,
I've recently begun to use Phanpy which is, honestly, pretty awesome and one of my favorite alternative front-ends so far.
Nevertheless, I am not using a classical keyboard layout (I use bépo) and I love to navigate with my keyboard.
I checked the source code and I would like to append a shortcuts switcher. The aim of this topic is to determine which way you prefer − or not.
In my mind, I would centralize the shortcuts in an object like this one:
And a parameter, such as a select input into Phanpy's settings would be great and would change the hotkey object. It should not change performance due to an additional condition by saving them on the
windowobject.May I know what do you think of this idea ?
There is no problem if you are not agree with this. It's a rare usecase and almost everyone is using qwerty or azerty layout. I think this is an exception.
In this case, I would like to centralize hotkeys to change them in an easy way before building Phanpy.
Thank you for reading. (:
Kind regards.
Beta Was this translation helpful? Give feedback.
All reactions