Commit Graph

28212 Commits (fdd06bd34b779fc69e05d146f2187d74ecb1c973)

Author SHA1 Message Date
Renovate Bot fdd06bd34b chore(deps): update dependency @types/react-instantsearch-dom to v6.12.0 2021-07-16 20:49:28 +00:00
gikf 7907f62337
fix(curriculum): clean-up Project Euler 121-140 (#42731)
* fix: clean-up Project Euler 121-140

* fix: corrections from review

Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>

* fix: missing backticks

Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>

* fix: corrections from review

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

* fix: missing delimiter

Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2021-07-16 21:38:37 +02:00
Renovate Bot dc3b2508e4 fix(deps): update dependency @freecodecamp/strip-comments to v3.0.1 2021-07-16 17:02:18 +00:00
Oliver Eyton-Williams 1ba9d03cb5
feat: remove csrf from the client (#42242) 2021-07-16 10:49:47 -05:00
Mrugesh Mohapatra 017ae24894
fix(client): add if private warning to the name (#42901)
* fix(client): add if private warning to the name

* fix(client): add if private warning to the name
2021-07-16 16:40:14 +01:00
awu43 b84e74ad42
fix(curriculum): improve lazy matching test regex (#42882) 2021-07-16 15:31:19 +01:00
Sem Bauke cd1c16b3a9
feat(Cypress): add test for breadcrumbs (#42878)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-07-16 19:14:52 +05:30
camperbot 8707bd8192
chore(i18n,docs): update translations (#42896) 2021-07-16 15:44:37 +02:00
Sem Bauke 1f9aa2f28b
fix: remove old croudsourcing translation for videos (#42880) 2021-07-16 14:43:16 +02:00
gikf 67de105117
fix(curriculum): clean-up Project Euler 241-260 (#42879)
* fix: clean-up Project Euler 241-260

* fix: typo

* Update curriculum/challenges/english/10-coding-interview-prep/project-euler/problem-255-rounded-square-roots.md

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2021-07-16 12:21:45 +02:00
camperbot b2059684ef
chore(i18n,curriculum): processed translations (#42888) 2021-07-16 12:17:08 +02:00
Renovate Bot 7783d714f4 fix(deps): update dependency react-i18next to v11.11.3 2021-07-16 09:46:20 +00:00
camperbot 36146b549e
chore(i18n,docs): processed translations (#42886) 2021-07-16 09:09:35 +01:00
camperbot 8871128bec
chore(i18n,client): processed translations (#42887) 2021-07-16 09:07:13 +01:00
Oliver Eyton-Williams b61d185209
docs: mention curriculum helper functions (#42889) 2021-07-16 09:01:05 +01:00
awu43 4071b72a6c
feat(curriculum): add spy helper (#42566)
* Added initial version of spy helper

* add missing backslashes

* update to check for line start

* change __fixtures file extensions to .ts from .tsx

* add to exports and add documentation

* add tests

* update event.preventDefault() test
2021-07-16 09:20:03 +02:00
camperbot 3b32da0191
chore(i18n,curriculum): processed translations (#42868) 2021-07-16 11:03:16 +05:30
Vishwasa Navada K 1f5f07cad3
docs(local-setup): Added a note on the local setup guidelines page that includes a solution to `sharp` issue on Apple M1 chip devices (#42871) 2021-07-16 10:57:55 +05:30
Shaun Hamilton ff20199e63
feat(curriculum): add tests to css variables skyline (#42067)
* add(tests): parts 1-2

* refactor for multi-file editor, and add temp css tests

* re-re-rebasing

* add link to subsequent challenges

* add test strings to 007-015

* add final tests 001-016

* fix 005-007, add 017-022 tests and test strings

* add: tests 021-030, and formatting

* add: 031-034 tests

* tests: add 035-046

* fix: test in 021

* tests: add 047-050

* format: 009, 051-118 remove css whitespace

* tests: add 051-078

* tests: add 079-105

* tests: add 104-118

* fix: empty -> isEmpty, and include -> match

* fix: correct editable region

* fix: formatting and spelling

* fix: test logic, and add TODO for whitespace

* fix: add final part solution 🤦‍♂️

* fix typo in part-006

* remove whitespace in prep

* getStyleDeclaration -> getStyle

* remove editable region from solution 🤦‍♂️

* fix: correct tests to fail on initial

* fix: add missing regex

Co-authored-by: gikf <60067306+gikf@users.noreply.github.com>

* fix: correct tests

* remove commas and stuff 🤷‍♂️

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>

* uppercaserise doctype

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>

* add "the"

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>

* remove half-colon

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>

* use more boring form of the word "shoudl"

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>

* add suggestions to tests

* Update curriculum/challenges/english/01-responsive-web-design/css-variables-skyline/part-015.md

* Update curriculum/challenges/english/01-responsive-web-design/css-variables-skyline/part-016.md

* Update curriculum/challenges/english/01-responsive-web-design/css-variables-skyline/part-016.md

* Update curriculum/challenges/english/01-responsive-web-design/css-variables-skyline/part-016.md

* Update curriculum/challenges/english/01-responsive-web-design/css-variables-skyline/part-022.md

* Update curriculum/challenges/english/01-responsive-web-design/css-variables-skyline/part-093.md

* Update curriculum/challenges/english/01-responsive-web-design/css-variables-skyline/part-098.md

* Update curriculum/challenges/english/01-responsive-web-design/css-variables-skyline/part-101.md

* Update curriculum/challenges/english/01-responsive-web-design/css-variables-skyline/part-023.md

* Update curriculum/challenges/english/01-responsive-web-design/css-variables-skyline/part-024.md

* Update curriculum/challenges/english/01-responsive-web-design/css-variables-skyline/part-026.md

* Update curriculum/challenges/english/01-responsive-web-design/css-variables-skyline/part-035.md

* Update curriculum/challenges/english/01-responsive-web-design/css-variables-skyline/part-058.md

* Update curriculum/challenges/english/01-responsive-web-design/css-variables-skyline/part-090.md

* Update curriculum/challenges/english/01-responsive-web-design/css-variables-skyline/part-058.md

* Update curriculum/challenges/english/01-responsive-web-design/css-variables-skyline/part-064.md

* Update curriculum/challenges/english/01-responsive-web-design/css-variables-skyline/part-064.md

* Update curriculum/challenges/english/01-responsive-web-design/css-variables-skyline/part-064.md

* Update curriculum/challenges/english/01-responsive-web-design/css-variables-skyline/part-076.md

* Update curriculum/challenges/english/01-responsive-web-design/css-variables-skyline/part-070.md

* Update curriculum/challenges/english/01-responsive-web-design/css-variables-skyline/part-079.md

* Update curriculum/challenges/english/01-responsive-web-design/css-variables-skyline/part-085.md

* Update curriculum/challenges/english/01-responsive-web-design/css-variables-skyline/part-086.md

* Update curriculum/challenges/english/01-responsive-web-design/css-variables-skyline/part-087.md

* Update curriculum/challenges/english/01-responsive-web-design/css-variables-skyline/part-090.md

* Update curriculum/challenges/english/01-responsive-web-design/css-variables-skyline/part-019.md

* Update curriculum/challenges/english/01-responsive-web-design/css-variables-skyline/part-019.md

* Update curriculum/challenges/english/01-responsive-web-design/css-variables-skyline/part-019.md

* Update curriculum/challenges/english/01-responsive-web-design/css-variables-skyline/part-074.md

* Update curriculum/challenges/english/01-responsive-web-design/css-variables-skyline/part-078.md

* fix: the few commits I couldn't add on github

* fix: lesson 41

Co-authored-by: gikf <60067306+gikf@users.noreply.github.com>
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2021-07-15 22:46:40 -05:00
Renovate Bot 885fbe694e chore(deps): update dependency @rollup/plugin-node-resolve to v13.0.2 2021-07-16 00:22:55 +00:00
Renovate Bot d3496750a7 chore(deps): update dependency @rollup/plugin-commonjs to v19.0.1 2021-07-15 19:41:26 +00:00
Renovate Bot 50f48b794a chore(deps): pin dependency @types/reach__router to 1.3.9 2021-07-15 18:47:49 +00:00
Renovate Bot d0f94c5ab5 chore(deps): update dependency @rollup/plugin-node-resolve to v13.0.1 2021-07-15 16:56:45 +00:00
Shaun Hamilton 6ca6d9950c
feat(client): improve SuperBlock cert claiming UX (#41147)
* feat(client): improve SuperBlock cert claiming UX

* broken: add certCard foundation

* broken: add TODO comments for scatter-brain

* restructure stepsToClaimSelector

* add api-server verifyCanClaimCert logic

* temp: correct verifyCanClaim URL

* move GET logic to CertificationCard, remove console.logs

* add error handling, and navigation logic

* correct verification logical flow

* fix completion-epic updates, fix cert verify

* update widget to button, disable button unless verified

* working: refactor CertChallenge with hook state

* add StepsType

* update Honesty snapshot

* add DonationModal to SuperBlockIntro

* disable Claim Cert button unless also isHonest

* prevent warning when viewing cert

* test: use navigate in Modal to return to hash

* test: replace gatsby.navigate with reach/router.navigate

* add propTypes

* fix: rename propTypes -> prop-types

* use react-scrollable-anchor to squash modal bug

* update location parser type

* open-source Oliver's suggestion

* fix superblock title

* add claim-cert-from-learn tests

* use larger tests

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* fix some cypress stuff

* fix ShowCertification cypress test

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-07-15 23:51:27 +09:00
gikf 5a52c229f5
fix(curriculum): clean-up Project Euler 181-200 (#42819)
* fix: clean-up Project Euler 181-200

* fix: corrections from review

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

* fix: missing delimiter

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2021-07-15 15:52:14 +02:00
gikf a9418a1fe9
fix(curriculum): clean-up Project Euler 221-240 (#42839)
* fix: clean-up Project Euler 221-240

* fix: corrections from review

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2021-07-15 14:26:34 +02:00
Renovate Bot 30c22d1fb3 chore(deps): update dependency rollup to v2.53.2 2021-07-15 09:48:03 +00:00
Mrugesh Mohapatra 7eb0630f2d
chore(i18n,chn): manually downloaded curriculum (#42858) 2021-07-15 13:04:11 +05:30
gikf eef1805fe6
fix(curriculum): clean-up Project Euler 201-220 (#42826)
* fix: clean-up Project Euler 201-220

* fix: corrections from review

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2021-07-15 09:20:31 +02:00
Renovate Bot 505c3b7c6c chore(deps): update dependency inquirer to v8.1.2 2021-07-14 18:00:36 +00:00
Oliver Eyton-Williams 03913024a5
fix: various multifile editor bugs (#42855)
* refactor: use refs to hold editor and monaco

Also removed a lot of unnecessary conditionals

* refactor: get a ref to the editor directly

Previously we got a ref to react-monaco-editor, but that's an
unnecessary layer of abstraction

* fix: replace data state with ref

* fix: replace remaining useStates with useRefs

* refactor: simplify dataRef access

* fix: store correct id for output zone

* refactor: remove unused parts of MultifileEditor

* fix: use separate models per fileKey

Temp fix, I think the data should store one version per fileKey

* fix: create data for each editor

* refactor: declare data once

* fix: handle widgets etc. like other data

* fix: store an editor per fileKey

* refactor: clean up types + initial properties

* refactor: remove redundant constructor

* fix: remove redundant comment

* refactor: update comments
2021-07-14 18:09:50 +02:00
Adriano Cangiamila 480afedd62
Update completion-modal.tsx (#42842) 2021-07-14 17:43:14 +02:00
Mrugesh Mohapatra fc0511bd91
chore(i18n): download curriculum manually (#42835) 2021-07-14 10:32:51 -05:00
camperbot 2f8c5619ff
chore(i18n,client): processed translations (#42856) 2021-07-14 19:52:21 +05:30
gikf bfc21e4c40
fix(curriculum): clean-up Project Euler 141-160 (#42750)
* fix: clean-up Project Euler 141-160

* fix: corrections from review

Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>

* fix: corrections from review

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

* fix: use different notation for consistency

* Update curriculum/challenges/english/10-coding-interview-prep/project-euler/problem-144-investigating-multiple-reflections-of-a-laser-beam.md

Co-authored-by: gikf <60067306+gikf@users.noreply.github.com>

Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2021-07-14 13:05:12 +02:00
Renovate Bot 7b327f082b fix(deps): update dependency react-i18next to v11.11.2 2021-07-14 10:54:46 +00:00
Renovate Bot e918e05cfa fix(deps): update dependency i18next to v20.3.3 2021-07-14 09:27:01 +00:00
Renovate Bot c6878a1309 chore(deps): update dependency redux-saga-test-plan to v4.0.3 2021-07-14 03:15:42 +00:00
Renovate Bot cc8d92798a chore(deps): update codesee to v0.48.0 2021-07-13 23:21:22 +00:00
RawandDev 6fac38ef7d
fix(curriculum): improve seo with better-used terms (#42848)
* update main JS introduction

* update note

* update es6 with rephrasing

* intro of basic algo scripting remove unnecessary comma

* oop intro removing unnecessary phrase

* Update client/i18n/locales/english/intro.json

Done!

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>

* Update client/i18n/locales/english/intro.json

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-07-13 22:27:44 +02:00
Ahmad Abdolsaheb e6a17214e2
fix(client):fix scriptloader args (#42847) 2021-07-13 12:36:18 -05:00
tristansoriaga 5e8ac21c26
fix(curriculum): remove example function calls from seed (#42797) 2021-07-13 16:37:38 +01:00
Renovate Bot e97c302c3d fix(deps): update dependency react-reflex to v4.0.2 2021-07-13 12:31:33 +00:00
Renovate Bot 6c37c9a538 chore(deps): update dependency lint-staged to v11.0.1 2021-07-13 11:11:36 +00:00
Nicholas Carrigan (he/him) b8b89ed549
feat: enable more certs (#42764) 2021-07-12 23:42:26 +01:00
camperbot ba828f9040
chore(i18n,client): processed translations (#42831) 2021-07-12 23:37:14 +02:00
Renovate Bot 16078251e3 chore(deps): update typescript-eslint monorepo to v4.28.3 2021-07-12 19:43:35 +00:00
Renovate Bot d8262375fd chore(deps): update dependency autoprefixer to v10.3.1 2021-07-12 18:46:16 +00:00
camperbot b890322065
chore(i18n,docs): processed translations (#42830) 2021-07-12 21:02:20 +05:30
gikf 32fac23a2d
fix(curriculum): clean-up Project Euler 161-180 (#42782)
* fix: clean-up Project Euler 161-180

* fix: corrections from review

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2021-07-12 16:19:03 +02:00