Commit Graph

921 Commits

Author SHA1 Message Date
Aravind V. Nair
d0cda5820c chore: .gitignore and image enhancements (#37075)
Co-Authored-By: mrugesh <1884376+raisedadead@users.noreply.github.com>
Co-authored-by: ImgBot <ImgBotHelp@gmail.com>
2019-10-07 03:58:07 -07:00
Tom
c52c36e51e fix: add report user button back to profile pages (#36926)
* 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>
2019-10-05 00:28:16 -07:00
Ahmad Abdolsaheb
ece3dbac80 fix: remove theme nav item (#37028) 2019-10-04 09:31:29 -07:00
Oliver Eyton-Williams
1130a1c0df chore: update to beta of react-instantsearch-dom (#36843)
* chore: update to beta of react-instantsearch-dom

* feat: use .env variables for search keys
2019-10-04 18:03:20 +02:00
Ahmad Abdolsaheb
203ca92a20 feat: improve landing page (#36826)
* 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>
2019-10-04 08:32:35 -07:00
Ahmad Abdolsaheb
f9a112b43e feat: add toggle nav (#36956)
* feat: re-add toggle menu

* Update client/src/components/Header/components/universalNav.css

Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* Update client/src/components/Header/components/universalNav.css

Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* Update client/src/components/Header/components/universalNav.css

Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* fix: fix lint error
2019-10-04 08:00:17 -07:00
Oliver Eyton-Williams
3c006d1823 fix: close CompletionModal when unmounted (#36991) 2019-10-03 09:42:24 -07:00
Kristofer Koishigawa
07c552bffe feat: accessible search bar (#36784)
* 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
2019-10-01 07:43:53 -07:00
Oliver Eyton-Williams
aada59b068 fix: make fcc console log undefined 2019-09-27 22:08:40 +05:30
Oliver Eyton-Williams
9c2f1ffd82 refactor: combine slug utils into one module 2019-09-26 22:15:27 +05:30
ivan-nikolaievskyi
6db0c1e71b fix(client): enable setting button when user profile is private (#36848)
Co-authored-by: i.nikolaievskyi <ivan.nikolaievskyi@leaseplan.com>
2019-09-26 15:53:02 +05:30
Tom
8134a480a5 fix: use gatsby link where applicable (#36788) 2019-09-25 19:49:14 +05:30
Oliver Eyton-Williams
95fdb74d95 feat: escape prevents automatic editor focus 2019-09-24 22:22:14 +05:30
moT01
a7c42446be fix: remove command from hotkeys 2019-09-24 22:22:14 +05:30
Oliver Eyton-Williams
6f5b22fd21 fix: re-remove Side-Panel 2019-09-24 22:22:14 +05:30
Oliver Eyton-Williams
8b2f96609d fix: improve cross-platform consistency
Co-authored-by: moT01 <tmondloch01@gmail.com>
2019-09-24 22:22:14 +05:30
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
023df09289 fix: use GlobalHotKeys to catch keyup events
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>
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
Oliver Eyton-Williams
ab3a9076d9 fix: change hotkeys to work across platforms
Co-authored-by: moT01 <tmondloch01@gmail.com>
2019-09-24 22:22:14 +05:30
Oliver Eyton-Williams
a19ceeffe2 feat: add navigation hotkeys 2019-09-24 22:22:14 +05:30
mrugesh
e54a7fb350 fix(client): merge and update the learn map (#36822) 2019-09-21 16:39:48 +03:00
Oliver Eyton-Williams
0c68f6a605 fix: improve map responsiveness (#36827)
* fix: improve map responsiveness

* fix: update SuperBlock tests
2019-09-20 23:52:03 +05:30
Parth Parth
8c921a05d6 feat: add top five company logos (#36812) 2019-09-19 22:24:08 +05:30
Ahmad Abdolsaheb
e653235d94 feat: universal navbar (#36744)
* feat: add universal nav

* fix: add portfolio redirect
2019-09-19 22:15:01 +05:30
Oliver Eyton-Williams
c483940da0 fix: stop Editor competing with Modal for focus
Editor now checks if the modal is open before trying to obtain focus.
2019-09-19 17:47:02 +05:30
mrugesh
5d92b3c668 fix: project views and icons for intros (#36811) 2019-09-19 10:14:58 +03:00
Ahmad Abdolsaheb
0f3e248b5b fix: clean up old views (#36778)
* fix: clean up

* fix: redirect /software-resources-for-nonprofits

* fix: update snap and redirect
2019-09-15 13:06:11 +05:30
Mrugesh Mohapatra
39aa707533 revert: "fix: make night mode default for code blocks"
This reverts commit 5a38887af1.
2019-09-11 23:20:01 +05:30
Mrugesh Mohapatra
b40e069724 revert: "fix: ensure 'night' is set before hydration"
This reverts commit 18bee1bd59.
2019-09-11 23:20:01 +05:30
Tom
338234d635 fix: make donate modal scrollable (#36761)
* fix: make donate modal scrollable

* fix: make text more readable on donate modal


Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
2019-09-07 03:19:56 +05:30
Tom
2b9d2605c5 fix(style): remove margin on certifications (#36755) 2019-09-06 14:59:39 +05:30
Tom
40b6b68178 fix(style): rework color scheme for icons (#36760)
* fix(style): rework color scheme for icons

* fix: update snapshot

* fix(style): add some space in and around test area

* fix(style): lessen padding
2019-09-06 14:56:08 +05:30
arun-sharma-blr
418a1061dd fix: added a microservices section (#32799)
Added a quick introduction to microservices
2019-09-04 19:36:16 +05:30
Valeriy
9ce4331e25 fix(client): set --header-height only if Header exists 2019-09-04 19:00:57 +05:30
Valeriy
d161459109 feat(client): show loader if editor takes a long time to load 2019-09-04 18:56:08 +05:30
Valeriy
aaf7ed7357 fix(client): adjust splitters styles 2019-09-04 18:56:07 +05:30
Valeriy
7d52d9a3bb feat(client): lazy load Monaco editor 2019-09-04 18:56:06 +05:30
Ahmad Abdolsaheb
9ff7bf5801 feat: simplify landing page 2019-09-04 18:23:21 +05:30
Ahmad Abdolsaheb
5dd8044035 fix(client): modal a11y and learn tabs on mobile (#36750)
* fix/ make modal more visible and adjust learn tabs on mob

* fix: clean up

* fix: update snapshot
2019-09-04 18:20:35 +05:30
Valeriy
d85425fd1b feat(client): use React Final Form instead of Redux Form (#36742) 2019-09-04 18:18:58 +05:30
Stuart Taylor
271d25a2ab fix: Render completed checkmark in ChallengeTitle (#36746)
* fix: Render completed checkmark in ChallengeTitle when user has passed the challenge

* fix: Update ChallengeTitle snapshot
2019-09-03 10:38:19 +03:00
Oliver Eyton-Williams
5ccbd4b43b fix: allow more space for map challenge titles (#36727) 2019-08-31 00:05:06 +05:30
Valeriy
a5536b0790 fix(client): refactor footer and fix internal links (#36726) 2019-08-30 22:49:26 +05:30
Oliver Eyton-Williams
7d84783b40 feat: show last viewed challenge in curriculum map on reload (#35421)
* 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
2019-08-30 20:15:26 +03:00
Valeriy
469c3f05c2 feat: use static query to get idToNameMap (#36722) 2019-08-30 22:37:28 +05:30
Ahmad Abdolsaheb
f8a603d182 fix: remove old views (#36677) 2019-08-30 15:24:01 +05:30
Tom
70b7080833 fix: make challenge links on profile page work (#36701)
* fix: make challenge links on profile page work

* fix: filter out certs from displaying

* fix: add suggested changes
2019-08-29 23:25:06 +05:30