Commit Graph

578 Commits

Author SHA1 Message Date
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
Nicholas Carrigan (he/him)
b0f6c4e7a1 revert: remove nowrap rule (2f0b9ec) (#41572)
Revert the white-space: nowrap rule introduced in commit
2f0b9ec4a5 which was breaking multi-
line code block rendering.
2021-03-24 23:29:50 +03:00
Oliver Eyton-Williams
963c3c5af5 fix(test): handle NavLinks for Chinese locale (#41566) 2021-03-24 08:11:19 -07:00
Patrick Franz
0190c19411 fix(client): code blocks overflowing parents (#41438) 2021-03-23 10:23:57 +05:30
Shaun Hamilton
cd722a0e7f fix(client): change repl.it validation to replit for migration (#41457) 2021-03-15 19:37:43 +05:30
Nicholas Carrigan (he/him)
f1c8a9825b fix(i18n,client): translatable cta url (#41384) 2021-03-12 17:14:54 -07:00
Mrugesh Mohapatra
6c91f81b0e chore(deps): upgrade eslint, prettier & related packages 2021-03-11 12:19:42 +05:30
Ahmad Abdolsaheb
aac49e9a40 fix(client): modernize stripe form (#41359)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-03-10 20:33:55 +05:30
Shaun Hamilton
36f58bcfdf fix(client): update store after any submission (#41329) 2021-03-05 02:31:18 +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
Sem Bauke
5a3903f4ec fix(client) fixed icon height in containers (#41086)
* fix for the containers not having a fixed height and icon sizes
2021-02-24 12:50:05 +01:00
Sachin Diwate
5fa7d2ec14 fix(client): Private timeline doesn't hide certs #41171 (#41224) 2021-02-23 09:02:15 -06:00
manziEric
0c28a2c755 fix: update notification bar z-index (#41160)
* fix: update notification bar z-index

* fix: update notification bar z-index to 100

* fix: update z-index to 100 in flash.css
2021-02-22 13:12:24 +03:00
Oliver Eyton-Williams
c077ffe4b9 feat(api): decouple api from curriculum (#40703) 2021-02-22 12:23:59 +05:30
Shaun Hamilton
d70e33c1d2 feat(i18n): url validation translations (#41190) 2021-02-20 10:32:44 +05:30
Shaun Hamilton
b2ec1a3ef4 feat(client): add common links to formValidators regex (#41094)
* feat(client): add repl join link to formValidators regex

* add fCCRegex to validators
2021-02-19 12:43:54 +01:00
Shaun Hamilton
fa8163fe7a fix(client): add t to ShowProjectLinks props (#41139)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-02-17 21:15:32 +05:30
Ahmad Abdolsaheb
05a97d19fb fix: adjust donation confirmation text (#41140) 2021-02-16 23:52:52 +03:00
Madan Kumar
b083b58913 fix(client): remove extra 'hours' from /donate page (#41113) 2021-02-16 10:34:00 +01:00
Oliver Eyton-Williams
97fcaa693f refactor: only use dasherized superBlock (#41067) 2021-02-13 10:36:04 +05:30
Nicholas Carrigan (he/him)
1e0c09faff fix(i18n, client): use placeholder on map (#41064)
Modifies the translation flow for the certification buttons on the
learn/landing map to pass the superBlock title to the string as a
placeholder. This will allow translators to restructure the order
of the sentence (i.e. certification and hours) based on language-
specific grammar structures.
2021-02-12 10:16:11 +01:00
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
Kristofer Koishigawa
1e9dc8cea5 fix: remove algolia indices and urls from translations (#41043) 2021-02-11 00:11:51 +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
Shaun Hamilton
f157eda1af fix(client): allow editor links for Py submissions (#41036)
* fix(client): allow editor links for Py submissions

* add isEditorLinkAllowed to PropTypes
2021-02-10 17:01:08 +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
Ahmad Abdolsaheb
3c7979692b fix(client): block donation modal (#40899)
Co-authored-by: Kris Koishigawa <scissorsneedfoodtoo@gmail.com>
2021-02-08 12:58:36 +05:30
Sembauke
40861a8a09 fix(client): remove outline: none on Menu button (#40914) 2021-02-06 15:07:43 +05:30
Shaun Hamilton
ea1c132868 feat(client): add github to validation list (#40894) 2021-02-04 12:14:35 +05:30
Oliver Eyton-Williams
fffc0e51ec chore(client): refactor & organise config (#40875) 2021-02-03 15:22:07 +05:30
Nicholas Carrigan (he/him)
1a642ba542 feat(i18n, client): migrate meta translations (#40885) 2021-02-03 13:33:52 +05:30
Ahmad Abdolsaheb
13a248ba2b fix(client): landing and donate page night mode friendly (#40883) 2021-02-03 00:49:27 +05:30
Oliver Eyton-Williams
1dc01df7df fix(client): repair selection and highlight style (#40879) 2021-02-03 00:43:32 +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
Oliver Eyton-Williams
77158a533e fix: catch edge case of lang in path (#40826)
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2021-02-01 19:18:56 +05:30
Shaun Hamilton
ab83d698f9 fix(client): give useful error in solutionform (#40225) 2021-02-01 19:04:04 +05:30
Shaun Hamilton
5539dbf086 feat(client): add project links to certificate (#40071)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-02-01 18:55:14 +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
Kristofer Koishigawa
187e3ec973 feat: update footer links and search indices (#40818) 2021-01-31 12:15:40 +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
Kristofer Koishigawa
9014fff6c4 fix: touch up icons and UI (#40809) 2021-01-31 12:15:40 +05:30
Kristofer Koishigawa
9ec8aa3db4 fix: update intro pages and learn map (#40745) 2021-01-31 12:15:39 +05:30
Tom
625469c82f feat: improve ui/ux learn map (#40579)
Co-authored-by: Kris Koishigawa <scissorsneedfoodtoo@gmail.com>
2021-01-31 12:15:39 +05:30