The Privacy component has been simplified and made to rely on the user
prop rather than its own state. The submitProfileUIComplete reducer was
missing so has been added.
* 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
* feat: Curriculum page loads with current challenge block open
* feat: Curriculum page expansion changes from review
* feat: Curriculum page expansion changes from second review
* fix: use a cookie to track current challenge
* fix: remove redundant server changes
* fix: add PropTypes to fix lint error
* fix: change cookies to store and add tests
* fix: use currentChallengeId
* fix: update tests
I couldn't figure out how to test the challenge saga, so that's gone for
now. The Map tests have been updated to use currentChallengeId
* fix: remove unused PropTypes
* fix: separate currentChallengeId from user
* fix: update currentChallengeId directly on mount
* feat: reset map on every visit
* Adjust search bar to only show hits for News
* Dropdown links working. Working on basic pagination
* Links to articles and temporarily routing to the News search result page working
* Fix colors for search bar and drop down
* Added Lato 300 font weight. Search bar now looks and works like it does on News.
* feat:update styles
* Update client/src/components/search/searchBar/SearchBar.js
Co-Authored-By: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
* Added Lato 300 font weight. Search bar now looks and works like it does on News.
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>