Commit Graph

2937 Commits (4e696687a1996ff686ae780f09a591499b2bb429)

Author SHA1 Message Date
Renovate Bot 0daa47791d fix(deps): update gatsby monorepo 2021-07-20 23:49:26 +00:00
Renovate Bot c9db6e216b fix(deps): update dependency i18next to v20.3.4 2021-07-20 21:49:27 +00:00
Renovate Bot 1e86dae25b chore(deps): update babel monorepo to v7.14.8 2021-07-20 20:09:11 +00:00
Anirudh Modi ef3b7ec955
chore(eslint): enables recommended eslint rules for `testing-library` and `jest-dom` (#42817) 2021-07-20 21:21:16 +07:00
Oliver Eyton-Williams a368e7f277
fix: prevent early redirection from email-signup (#42944)
Co-authored-by: Victor Duarte <victor-duarte@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>

Co-authored-by: Victor Duarte <victor-duarte@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-07-20 09:19:11 -05:00
awu43 e33b977f04
update show-project-links (#42940) 2021-07-20 08:05:17 -05:00
Ilenia 3c29cfab1b
feat(i18n, learn): adding first few motivational quotes and compliments in italian (#42935)
* i18n Italian Compliements

* first 10 motivational quotes for italian
2021-07-19 21:50:46 -05:00
Renovate Bot c0150b00d8 chore(deps): update codesee to v0.50.1 2021-07-19 23:55:35 +00:00
Renovate Bot 2550bb7ebf chore(deps): update codesee to v0.50.0 2021-07-19 21:25:40 +00:00
Oliver Eyton-Williams 90d5783870
chore: update Header test to handle more languages (#42894) 2021-07-19 12:39:51 -07:00
Tom 292482792e
update(curriculum): Change advanced bash tutorial title to new title (#42885)
* rename: advanced bash file

* rename: all instances of advanced bash tutorial to new title
2021-07-20 00:17:11 +05:30
Shaun Hamilton 31486b368b
fix(client): refactor to use correct i18n t type (#42865)
* fix(client): refactor to use correct i18n t type

* appease Oliver by importing directly from react-i18n

* fix: use default TFunction type variable

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-07-19 09:48:02 -07:00
camperbot 25f145b5c8
chore(i18n,learn): update translations (#42929) 2021-07-19 16:23:54 +02:00
awu43 3ed1f73221
fix(client): remove unnecessary return values (#42927)
* remove returns

* change .some() to .includes()
2021-07-19 13:18:17 +01:00
renovate[bot] da513953d8
fix(deps): update monaco editor (#42875)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-19 10:45:49 +02:00
camperbot 3c62525a44
chore(i18n,client): processed translations (#42917) 2021-07-19 10:50:07 +05:30
Ikko Ashimine 48257c80b5
fix(curriculum): typo in comment (#42914)
preceed -> precede
2021-07-17 12:34:31 +05:30
Renovate Bot 40a0d7470e chore(deps): update dependency webpack to v5.45.1 2021-07-17 00:20:15 +00:00
Renovate Bot aa5764a2a4 chore(deps): update codesee to v0.49.1 2021-07-16 23:29:23 +00:00
Renovate Bot fdd06bd34b chore(deps): update dependency @types/react-instantsearch-dom to v6.12.0 2021-07-16 20:49:28 +00: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
Sem Bauke 1f9aa2f28b
fix: remove old croudsourcing translation for videos (#42880) 2021-07-16 14:43:16 +02:00
Renovate Bot 7783d714f4 fix(deps): update dependency react-i18next to v11.11.3 2021-07-16 09:46:20 +00:00
camperbot 8871128bec
chore(i18n,client): processed translations (#42887) 2021-07-16 09:07:13 +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
Renovate Bot 50f48b794a chore(deps): pin dependency @types/reach__router to 1.3.9 2021-07-15 18:47:49 +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
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
camperbot 2f8c5619ff
chore(i18n,client): processed translations (#42856) 2021-07-14 19:52:21 +05:30
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
Renovate Bot e97c302c3d fix(deps): update dependency react-reflex to v4.0.2 2021-07-13 12:31:33 +00:00
camperbot ba828f9040
chore(i18n,client): processed translations (#42831) 2021-07-12 23:37:14 +02:00
Renovate Bot d8262375fd chore(deps): update dependency autoprefixer to v10.3.1 2021-07-12 18:46:16 +00:00
Ismail Tlemcani 4307179d00
fix broken image url after submission on profile page (#42507) 2021-07-12 13:26:10 +02:00
Renovate Bot f6455db7b8 chore(deps): pin dependency axios to 0.21.1 2021-07-12 10:19:42 +00:00
awu43 e1d8f4be3a
feat(client): ts-migrate client/src/utils (#42666)
* rename js files to ts

* start migrating ajax

* finish migrating ajax

* migrate algolia-locale-setup

* migrate format

* migrate format.test

* migrate get-words

* install axios for types in handled-error

* migrate handled-error

* migrate handled-error.test

* migrate report-error

* migrate script-loaders

* migrate to-learn-path

* correct renamed imports

* remove unnecessary type assertions in searchBar

* remove unnecessary global comment

* remove unnecessary max-len enable/disable

* change axios imports to type imports

* revert to .then() from await

* use UserType from redux/prop-types

* replace assertion with generic type

* revert format to JS

* remove unused getArticleById()

* update putUpdateUserFlag() to use Record

* remove unnecessary envData cast

* update algolia-locale-setup types

* remove invalid key property
2021-07-12 11:17:58 +02:00
ABHINAV SHARMA e2ca65c803
feat(client): ts-migrate layoutSelector component (#42748) 2021-07-12 14:05:01 +07:00
gikf a8e2aff073
feat(client): add hotkey 'r' to focus on instructions panel (#42503) 2021-07-12 09:20:07 +05:30
Renovate Bot 8dfd98183d chore(deps): update dependency redux-saga-test-plan to v4.0.2 2021-07-12 03:08:54 +00:00
Renovate Bot ba24087c54 chore(deps): update dependency autoprefixer to v10.3.0 2021-07-10 12:46:21 +00:00
Renovate Bot 750d0a62cf fix(deps): update dependency gatsby to v3.9.1 2021-07-09 20:34:40 +00:00
camperbot 69c6105531
chore(i18n,client): processed translations (#42809) 2021-07-09 15:11:11 +02:00