Commit Graph

1765 Commits (699ffc5593e65f50d4acb977a80d1ce425976186)

Author SHA1 Message Date
Oliver Eyton-Williams 6ce9482b22 fix: stop quotes reloading (#37342) 2019-10-16 22:45:39 +05:30
Ahmad Abdolsaheb 31d3e5eb3b fix: add nav items (#37339)
* fix: add nav items

* fix: clean up
2019-10-16 23:09:31 +09:00
Oliver Eyton-Williams dd008f73d2 fix: make info tab default on mobile challenges (#37280) 2019-10-16 18:45:50 +05:30
mrugesh a2762fe4c3
fix: remove rollbar from loading in client (#37338) 2019-10-16 17:33:08 +05:30
Oliver Eyton-Williams 4ad58f56ea feat: focus on editor with hotkey 'e' (#37202) 2019-10-16 17:23:16 +05:30
Joseph Ting 61b60a3f45 fix: punctuation grammar of welcome message (#37335) 2019-10-16 16:56:37 +05:30
Ricky Syamsi 881b24a54c fix: code style in output now mirror test suite (#37316) 2019-10-16 16:55:52 +05:30
Ahmad Abdolsaheb 09eebd8598 fix: save the fonts locally 2019-10-16 19:29:48 +09:00
Mrugesh Mohapatra 3c50f7651c fix: add rollbar keys 2019-10-16 13:07:57 +05:30
Kristofer Koishigawa 3cd0bf0106 fix: temporarily remove rollbar (#37333)
* fix: Temporarily remove rollbar

* Reverting changes to api-server
2019-10-16 12:20:56 +05:30
Ahmad Abdolsaheb 8e07bbb7a0 fix: adjust nav focus (#37318)
* fix: adjust nav focus

* fix: clean up
2019-10-16 03:56:19 +05:30
Kristofer Koishigawa 2d478f977e fix: search bar hover and arrow select highlights (#37303) 2019-10-15 17:09:02 +05:30
Ricky Syamsi d66a4655d1 fix(learn): Add tab text hover color on mobile (#37262)
* fix: add tab text hover color on mobile
2019-10-15 18:16:40 +09:00
Ahmad Abdolsaheb 504f835b7d feat: use lato for large blocks of words 2019-10-15 15:02:47 +09:00
Ahmad Abdolsaheb 2425f705c2 fix: reword honesty policy and replace profile with portfolio… (#37282) 2019-10-15 00:07:53 +07:00
Oliver Eyton-Williams e256dbc611 feat: Escape hotkey enters 'navigation mode' (#37167)
* fix: escape to navigation mode more generally

Previously only 'escape'ing from the editor prevented auto focus on the
editor, now you can 'escape' from anywhere that listens to Hotkeys.

Also the outline for HotKeys is hidden as it is not used by tab
navigation.

* feat: require escape to enter navigation mode
2019-10-14 23:50:58 +07:00
Ahmad Abdolsaheb 28c0102ecc fix:minor style changes (#37208)
* fix: minor style changes
2019-10-14 23:56:47 +09:00
Ahmad Abdolsaheb e6d55fd086 feat: add fonts locally 2019-10-14 20:31:58 +09:00
Ricky Syamsi adef6950c2 feat: add keyboard nav with up and down keys in challenge description 2019-10-13 20:05:51 +09:00
Mattia Tommasone 365f599c06 Added specific font-size for .btn-cta in the 500px breakpoint (#37201) 2019-10-11 16:25:16 +03:00
TheBestNinja c3d2b19d62 fix: add intro JavaScript Algorithms and Data Structures (#37060) 2019-10-10 02:26:28 -07:00
Derryk Boyd 6cb72ef02e fix: code block color to improve contrast (#37162)
* Fix: Code block color to improve contrast

* Update client/src/components/layouts/prism.css

Co-Authored-By: mrugesh <1884376+raisedadead@users.noreply.github.com>

* Pull request updates
2019-10-09 23:37:11 -07:00
mrugesh cc3c9a8fa2
chore: update meta, caching and headers (#37159) 2019-10-09 14:23:41 -07:00
Oliver Eyton-Williams ed015fb06f fix: make profile update after server response (#37154)
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.
2019-10-09 11:31:20 -07:00
mrugesh 7c31a49296
revert: point to the subdomain instead (#37155)
This reverts commit 3fa6c6a032.
2019-10-09 10:23:59 -07:00
Tom 8de9cb729b fix: make redirect timer count down to zero (#37148) 2019-10-09 06:58:49 -07:00
Oliver Eyton-Williams 52653c57fc fix: ignore input elements except in search (#37145) 2019-10-09 06:58:31 -07:00
Ahmad Abdolsaheb 418f7631af fix: make donation styles consistent (#37140)
* fix: adjust the styles of alerts

* fix: clean up
2019-10-09 05:02:39 -07:00
Oliver Eyton-Williams bc1b6ca7a2 feat: handle completion when logged out 2019-10-09 03:11:37 -07:00
Oliver Eyton-Williams feb96c3e3b fix: prevent execution while submitting 2019-10-09 03:11:37 -07:00
Mrugesh Mohapatra 27d1b49b33 fix: pascal case for component 2019-10-09 14:00:42 +05:30
Nawazish Ali d3f0494518 refactor(client): Nav logo to be served as a React svg compone… (#37136)
* Refactor fccLogo to be served as a React svg component.

* fix: brand naming conventions


Co-authored-by: mrugesh <me@raisedadead.com>
2019-10-09 01:22:51 -07:00
Kris Koishigawa 74778c1af8 fix: Updated all Glitch URLs used to import/remix a GitHub repo 2019-10-08 11:04:30 -07:00
Mrugesh Mohapatra 4057bb1cc2 fix(client): update report-user placeholder text 2019-10-08 11:01:26 -07:00
moT01 5b2ade9cee feat: render profile preview on own private profile
- change verbiage on my own private profile
- render a preview of my own private profile
- move report user link to bottom of the profile
2019-10-08 11:01:26 -07:00
Ahmad Abdolsaheb 6ed3426128 fix: remove scrolling (#37098) 2019-10-08 02:00:08 -07:00
Oliver Eyton-Williams e72855dad3 fix: handle invalid Algolia keys gracefully in dev (#37088)
Invalid keys throw an error in production, but just cause invalid
PropTypes and build warnings in development.
2019-10-08 01:19:43 -07:00
Mrugesh Mohapatra f48952c3e6 fix(client): move all user fetching to learn 2019-10-07 15:19:21 -07:00
Mrugesh Mohapatra ebe9c468e3 fix: disable donation modal for now 2019-10-07 15:19:01 -07:00
Mrugesh Mohapatra e5e5353ff1 fix: point to the subdomain instead 2019-10-07 15:19:01 -07:00
Ahmad Abdolsaheb 1cfd52209a fix: default to light mode (#37100) 2019-10-07 13:05:31 -07:00
Carlos Pulido ce24845fa1 fix: Can't read buttons on dev 404 page + nightmode (#36929)
* fix: Can't read buttons on dev 404 page + nightmode

* fix: Can't read buttons on dev 404 page + nightmode, updated in global.css file

* Removed unnecesary changes

* feat: arrange the styles


Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
2019-10-07 07:40:10 -07:00
Oliver Eyton-Williams cd27e73917 fix: improve challenge layout on mobile (#37029) 2019-10-07 07:39:54 -07:00
Ismael González Trujillo a68345ae56 refactor(client): Refactor menu to use refs (#37047)
* Refactor menu to use refs #37025

* Fix Header tests #37025

* Removing unneeded forwardRefs #37025
2019-10-07 15:33:47 +03:00
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 4ef44a4621 chore(client): update monaco-editor 2019-09-04 18:56:06 +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
Ahmad Abdolsaheb a59b8636cb
fix: restore preview background to white (#36714) 2019-08-29 18:45:32 +03:00
mrugesh fa0e198ef9
fix: update lerna npm audit commands (#36700)
* fix: update the audit commands

* chore: update all dependencies

* chore: remove concurrency limit from commands

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

* fix: add no-bail to commands

Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2019-08-28 23:06:23 +05:30
mrugesh a53a4ac303
fix(client): forum help and hints (#36625)
* fix(client): add warning on exceeding forum post length limit

Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>

* fix: corrected guide url for backend challenges and projects

* fix: moved  getGuideUrl to  utils

* fix: added forumTopicId to ChallengeNode PropTypes

* fix: conolidated helpers and add base url to env.json

* fix: made use template literals

* tests: created unit tests for getGuideUrl

* fix: add characters which will be encoded

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

* fix: use encoded version of title

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

* fix: encode title

Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2019-08-28 21:55:56 +05:30
Kristofer Koishigawa a03602a1d4 fix(search): update search bar index and styling (#36656)
* 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>
2019-08-28 12:22:19 +05:30
Tom 8b43105d75 fix(style): info message on a private profile + night mode (#36697)
* fix(style): private-profile-alert-message
* fix: remove-alert-component
2019-08-28 00:00:51 +05:30