Commit Graph

30148 Commits

Author SHA1 Message Date
f184bc98b5 chore(i18n,learn): processed translations (#44922) 2022-01-26 09:59:35 -08:00
232624c658 chore(deps): update dependency chai to v4.3.6 2022-01-26 17:35:46 +00:00
fedf4d1bbb fix(deps): update dependency react-instantsearch-dom to v6.21.1 2022-01-26 15:14:50 +00:00
122cebdd97 chore(deps): update codesee to v0.172.0 2022-01-26 11:17:18 +00:00
879e73881b chore(deps): update dependency chai to v4.3.5 2022-01-26 08:11:39 +00:00
6a896919b1 fix(curriculum): correct tests for Firefox (#44913) 2022-01-26 10:09:42 +07:00
c769f1bdc5 chore(deps): update dependency @testing-library/dom to v8.11.3 2022-01-26 02:19:14 +00:00
54a15c6589 fix(curriculum): allow code on new lines for camper-cafe (#44891) 2022-01-25 17:29:28 -06:00
98a0d3ecd2 correcting typo adaquate = adequate (#44906) 2022-01-25 17:15:58 -06:00
6db9bbbd6e fix: include labels in editor tabs buttons (#44918) 2022-01-25 13:57:17 -08:00
33ddfd01fa fix(tools): update autoclose workflow (#44917) 2022-01-25 14:59:45 -06:00
f63a650c01 fix: show-cert... Cypress tests (#44911)
* fix: scroll to certification section

* test: refactor and update show-cert

Pulls out the flaky code from the before hook (where a single failure
kills the suite) into the test.  Also, the visit to settings to view the
certification only needed to happen once.
2022-01-25 14:23:01 -06:00
d0d8d6f6a6 chore(i18n,docs): processed translations (#44907) 2022-01-25 10:08:20 -08:00
b115049ee2 chore(i18n,learn): processed translations (#44880) 2022-01-26 02:55:03 +09:00
9a253bf1da chore(deps): update typescript-eslint monorepo to v5.10.1 2022-01-25 16:50:17 +00:00
2d2bc391d6 chore(deps): update dependency rollup to v2.66.1 2022-01-25 14:22:56 +00:00
1a5b3c0ebb chore(deps): pin dependencies 2022-01-25 12:16:01 +00:00
7216ca55cc refactor: organise TypeScript config and migrate helpers (#44747)
* feat: allow more 1000 steps to be created at once

* refactor: start migrating to typescript

* refactor: delete-step to ts

* refactor: migrated some helpers

* refactor: migrate create-empty-steps

* refactor: migrate create-step-between

* refactor: finish migrating to TS

* refactor: migrate tests

* fix: ensure mock.restore is done after each test

* fix: prevent double-tscing

* fix: repair the tests

* chore: use ts-node for scripts

We don't need the performance boost of incremental compilation and
ts-node is easier to work with

* refactor: consolidate tsconfigs

* refactor: replace gulp

* fix: use ts-node for build-curriculum

* fix: allow ts compilation of config

* feat: create and use create:config script

* fix: add /config to eslint projects

* fix: remove gulp script
2022-01-25 11:34:16 +01:00
82ca6d8441 fix(deps): update dependency nanoid to v3.2.0 (#44899)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-25 10:41:39 +01:00
4f049bf407 fix(deps): update dependency react-instantsearch-dom to v6.21.0 (#44887)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-25 12:22:56 +05:30
7f027958af chore: migrate to nanoid 3 (#44893) 2022-01-25 11:09:41 +05:30
dd0a073356 chore(deps): update dependency webpack-cli to v4.9.2 2022-01-25 04:18:09 +00:00
46ee32d0d3 chore(deps): update dependency tailwindcss to v3.0.16 2022-01-25 02:44:37 +00:00
6ec6e7eaa5 fix(curriculum): update challenge tests to pass a valid solution (#44800)
* allow tests to pass when styles object's fontSize property is set to a string

* Update curriculum/challenges/english/03-front-end-development-libraries/react/add-inline-styles-in-react.md

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

* Update curriculum/challenges/english/03-front-end-development-libraries/react/add-inline-styles-in-react.md

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

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2022-01-24 23:40:52 +00:00
74c16a7601 chore(deps): update dependency @types/prismjs to v1.16.8 2022-01-24 22:21:00 +00:00
fba519621a fix(curriculum): added test using a tree that is not a binary search tree (#44775) 2022-01-24 19:33:03 +00:00
cacc4eacd7 fix: handle the sorting of transformed files (#44724)
* fix: handle the sorting of transformed files

We can't use the ext property, since that is transformed, but the
history is maintained.

* test: make solutions polyVinyls for sorting

* refactor: inline prepareChallenge

* refactor: make solutions polys in getChallenges

* fix: convert each solution to a poly

* fix: skip empty solutions

* fix: get challenge file history in client

* refactor: stop calling isPoly from the client

* fix: remove debug console.log

* refactor: remove unnecessary sorting step
2022-01-24 10:42:27 -08:00
b1fb6adc39 fix: insert user html more consistently (#42195)
* fix: use an iframe to preserve head and body

* fix: remove unnecessary parsing of html

The contents gets inserted into the DOM during transformHtml, which
is always part of the build pipeline

* fix: pipe contents through iframe

* refactor: use the same code for both transforms

* fix: try to handle test errors better

Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2022-01-24 18:02:25 +00:00
76529a17ba feat(client): JAWS 2022 bugfix for monaco editor (#44784)
* feat: JAWS 2021 bugfix for monaco editor

* update menu label and toggle announcement

* Update client/src/templates/Challenges/classic/editor.tsx

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

* Update client/src/templates/Challenges/classic/editor.tsx

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

* Update client/src/templates/Challenges/classic/editor.tsx

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

* clarify visibility hack for live region

* Update client/src/templates/Challenges/classic/editor.tsx

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

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2022-01-24 17:45:01 +00:00
e61668833a chore(deps): update dependency nanoid to v3.1.31 [security] (#44873)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-24 22:14:14 +05:30
89f9aea93c chore(deps): update storybook monorepo to v6.4.14 (#44863)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-24 20:51:42 +05:30
eb83f393ad docs: add learntocode RPG (#44868)
* docs: add learntocode RPG

* Update how-to-translate-files.md

* Update docs/how-to-translate-files.md

Co-authored-by: Eric Cheng <ericcheng9316@gmail.com>

* Update how-to-translate-files.md

Co-authored-by: Lynn Zheng <lynnzheng08@outlook.com>
Co-authored-by: Eric Cheng <ericcheng9316@gmail.com>
2022-01-24 15:02:49 +01:00
71ef222473 chore(deps): update dependency mocha to v9.2.0 2022-01-24 12:26:36 +00:00
499146fc7f chore(deps): update dependency lint-staged to v12.3.1 2022-01-23 18:31:50 +00:00
5e75555099 chore(deps): update dependency lint-staged to v12.3.0 2022-01-23 14:42:36 +00:00
5e60c14a4d chore(deps): update babel monorepo to v7.16.12 2022-01-22 20:52:45 +00:00
2abfa63738 fix(curriculum): typo on step 43 2022-01-22 19:03:23 +01:00
43a2a0a395 chore(i18n,learn): processed translations (#44866) 2022-01-23 00:08:20 +09:00
d039479e66 chore(i18n,docs): processed translations (#44864) 2022-01-23 00:02:35 +09:00
9cf0a935aa chore(i18n,client): processed translations (#44876) 2022-01-23 00:01:07 +09:00
4481d9ff5b chore(deps): update dependency rollup to v2.66.0 2022-01-22 10:57:57 +00:00
8715578440 chore(deps): update codesee to v0.169.0 2022-01-22 02:43:35 +00:00
4f03e9f8c8 chore(deps): update dependency webpack to v5.67.0 2022-01-21 21:19:32 +00:00
b2b5a1967a chore(i18n,client): processed translations (#44865) 2022-01-22 00:54:58 +09:00
59f21b1d8f fix(curriculum): improve instructions in rothko-painting (#44816)
* Improved instructions in rothko painting lesson

* Removed duplicate line in step 42

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-the-css-box-model-by-building-a-rothko-painting/step-012.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-the-css-box-model-by-building-a-rothko-painting/step-014.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-the-css-box-model-by-building-a-rothko-painting/step-015.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-the-css-box-model-by-building-a-rothko-painting/step-021.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-the-css-box-model-by-building-a-rothko-painting/step-022.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-the-css-box-model-by-building-a-rothko-painting/step-034.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-the-css-box-model-by-building-a-rothko-painting/step-041.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-the-css-box-model-by-building-a-rothko-painting/step-042.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-the-css-box-model-by-building-a-rothko-painting/step-044.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-the-css-box-model-by-building-a-rothko-painting/step-045.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-the-css-box-model-by-building-a-rothko-painting/step-020.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-the-css-box-model-by-building-a-rothko-painting/step-014.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-the-css-box-model-by-building-a-rothko-painting/step-034.md

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

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
2022-01-21 14:31:41 +01:00
58d7618308 chore(deps): update dependency rollup to v2.65.0 2022-01-21 10:57:06 +00:00
188ea02fe1 fix(deps): update dependency typescript to v4.5.5 2022-01-21 02:54:40 +00:00
c223116c33 chore(deps): update codesee to v0.168.0 2022-01-21 00:14:53 +00:00
1f2f58685b chore(deps): update dependency lint-staged to v12.2.2 2022-01-20 21:47:23 +00:00
5c868af2b8 chore(i18n,learn): processed translations (#44851) 2022-01-20 20:30:18 +01:00