Commit Graph

1689 Commits

Author SHA1 Message Date
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