Commit Graph

29074 Commits (6d8d18ef1bf26b138a3801dbefaf33df2dfad2fe)

Author SHA1 Message Date
Renovate Bot 1ec3aa5d82 chore(deps): update dependency rollup to v2.58.0 2021-10-01 10:05:37 +00:00
Oliver Eyton-Williams 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
Oliver Eyton-Williams 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
renovate[bot] 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
Hankai Xia 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
Sem Bauke 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
miyaliu666 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
Nicholas Carrigan (he/him) 02ffd4eee6
docs: add hacktoberfest note (#43645) 2021-10-01 07:55:27 +05:30
Nicholas Carrigan (he/him) d3beb6e370
feat(actions): autoclose workflow (#43644) 2021-10-01 07:54:59 +05:30
Renovate Bot d5e3979753 chore(deps): update codesee to v0.102.1 2021-09-30 22:52:54 +00:00
Renovate Bot 0cd3634d95 fix(deps): update dependency react-final-form to v6.5.7 2021-09-30 21:10:58 +00:00
Renovate Bot 871f808883 fix(deps): update dependency gatsby to v3.14.1 2021-09-30 19:36:07 +00:00
Renovate Bot f31a2d1e24 fix(deps): update dependency @types/react to v17.0.26 2021-09-30 18:05:07 +00:00
renovate[bot] 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
renovate[bot] 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
camperbot 8340e2d824
chore(i18n,docs): update translations (#43612) 2021-09-30 17:30:34 +02:00
Dharmin K Shah 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
camperbot b38ddc0fd6
chore(i18n,curriculum): update translations (#43633) 2021-09-30 16:29:50 +02:00
Renovate Bot ababb4bc0b chore(deps): update dependency eslint-plugin-react to v7.26.1 2021-09-30 14:04:14 +00:00
Renovate Bot dadc5614cc chore(deps): update dependency @testing-library/dom to v8.7.1 2021-09-30 12:56:06 +00:00
Renovate Bot 2da395ae75 fix(deps): pin dependency react-monaco-editor to 0.45.0 2021-09-30 11:19:07 +00:00
Renovate Bot 80e8ba8879 fix(deps): pin dependencies 2021-09-30 09:14:46 +00:00
renovate[bot] 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
camperbot eeeddd5f23
chore(i18n,learn): update translations (#43613) 2021-09-29 20:19:53 -07:00
Renovate Bot 62315d96db chore(deps): update codesee to v0.101.0 2021-09-30 02:58:02 +00:00
Renovate Bot 9de5f3ed15 chore(deps): update codesee to v0.100.0 2021-09-30 01:00:37 +00:00
bkelley361 b153745362
fix(links): Fixed 4 files with broken links (#43618) 2021-09-29 23:07:45 +01:00
Renovate Bot 4caecf4ebf fix(deps): update dependency final-form to v4.20.4 2021-09-29 21:49:56 +00:00
Renovate Bot 87b2a61bd0 fix(deps): update dependency react-final-form to v6.5.6 2021-09-29 20:19:51 +00:00
Rafael D. Hernandez f8dc692290
feat(i18n): enable front-end dev cert in Espanol (#43619) 2021-09-30 00:24:38 +05:30
Renovate Bot 8895f2d1ab fix(deps): update dependency @types/react to v17.0.25 2021-09-29 18:50:45 +00:00
Renovate Bot d180104983 chore(deps): update dependency jest to v27.2.4 2021-09-29 17:46:14 +00:00
camperbot c1faed1635
chore(i18n,curriculum): update translations (#43615) 2021-09-29 15:15:14 +00:00
Renovate Bot cf6cc7fc84 chore(deps): update dependency @testing-library/dom to v8.7.0 2021-09-29 13:21:44 +00:00
Renovate Bot 2aa8c60a1f chore(deps): update dependency webpack to v5.55.1 2021-09-29 11:02:44 +00:00
prashantaghoshal 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
renovate[bot] 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
Nicholas Carrigan (he/him) 02417bec07
fix: code block newline (#43600) 2021-09-28 20:00:37 -07:00
Renovate Bot a6c35c1b80 fix(deps): update dependency @actions/core to v1.6.0 2021-09-29 02:05:16 +00:00
Renovate Bot 145ce88de4 chore(deps): update codesee to v0.97.0 2021-09-29 00:51:37 +00:00
Renovate Bot f51cafad72 chore(deps): update dependency webpack to v5.55.0 2021-09-28 23:19:24 +00:00
Shaun Hamilton 2deb73c8d1
feat(curriculum): add accessibility-quiz practice project (#43244)
* feat(curriculum): add accessibility-quiz practice project

* add parts 002-006

* add parts 7-8, tentative on logo aspect-ratio

* add parts 008-013

* add parts 013-016

* add parts 017-026

* add parts 026-027

* add parts 027-029

* add parts 029-044

* add parts 044-067 - all parts done

* add tests 001-009

* add tests 010 - 033

* add tests 034 - 039

* update tests 008~033, add tests 040-050

* add all tests

* fix some stuff, remove final.md

* take reasonable suggestions from Nich, ignore rest

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

* replace svg link with actual CDN

* remove getAttribute in potentially bad places

* add method to form

* fix silly querySelectors

* adjust selectors for 028

* fix selectors, and add color transformations

Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com>

* fix: typos, and make one test lenient

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

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
Co-authored-by: gikf <60067306+gikf@users.noreply.github.com>
2021-09-28 15:38:44 -05:00
Renovate Bot 92d2119199 chore(deps): update codesee to v0.96.0 2021-09-28 19:54:56 +00:00
camperbot 4503fadaad
chore(i18n,docs): update translations (#43594) 2021-09-28 19:25:46 +01:00
camperbot 26c6300743
chore(i18n,curriculum): update translations (#43595) 2021-09-28 17:22:14 +02:00
Renovate Bot cf824faf8e chore(deps): update dependency jest to v27.2.3 2021-09-28 13:17:08 +00:00
Hamza Waleed ebec6705a3
feat(typescript): Add typescript support for UI components library (#43541)
* Add TS configs and improve dir structure

* Add TS configs and improve dir structure

* Fix components exports from index

* chore: prettier

* Add tsconfig and then fix the linter warnings

* Add @babel/preset-typescript

* Fix eslint rule and update btn component to fix storybook

* Fix TS and Jest configs

Converted all remaining files to TS as well

* Remove TS ignored rules and fixed some TS & jest stuff

* Revert to old directory structure

* Use absolute versions in package.json

* enable ts strict to infer types

Co-authored-by: Hamza Waleed <hamza.waleed@arbisoft.com>
2021-09-28 14:06:21 +03:00
Fayas Noushad cc13291ca6
Added hyperlink on freeCodeCamp Social Banner (#43590) 2021-09-28 16:22:30 +05:30
Renovate Bot 07927fbcc4 chore(deps): update typescript-eslint monorepo to v4.32.0 2021-09-28 09:48:00 +00:00
renovate[bot] 8beb26e84e
chore(deps): update dependency typescript to v4.4.3 (#43316)
* chore(deps): update dependency typescript to v4.4.3

* fix: use UserType correctly

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-09-28 10:56:46 +02:00