Commit Graph

5 Commits

Author SHA1 Message Date
Oliver Eyton-Williams
cd3ef998a6 fix: rollback react-hotkeys and remove buttons 2019-09-24 22:22:14 +05:30
Oliver Eyton-Williams
465f206a9d fix: focus on HotKeys by default 2019-09-24 22:22:14 +05:30
Oliver Eyton-Williams
af1008f4e5 fix: wrap backend and project in Hotkeys
Co-authored-by: moT01 <tmondloch01@gmail.com>
2019-09-24 22:22:14 +05:30
Oliver Eyton-Williams
c91393d737 feat: use local HotKeys and allow editor escape
GlobalHotKeys were abandoned, because they were capturing events that
had called stopPropagation.  This meant that something needed to be in
focus, hence passing a ref of the HotKey DOM element to the Editor.

react-hotkeys has been updated to 2.0.0-pre9, because 2.0.0 captured
ctrl keypresses when asked for ctrl+enter

Currently only classic challenges can be executed by hotkey, but all
allow hotkey navigation
2019-09-24 22:22:14 +05:30
mrugesh
5d92b3c668 fix: project views and icons for intros (#36811) 2019-09-19 10:14:58 +03:00