Commit Graph

28784 Commits

Author SHA1 Message Date
b923a32736 fix: a typo in ga-saga.test.js (#43673) 2021-10-02 15:03:19 +02:00
d261d7a6d9 chore(deps): update dependency @types/react-helmet to v6.1.3 2021-10-02 09:10:28 +00:00
00e7817db5 chore(deps): update codesee to v0.103.0 2021-10-02 03:29:12 +00:00
996c01a280 fix(deps): update dependency @stripe/stripe-js to v1.19.0 2021-10-01 23:02:18 +00:00
8c73901f5a chore(deps): update codesee to v0.102.2 2021-10-01 21:44:39 +00:00
90e19da7d8 chore(deps): update storybook monorepo to v6.3.9 2021-10-01 20:42:02 +00:00
cd8a71c56d fix: wrong flash message when changing email (#43653) 2021-10-01 23:04:54 +05:30
ea7acba786 fix(tools): translation workflow (#43666) 2021-10-01 23:02:20 +05:30
182aee555e chore(i18n,learn): update translations (#43660) 2021-10-01 10:00:09 -07:00
58a0c37305 chore(deps): update dependency webpack to v5.56.0 2021-10-01 16:19:32 +00:00
1ec3aa5d82 chore(deps): update dependency rollup to v2.58.0 2021-10-01 10:05:37 +00:00
e4ba0e23ea feat: enable reset in multifile editor (#43617)
* feat: dispatch resetChallenge action

* fix: copy challengeFiles instead of in-place sort

* fix: handle null updateFile payloads in redux

* refactor: reorganise region initialization

* refactor: pull code into editorDidMount

Then we can rely on the presence of the editor and monaco and don't have
litter the code with null checks.

* refactor: use better name for editable region init

* refactor: remove unused decoration

* refactor: rename forbidden region init functions

* fix: keep all challengeFiles when resetting

* refactor: remove unused decoration class

* fix: reinitialize editor on reset

* fix: stop adding multiple scroll listeners

Since the challengeFile update on each keystroke extra (unnecessary)
adding of listeners slowed the editor to a crawl.

* fix: only scroll to editor on mount

Rather than on any edit.

* refactor: remove logs and comments

* fix: rename toSortedArray and fix broken test

* fix: check for null not falsy in updateFile

* fix: only update project features when project

* fix: only reset if editor contents have changed

* feat: focus on editor after reset
2021-10-01 10:36:20 +02:00
eb6d3e214f feat: make renovate group all monaco packages (#43652)
react-monaco-editor depends on specific monaco-editor versions, so this
makes sure they're all updated in the same renovate PR
2021-10-01 10:29:28 +02:00
3e1369f892 chore(deps): update actions/github-script action to v5 (#43648)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-01 12:32:40 +05:30
cf88dfd3ce fix(curriculum): Fix a typo in "Problem 141: Investigating progressive numbers, n, which are also square" (#43647) 2021-10-01 08:02:13 +02:00
cfc9b7258d fix(client): cert rendering temporarily (#43335)
* fix: require login as step

* fix: cert rendering temporary

* fix: remove keys from other translation files

* fix: cypress test

* chore: shauns suggestions

* fix: remove steps

* fix: use a seperate UseEffect function

* Suggestions from Shaun

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

* fix: certification temp rendering

* fix: cert temp rendering hopefully

* fix: button visibility and cert test

* fix: condition

* test: improve claim cert tests

Without npm run seed, retries will be in a different state.

Check the scroll position to (hopefully) catch the weird cert claim bug.

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-10-01 10:00:14 +05:30
3ea2fe4f77 feat(i18n,curriculum): add Bilibili ids for Chinese (#43564)
Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-10-01 09:54:12 +05:30
02ffd4eee6 docs: add hacktoberfest note (#43645) 2021-10-01 07:55:27 +05:30
d3beb6e370 feat(actions): autoclose workflow (#43644) 2021-10-01 07:54:59 +05:30
d5e3979753 chore(deps): update codesee to v0.102.1 2021-09-30 22:52:54 +00:00
0cd3634d95 fix(deps): update dependency react-final-form to v6.5.7 2021-09-30 21:10:58 +00:00
871f808883 fix(deps): update dependency gatsby to v3.14.1 2021-09-30 19:36:07 +00:00
f31a2d1e24 fix(deps): update dependency @types/react to v17.0.26 2021-09-30 18:05:07 +00:00
c2792290cb chore(deps): update dependency ansi-regex to 5.0.1 [security] (#43542)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-30 19:18:09 +02:00
d23d09089e chore(deps): update dependency nth-check to 2.0.1 [security] (#43509)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-30 18:09:43 +02:00
8340e2d824 chore(i18n,docs): update translations (#43612) 2021-09-30 17:30:34 +02:00
f9e35a0e6c fix(curriculum): Remove videoUrl using old image srcs (#43631)
* fix: replace responsive web dev bitly links

* Revert "fix: replace responsive web dev bitly links"

This reverts commit 3d2bcbef4b.

* fix: remove video url from html challenges using old image srcs
2021-09-30 19:13:43 +04:00
b38ddc0fd6 chore(i18n,curriculum): update translations (#43633) 2021-09-30 16:29:50 +02:00
ababb4bc0b chore(deps): update dependency eslint-plugin-react to v7.26.1 2021-09-30 14:04:14 +00:00
dadc5614cc chore(deps): update dependency @testing-library/dom to v8.7.1 2021-09-30 12:56:06 +00:00
2da395ae75 fix(deps): pin dependency react-monaco-editor to 0.45.0 2021-09-30 11:19:07 +00:00
80e8ba8879 fix(deps): pin dependencies 2021-09-30 09:14:46 +00:00
9095925484 fix(deps): update monaco editor (#43344)
* fix(deps): update monaco editor

* chore: rollback monaco, update react-monaco-editor

The latest version of react-monaco-editor is only compatible with monaco
v0.27

* fix: roll-back monaco-editor-webpack-plugin

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-09-30 09:42:43 +02:00
eeeddd5f23 chore(i18n,learn): update translations (#43613) 2021-09-29 20:19:53 -07:00
62315d96db chore(deps): update codesee to v0.101.0 2021-09-30 02:58:02 +00:00
9de5f3ed15 chore(deps): update codesee to v0.100.0 2021-09-30 01:00:37 +00:00
b153745362 fix(links): Fixed 4 files with broken links (#43618) 2021-09-29 23:07:45 +01:00
4caecf4ebf fix(deps): update dependency final-form to v4.20.4 2021-09-29 21:49:56 +00:00
87b2a61bd0 fix(deps): update dependency react-final-form to v6.5.6 2021-09-29 20:19:51 +00:00
f8dc692290 feat(i18n): enable front-end dev cert in Espanol (#43619) 2021-09-30 00:24:38 +05:30
8895f2d1ab fix(deps): update dependency @types/react to v17.0.25 2021-09-29 18:50:45 +00:00
d180104983 chore(deps): update dependency jest to v27.2.4 2021-09-29 17:46:14 +00:00
c1faed1635 chore(i18n,curriculum): update translations (#43615) 2021-09-29 15:15:14 +00:00
cf6cc7fc84 chore(deps): update dependency @testing-library/dom to v8.7.0 2021-09-29 13:21:44 +00:00
2aa8c60a1f chore(deps): update dependency webpack to v5.55.1 2021-09-29 11:02:44 +00:00
e4e74aa4f2 fix(curriculum): strip comments from code when testing (#43597)
* fix: update ES6-Compare Scopes of var and let

Fixes Issue: Adding a comment causes a valid answer to be wrong in ES6 > Compare Scopes of the var and let keywords

Fixes: #43578

* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/compare-scopes-of-the-var-and-let-keywords.md

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

* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/compare-scopes-of-the-var-and-let-keywords.md

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

* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/compare-scopes-of-the-var-and-let-keywords.md

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

Co-authored-by: Krzysztof <60067306+gikf@users.noreply.github.com>
2021-09-29 11:13:41 +02:00
207a4888c0 chore(deps): update node.js to v14.18.0 (#43603)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-28 20:01:22 -07:00
02417bec07 fix: code block newline (#43600) 2021-09-28 20:00:37 -07:00
a6c35c1b80 fix(deps): update dependency @actions/core to v1.6.0 2021-09-29 02:05:16 +00:00
145ce88de4 chore(deps): update codesee to v0.97.0 2021-09-29 00:51:37 +00:00