Commit Graph

29046 Commits

Author SHA1 Message Date
4916211179 chore(deps): update dependency @types/react-helmet to v6.1.4 2021-10-14 12:12:47 +00:00
d36a9a3c66 chore: delete obsolete file throwers.js (#43850) 2021-10-14 10:43:32 +02:00
548e98a844 chore(deps): update codesee to v0.112.1 2021-10-14 03:52:44 +00:00
80f8613db4 fix(deps): update dependency nanoid to v3.1.30 2021-10-14 02:17:51 +00:00
528bae6a73 fix(deps): update dependency sanitize-html to v2.5.2 2021-10-13 22:50:19 +00:00
d4a49a1c1c chore(deps): update dependency tailwindcss to v2.2.17 2021-10-13 20:42:44 +00:00
7f59c81b29 chore(i18n,docs): update translations (#43845) 2021-10-13 18:33:08 +02:00
7dc9af5ce5 chore(i18n,curriculum): update translations (#43846) 2021-10-13 08:28:11 -07:00
1da90ebffb chore(deps): update dependency @testing-library/dom to v8.9.0 2021-10-13 15:23:41 +00:00
c17b29e725 chore(deps): update dependency webpack to v5.58.2 2021-10-13 13:48:46 +00:00
8a47b60890 chore: remove debugging console logs (#43837) 2021-10-13 15:11:02 +03:00
22afdd1aad fix: stop modal appearing in steps (#43728)
* fix: stop showing completion modal on steps

* feat: submit steps with ctrl+enter

* fix: handle ctrl+enter when not focussing editor

* fix: reset tests when user types

* refactor: pass showCompletionModal as an option

Otherwise we have to write executeChallenge(true) which does not mean
what you might reasonably expect.

* fix: always executeChallenge when not on step

* fix: update frontend project show

* fix: handle missing payload

* refactor: isProjectStep -> hasEditableRegion

* refactor: more renaming

* fix: make meta.json control multifile editor use

* fix: update the challengeSchema correctly

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

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

* fix: remove logging

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

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-10-13 14:47:59 +03:00
9220bfedad migrate donation (#43783) 2021-10-13 12:49:02 +03:00
61d6b02c79 fix: update jaws on resize (#43777)
* fix: update jaws on resize

Use isProjectStep to determine if the jaws need to be updated

* refactor: isProjectStep -> hasEditableRegion

isProjectStep was misleading.  hasEditableRegion correctly describes
that function and leaves isProjectStep to enable features that are
unique to project steps, but nothing to do with the editable region
2021-10-13 12:40:28 +03:00
2d4916cd2c fix: add translated close button label in alert messages (#43810) 2021-10-13 11:08:14 +02:00
3eae0645ab fix: add translated close button label in alert messages (#43810) 2021-10-13 11:07:29 +02:00
e209582daf chore: remove night-mode-saga (#43829)
The saga only sets the value of fcc-theme in storage, but the values are
never retrieved, so the saga can be removed.
2021-10-13 12:00:00 +03:00
93ad0ae036 ci(workflow): add cache to workflows using actions/setup-node (#43830) 2021-10-13 13:04:58 +05:30
d268d7f7cd chore(deps): update dependency eslint-plugin-import to v2.25.2 (#43833)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-13 13:00:49 +05:30
091473645b chore(i18n,client): processed translations (#43826) 2021-10-13 12:59:58 +05:30
44f4b30890 chore(deps): update node.js to v14.18.1 (#43834)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-13 06:39:25 +02:00
588493b705 fix(deps): update dependency typescript to v4.4.4 2021-10-13 00:10:30 +00:00
7a9e762ba1 fix(deps): update dependency @types/react to v17.0.29 2021-10-12 22:09:26 +00:00
59241b59ef fix(tools): speedup npm installation in dockerfile (#43809)
* speedup npm dependency installation in Dockerfile

save time while installing npm dependencies with no npm progress bar

* add npm ci change to builder stage too
2021-10-12 12:11:23 -07:00
96fad4087d chore(deps): update storybook monorepo to v6.3.11 2021-10-12 18:21:07 +00:00
9b3a8e6bcf fix(tools): 👷 update CodeSee workflow to now work with PRs from forks (#43816)
* 👷 CodeSee now works with PRs in forks

This change updates the CodeSee Architecture Diagram workflow to enable PR diagrams from forks.

* Adds back in the run condition

Missed this bit when I was copying over the updated template, adding it back in.

* Ran prettier on the workflow file
2021-10-12 17:26:04 +01:00
43b2d2aab8 chore(i18n,docs): update translations (#43825) 2021-10-12 18:03:01 +02:00
4d8784291e chore(i18n,curriculum): update translations (#43812) 2021-10-12 17:20:30 +02:00
3a504376f2 docs: add docsify tabs to how-to-setup-freecodecamp-locally.md (#43767) 2021-10-12 20:49:18 +05:30
871ebf53e0 chore(deps): update dependency webpack-bundle-analyzer to v4.5.0 2021-10-12 15:17:46 +00:00
98539cc4b1 chore(deps): update dependency eslint-plugin-import to v2.25.1 2021-10-12 14:00:00 +00:00
6ac5605fa6 fix(deps): update dependency @types/react to v17.0.28 2021-10-12 12:13:53 +00:00
55d7c5adf0 chore(deps): update codesee to v0.111.1 2021-10-12 09:58:03 +00:00
7fb5a29987 chore(deps): update codesee to v0.111.0 2021-10-12 02:54:23 +00:00
ba585768eb chore(deps): update dependency ts-node to v10.3.0 2021-10-11 21:43:32 +00:00
d947d8c975 fix: add test to ensure the innerText of labels doesn't change (#43803)
For the check-radio-buttons-and-checkboxes-by-default exercise,
campers are able to pass the exercise if the checked attribute is
written in an incorrect syntax. This PR checks the innerText of the
elements which are being added the 'checked' attribute and ensures that
their value doesn't change.
Fixes #43750
2021-10-11 21:21:30 +02:00
20fd622b67 Update .gitignore with vim files (#43774) 2021-10-11 10:46:34 +02:00
f56a5617ac feat: add tailwind theme support (#43616)
* feat: add tailwind theme support

* feat: simplify config
2021-10-11 10:38:44 +03:00
8db6fa6b32 chore(deps): update dependency lint-staged to v11.2.3 2021-10-10 22:42:40 +00:00
bdd33a5fe7 chore(i18n,curriculum): update translations (#43795) 2021-10-10 22:18:16 +02:00
2d916e3b1f chore(i18n,docs): update translations (#43801) 2021-10-10 22:17:35 +02:00
54652e34e7 chore(i18n,learn): update translations (#43773) 2021-10-10 10:38:02 -07:00
d551967970 chore(deps): update dependency @testing-library/user-event to v13.3.0 2021-10-10 10:58:37 +00:00
986345e43f chore(deps): update dependency lint-staged to v11.2.2 2021-10-09 22:47:31 +00:00
d3708422dd fix(curriculum): add test to check if the original variable is edited (#43791)
* fix: add test to check if variable is edited

* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/regular-expressions/remove-whitespace-from-start-and-end.md

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

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-10-09 19:45:10 +02:00
0e2f5f0074 chore(deps): update dependency lint-staged to v11.2.1 2021-10-09 07:09:21 +00:00
0c4d757e73 chore(deps): update codesee to v0.110.1 2021-10-09 01:20:31 +00:00
461e429598 fix(client): prevent jumping between editor tabs (#43771) 2021-10-08 22:14:15 +01:00
bba3b6f8a4 chore(deps): update dependency webpack to v5.58.1 2021-10-08 18:14:22 +00:00
31f1eaabc5 chore(deps): update dependency jest to v27.2.5 2021-10-08 16:56:47 +00:00