* fix: add report user button back to profile pages
* fix: make local redirect to signin work
* fix: redirect to learn instead of homepage
* fix: change from gatsby Link to the helper component Link
* feat: add tests for profile report and settings buttons
* Update client/src/client-only-routes/ShowUser.js
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* Update client/src/client-only-routes/ShowUser.js
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* Update client/src/client-only-routes/ShowUser.js
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* Update client/src/client-only-routes/ShowUser.js
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* Update client/src/client-only-routes/ShowUser.js
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* feat/ add smooth scroll from landing to map
* feat: scroll to currentChallengeId if it exist
* fix: update tests
* refactor: migrate from componentWillMount
* fix: update Map and Block's tests and mocks
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* feat: Passing hits from SearchHits to parent SearchBar to keep track of with the keyboard. Moved all logic for number of hits to WithInstantSearch.js
* Basic functionality working
* Added up/down looping functionality to dropdown
* Set 's' and '/' as shortcuts to focus the search bar
* Moved some things around and added functionality for mouse hovering to change the selected hit. Reworked a bit of the global CSS so mouse hovers don't cause multiple highlights in the dropdown
* Brought back magnifying glass icon
* feat: Switched out onKeyDown and key codes for react-hotkeys
* Refactoring based on review
Added GlobalHotKeys just to make sure all keyup events are registered,
regardless of what state HotKeys is in.
Co-authored-by: moT01 <tmondloch01@gmail.com>
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