Commit Graph

106 Commits

Author SHA1 Message Date
Huyen Nguyen
2c16234853 chore: add jest global variables (#42573) 2021-06-20 09:14:42 +02:00
Kristofer Koishigawa
94d4b2f553 fix: navbar avatar height, background colors (#42076)
* fix: navbar avatar height

* fix: prevent avatar background change when hovered or focused
2021-05-11 00:15:16 +05:30
Ahmad Abdolsaheb
27c8d564e4 fix(client): replace Stripe with PayPal (#41924)
* feat: remove stripe payment option from client

* feat: remove stripe completely

* fix: remove last Stripe remnants

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-05-03 11:45:23 +03:00
Oliver Eyton-Williams
740370eb60 refactor: explicit mocking for analytics (#41562)
The previous approach did avoid a fair number of jest.mock calls, but
made debugging the tests harder. If you don't know about the mapping
it's unclear why the imported module does not behave as normal.

By forcing the use of jest.mock it means that the answer to that
question is in the test you are working on.
2021-03-29 16:48:58 -07:00
Mrugesh Mohapatra
ad9b1f89d8 fix(api, client): update Gatsby, webpack & related things (#41452)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-03-25 12:13:43 -07:00
Oliver Eyton-Williams
92dfb3065c fix(tests): expand client testing for Espanol (#41574) 2021-03-25 21:25:13 +05:30
Oliver Eyton-Williams
963c3c5af5 fix(test): handle NavLinks for Chinese locale (#41566) 2021-03-24 08:11:19 -07:00
Mrugesh Mohapatra
6c91f81b0e chore(deps): upgrade eslint, prettier & related packages 2021-03-11 12:19:42 +05:30
Mrugesh Mohapatra
b5f4754e2a fix: re-revert the API decoupling (#41263)
* fix(api): decouple api from curriculum

This reverts commit 8f0e441644 and
introduces the implementations from #40703.

* fix(gitpod): add curriculum build to GitPod

This reverts commit 706d70f58d and
introduces implementations from #41234.

* docs: update DevOps manual for api change (#41259)

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-02-25 12:02:35 -08:00
Mrugesh Mohapatra
8f0e441644 revert(api): decouple api from curriculum
This reverts commit c077ffe4b9
via PR #40703
2021-02-25 03:40:09 +05:30
Oliver Eyton-Williams
c077ffe4b9 feat(api): decouple api from curriculum (#40703) 2021-02-22 12:23:59 +05:30
Oliver Eyton-Williams
6c1f6bebed feat: label un-audited challenges (#41002)
Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com>
Co-authored-by: Mrugesh Mohapatra <me@raisedadead.com>
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2021-02-11 18:10:32 +05:30
Nicholas Carrigan (he/him)
e195eb1ebe fix(tools): better tests for navlinks (#41021)
Fixes the tests for the NavLinks component to remove the need
for magic numbers when travelling the DOM tree.
2021-02-10 17:02:00 +05:30
Kelvin Sánchez
0a7278774e fix(client): remove external prop on 'donate' link (#41023) 2021-02-10 05:04:10 +05:30
Kristofer Koishigawa
3b0ebb3dcb feat(client): translation status banner (#41001)
Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
2021-02-09 13:26:18 +05:30
Nicholas Carrigan (he/him)
1e60623c8b feat(i18n, client): replace language select (#40936)
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2021-02-09 11:23:40 +05:30
Sembauke
40861a8a09 fix(client): remove outline: none on Menu button (#40914) 2021-02-06 15:07:43 +05:30
Oliver Eyton-Williams
fffc0e51ec chore(client): refactor & organise config (#40875) 2021-02-03 15:22:07 +05:30
Ahmad Abdolsaheb
7c46915504 fix(client): clean up nav menu (#40864) 2021-02-01 23:14:35 +05:30
Ahmad Abdolsaheb
3a710d2cb1 chore(client): clean up GA (#40856) 2021-02-01 19:56:48 +05:30
Tom
c56a9c966f fix(client): address nav UX issues (#40823)
Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
2021-01-31 12:15:41 +05:30
Mrugesh Mohapatra
6a09b9bce2 fix(client): refactor dynamic URLs based on lang (#40824) 2021-01-31 12:15:41 +05:30
Nicholas Carrigan (he/him)
58c6c54c67 feat(client): redesigned navigation (#40709)
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2021-01-31 12:15:40 +05:30
Mrugesh Mohapatra
77c46dba2c fix(i18n): redirect based on Referer header (#40512)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-01-31 12:15:34 +05:30
Mrugesh Mohapatra
28d3319ba7 feat: add redirects after authentication 2021-01-31 12:15:33 +05:30
Tom
3978c6be28 feat: i18n user interface (#40306)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-01-31 12:15:32 +05:30
Ashraf Nazar
9831df18e0 feat(profile): Add Top Contributor badge feature (#38348)
Co-authored-by: Twaha Rahman <39026437+Twaha-Rahman@users.noreply.github.com>
Co-authored-by: Twaha Rahman <mahi6703890@gmail.com>
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2020-11-16 13:49:45 +05:30
Ahmad Abdolsaheb
b2a11dcb72 feat: add back the forum nav item (#40060) 2020-10-22 21:57:41 +05:30
Ahmad Abdolsaheb
7b6e32ca7c fix: show profile link when user signed in on landing page (#39983) 2020-10-22 03:50:22 +05:30
Ahmad Abdolsaheb
1a66eac990 feat: render nav conditionally 2020-09-24 17:48:29 +05:30
Oliver Eyton-Williams
4f0959df1d fix: use position: fixed to avoid forcing Cypress (#39605) 2020-09-23 20:45:21 +05:30
Ahmad Abdolsaheb
ce777e43d2 fix: align completion modal buttons (#39509) 2020-09-02 10:38:14 +02:00
Oliver Eyton-Williams
46e3d75c76 fix(client): select only required props (Login) (#39461) 2020-08-25 22:59:39 +05:30
Oliver Eyton-Williams
a7d595f349 fix: replace hardgoto with api links 2020-08-15 14:37:23 +05:30
Oliver Eyton-Williams
5409e1e62e fix: use forumLocation everywhere (#39405)
* fix: use forumLocation everywhere
2020-08-14 12:56:14 +03:00
Oliver Eyton-Williams
34c26c4950 chore: update forum links in NavLinks (#39141) 2020-06-30 14:16:05 +05:30
Ashraf Nazar
88e1952478 fix: ESLint warnings in logs 2020-03-21 03:09:38 +05:30
Ahmad Abdolsaheb
2c3de17c74 fix: open universal nav links on the same tab (#38273) 2020-02-27 00:39:56 +05:30
moT01
81de7dfaf7 fix: make nav logo link to /learn 2019-12-18 03:07:46 +05:30
Ahmad Abdolsaheb
ccd135f268 feat: update logo (#37716)
* feat: update logo

* fix: adjust logo height
2019-11-09 01:31:49 -08:00
Ahmad Abdolsaheb
55a4cadf2a fix: clean failed challenges (#37526) 2019-11-04 19:20:14 +05:30
Mrugesh Mohapatra
37528a6d26 fix: a11y on primary logo 2019-10-23 16:15:44 +05:30
Kristofer Koishigawa
a475ddc65b fix: remove unnecessary stripe iframes (#37428)
* fix: Remove stripe iframes when navigating away from /donate while still leaving two that may/may not be essential to Stripe

* Moved MutationObserver code into Header component

* fix: make MutationObserver remove old iframes


Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2019-10-23 15:25:04 +05:30
Ahmad Abdolsaheb
54db501138 fix: update nav items 2019-10-22 21:21:09 +05:30
Ahmad Abdolsaheb
2352c0b1d9 feat: remove portfolio and add conditional intro 2019-10-22 21:21:07 +05:30
Oliver Eyton-Williams
0e143c2caf fix: replace navigate with hardgoto in showUser (#37363)
* fix: use hardGoTo in ShowUser

* refactor: clean up hardGoTo

Rather than using both navigate and hardGoTo this imports hardGoTo as
navigate and uses navigate everywhere


Co-authored-by: mrugesh <1884376+raisedadead@users.noreply.github.com>
2019-10-17 18:58:16 +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
Ahmad Abdolsaheb
8e07bbb7a0 fix: adjust nav focus (#37318)
* fix: adjust nav focus

* fix: clean up
2019-10-16 03:56:19 +05:30
Ahmad Abdolsaheb
28c0102ecc fix:minor style changes (#37208)
* fix: minor style changes
2019-10-14 23:56:47 +09:00
Oliver Eyton-Williams
bc1b6ca7a2 feat: handle completion when logged out 2019-10-09 03:11:37 -07:00