Merged
Conversation
Socket Security Pull Request Report👍 No new dependency issues detected in pull request Pull request report summary
Bot CommandsTo ignore an alert, reply with a comment starting with Ignoring: Powered by socket.dev |
Contributor
|
@SocketSecurity ignore [email protected] |
12 tasks
mholtzman
commented
Mar 22, 2023
mholtzman
commented
Mar 22, 2023
mholtzman
commented
Mar 22, 2023
goosewobbler
approved these changes
Mar 22, 2023
mholtzman
added a commit
that referenced
this pull request
Mar 22, 2023
Co-authored-by: goosewobbler <[email protected]> Co-authored-by: goosewobbler <[email protected]>
mholtzman
added a commit
that referenced
this pull request
Apr 5, 2023
Co-authored-by: goosewobbler <[email protected]> Co-authored-by: goosewobbler <[email protected]>
|
Just wanted to confirm that this (0.6.2-canary.2) allows selecting a working summon key on linux. The alt+- default previously did not work for me (nor does alt+- work now if choosen). Didnt investigate why alt+- didnt work. But thanks for fixing this! |
mholtzman
added a commit
that referenced
this pull request
Apr 10, 2023
* Choose summon keybinding (#1494) Co-authored-by: goosewobbler <[email protected]> Co-authored-by: goosewobbler <[email protected]> * remove schema files, update test * add default shortcuts state * edit shortcut clarity (#1514) --------- Co-authored-by: goosewobbler <[email protected]> Co-authored-by: goosewobbler <[email protected]> Co-authored-by: Jordan Muir <[email protected]>
mholtzman
added a commit
that referenced
this pull request
Apr 18, 2023
Co-authored-by: goosewobbler <[email protected]> Co-authored-by: goosewobbler <[email protected]>
mholtzman
added a commit
that referenced
this pull request
Apr 19, 2023
Co-authored-by: goosewobbler <[email protected]> Co-authored-by: goosewobbler <[email protected]>
mholtzman
added a commit
that referenced
this pull request
Apr 19, 2023
Co-authored-by: goosewobbler <[email protected]> Co-authored-by: goosewobbler <[email protected]>
mholtzman
added a commit
that referenced
this pull request
Apr 19, 2023
Co-authored-by: goosewobbler <[email protected]> Co-authored-by: goosewobbler <[email protected]>
mholtzman
added a commit
that referenced
this pull request
Apr 20, 2023
* Integrate pylon evm (#1478) * bump version * remove infura and alchemy presets, use pylon * update package lock * remove gnosis chain preset * fix chain name * move migrations to separate files, use TS (#1482) * add Zod validation of state chain objects, infer types (#1485) * add Zod validation of state chain objects, infer types * move state files to TS, add more inferred types * fix persist mock for tests * add types to main state * update test * add mute notification schema * move type export to state main * move legacy file to TS * try new migration format * update legacy migrations and tests * fix gas fees type * fix gas type * move legacy mapping * final migration prototype * finish migration poc * finish cleaning up migrations * test cleanup * fix compilation error * fix state parsing * Choose summon keybinding (#1494) Co-authored-by: goosewobbler <[email protected]> Co-authored-by: goosewobbler <[email protected]> * re-order migrations * convert hot signers to TS, make tests run reliably * more commits * update comment * remove unneeded assignment * make worker interaction more typesafe * remove unused code * remove unused interface * fix tests * revert weird test change * try revert file * try move * decouple worker controller and launch script, write controller tests * fix worker exit in tests * remove double cast * rename some files * remove ignore * clean up worker interface * last cleanup, fix typed data * more type safety * rebase, add bip39 type * remove ts-ignores * remove rebase artifact * remove migration files * update package lock --------- Co-authored-by: goosewobbler <[email protected]> Co-authored-by: goosewobbler <[email protected]>
mholtzman
added a commit
that referenced
this pull request
Jun 23, 2023
Co-authored-by: goosewobbler <[email protected]> Co-authored-by: goosewobbler <[email protected]>
mholtzman
added a commit
that referenced
this pull request
Jun 23, 2023
* Integrate pylon evm (#1478) * bump version * remove infura and alchemy presets, use pylon * update package lock * remove gnosis chain preset * fix chain name * move migrations to separate files, use TS (#1482) * add Zod validation of state chain objects, infer types (#1485) * add Zod validation of state chain objects, infer types * move state files to TS, add more inferred types * fix persist mock for tests * add types to main state * update test * add mute notification schema * move type export to state main * move legacy file to TS * try new migration format * update legacy migrations and tests * fix gas fees type * fix gas type * move legacy mapping * final migration prototype * finish migration poc * finish cleaning up migrations * test cleanup * fix compilation error * fix state parsing * Choose summon keybinding (#1494) Co-authored-by: goosewobbler <[email protected]> Co-authored-by: goosewobbler <[email protected]> * re-order migrations * convert hot signers to TS, make tests run reliably * more commits * update comment * remove unneeded assignment * make worker interaction more typesafe * remove unused code * remove unused interface * fix tests * revert weird test change * try revert file * try move * decouple worker controller and launch script, write controller tests * fix worker exit in tests * remove double cast * rename some files * remove ignore * clean up worker interface * last cleanup, fix typed data * more type safety * rebase, add bip39 type * remove ts-ignores * remove rebase artifact * remove migration files * update package lock --------- Co-authored-by: goosewobbler <[email protected]> Co-authored-by: goosewobbler <[email protected]>
mholtzman
added a commit
that referenced
this pull request
Jul 26, 2023
Co-authored-by: goosewobbler <[email protected]> Co-authored-by: goosewobbler <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Allowing users to choose the summon keybinding. Key presses are detected and mapped to an accelerator which is registered using the globalShortcut API. We are still using the experimental keyboard API getLayoutMap to better represent shortcut keys to users with different keyboard layouts (though this does not work in all cases)
https://www.w3.org/TR/uievents-code/#code-value-tables
https://www.electronjs.org/docs/latest/api/accelerator
https://www.electronjs.org/docs/latest/api/global-shortcut
https://developer.mozilla.org/en-US/docs/Web/API/Keyboard/getLayoutMap
https://tkainrad.dev/posts/why-keyboard-shortcuts-dont-work-on-non-us-keyboard-layouts-and-how-to-fix-it
Limitations
CTRL + ALT + Dworks because multiple modifierKeys are allowed butCTRL + A + Dis not possible due to two shortcutKeys) - this is an Electron limitation, accelerators are defined as suchTesting
102 key UK keyboard (all platforms) & Macbook Pro UK keyboard (Mac)
Layouts - EN (US), EN (UK), ES (Spain), FR (France), DE (Germany)
Whitelisted Keys
Modifiers -
Ctrl,Alt,Meta,CommandLetters -
KeyA-KeyZNumbers -
Digit0-Digit9Arrow keys
Punctuation - limited to
Comma,Period,Slashas most of these keys are problematic across different layouts.Function keys - apart from F12 because it doesn't work on Windows.
Numpad keys - apart from
Numlock&NumpadEnter, which don't work.EscapeSpaceEnterTODO: