Commit Graph

2920 Commits (40a0d7470e06b1115b171875d4c3037377c72885)

Author SHA1 Message Date
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
Moshe 63f26db336
refactor(client): Replace <Fragment> tags to <> (#42796)
* refactor(40115): Replace <Fragment> tags to <>
2021-07-09 09:50:11 +02:00
Renovate Bot f8654d6d07 chore(deps): update codesee to v0.47.2 2021-07-09 07:00:42 +00:00
Shaun Hamilton 0891d41c35
fix(client): re-ref editor (#42799) 2021-07-09 09:29:11 +05:30
Shaun Hamilton d95962e405
fix(client): adjust project link logic to show files (#42717) 2021-07-08 22:00:04 -05:00
Renovate Bot 330b7aaa0f chore(deps): update dependency @types/react-spinkit to v3.0.7 2021-07-09 01:22:01 +00:00
Renovate Bot 508358e789 chore(deps): update dependency webpack to v5.44.0 2021-07-08 23:21:08 +00:00
Renovate Bot 5f5a190da9 chore(deps): update dependency @types/redux-actions to v2.6.2 2021-07-08 02:58:27 +00:00
Renovate Bot 602d00b4f5 chore(deps): update dependency @types/react-transition-group to v4.4.2 2021-07-08 01:17:16 +00:00
Renovate Bot 3d6a2588e4 chore(deps): update dependency @types/react-instantsearch-dom to v6.10.2 2021-07-08 00:36:06 +00:00
Renovate Bot a016dd1127 chore(deps): update dependency @types/react-helmet to v6.1.2 2021-07-07 23:27:52 +00:00
Renovate Bot 78fd2f9c8c chore(deps): update dependency @types/react-dom to v17.0.9 2021-07-07 22:13:55 +00:00
Renovate Bot 8d03df6456 chore(deps): update dependency @types/prismjs to v1.16.6 2021-07-07 20:28:26 +00:00
Renovate Bot 271bdd43d7 fix(deps): update dependency babel-plugin-prismjs to v2.1.0 2021-07-07 15:42:27 +00:00
Sem Bauke d23b86f77b
feat: convert solutionForm to ts (#42766)
* feat: convert solutionForm to ts

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-07-07 10:38:58 +02:00
renovate[bot] f7d4206d08
chore(deps): update dependency @types/loadable__component to v5.13.4 (#42777)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-07 11:49:52 +05:30
Renovate Bot 7906dcad5a chore(deps): update dependency @types/jest to v26.0.24 2021-07-07 04:42:52 +00:00
Renovate Bot 9e883e49ba fix(deps): update gatsby monorepo 2021-07-06 23:09:18 +00:00