Commit Graph

29644 Commits

Author SHA1 Message Date
b4acccbde9 Added "be" in the first paragraph (#44610)
Added "be" in the first paragraph of the description.
2021-12-28 19:05:28 -08:00
58aea70c9e fix: remove extraneous word from instructions (#44601) 2021-12-28 19:03:20 -08:00
5d908130ae chore(deps): update codesee to v0.157.0 2021-12-28 22:12:13 +00:00
a8c33e8fcd fix(deps): update dependency react-i18next to v11.15.2 2021-12-28 10:38:32 +00:00
8a8b9b574b chore(i18n,learn): update translations (#44585) 2021-12-28 12:38:11 +05:30
81cf5a37c1 chore(i18n,curriculum): update translations (#44586) 2021-12-28 10:54:36 +05:30
ad5e5d698e chore(deps): update dependency acorn to v8.7.0 2021-12-27 23:38:02 +00:00
03b43a5fd6 chore(deps): update typescript-eslint monorepo to v5.8.1 2021-12-27 22:00:59 +00:00
c52f5d6aa3 chore(deps): update dependency eslint-plugin-jest-dom to v3.9.4 2021-12-26 10:23:44 +00:00
e8d4dbc67e chore(i18n,docs): update translations (#44584) 2021-12-24 21:02:06 +01:00
b6aa6dc1ae chore(deps): update dependency rollup to v2.62.0 2021-12-24 17:20:04 +00:00
96ef7088e1 chore(deps): update dependency lint-staged to v12.1.4 2021-12-24 15:08:22 +00:00
f1c509ca1d chore(deps): update dependency @types/validator to v13.7.1 2021-12-24 13:35:45 +00:00
3bcccfbcb1 chore(deps): update dependency @types/sanitize-html to v2.6.1 2021-12-24 11:38:36 +00:00
a95aaa47f4 chore(deps): update dependency @types/react-helmet to v6.1.5 2021-12-24 09:27:22 +00:00
074fcccb5d chore(deps): update dependency @types/reach__router to v1.3.10 2021-12-24 05:15:54 +00:00
b8829bf722 chore(deps): update dependency @types/jquery to v3.5.11 2021-12-24 03:42:25 +00:00
083a583a8e chore(deps): update dependency @types/react to v17.0.38 2021-12-23 21:19:50 +00:00
7c6c8bfd35 chore(i18n,curriculum): update translations (#44573) 2021-12-23 10:05:44 -08:00
cb201a8e8b feat: add grid map (#44557)
* feat: add map grid

* fix: lint/prettier/ts

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-12-23 10:29:52 -06:00
f540c839ed fix(deps): update dependency prop-types to v15.8.0 (#44560)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 21:48:26 +05:30
Tom
bd9065fdfe fix: sideways checkmarks on blocks (#44575) 2021-12-23 17:17:11 +01:00
05089c535a fix(client): enlarges console pane for project steps (#44567) 2021-12-23 17:39:06 +03:00
85b9daedb8 fix(client): handle challenge resets with hidden preview (#44570) 2021-12-23 17:34:26 +03:00
Tom
dfd3fd452d fix: make beta go to RWD superblock instead of learn (#44563) 2021-12-23 19:18:12 +05:30
b2492fd44e chore(deps): update dependency @types/node to v16.11.17 (#44565)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 18:42:24 +05:30
8584dfab1d chore(i18n,docs): processed translations (#44571) 2021-12-23 18:41:58 +05:30
2890970937 chore(i18n,client): processed translations (#44572) 2021-12-23 18:41:21 +05:30
54ff692a10 fix: slight change to 'go back to learn' message (#44566) 2021-12-23 16:37:11 +05:30
Tom
b27aeb11ca fix: footer showing up on new RWD challenges (#44562) 2021-12-23 08:02:35 +01:00
Tom
075bc04a2b fix: step-1 crashing (#44561) 2021-12-23 06:51:03 +00:00
9b15d47566 docs: expand the responsible disclosure (#44549)
* docs: expand the responsible disclosure

* Update docs/security.md

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

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-12-23 11:03:14 +05:30
99795a5edc chore(deps): update dependency eslint-plugin-react to v7.28.0 2021-12-23 03:22:31 +00:00
b5dc0dbee9 chore(deps): update codesee to v0.156.0 2021-12-23 01:06:30 +00:00
36363f277d test: enable tests for steps (#44550)
* fix: handle missing solutions correctly

Rather than creating an [[]] the parser now creates [] which isEmpty().
This makes the test suite check the next challenge for a solution.

In addition, the logic for testing solutions was fixed.

* chore: update snapshots

* test: build new superblock in node.js-tests CI

* test: allow forward slash in superblock slug

* fix: borked tests oops

* test: ignore duplicated projects

* fix: i did not break these shaun did :)

* fix: idIndex is index of id not id

Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com>
2021-12-22 12:18:06 -08:00
4be4bf3624 fix(curriculum): update euler-50 solution with prime sieve (#44556) 2021-12-22 23:29:16 +05:30
4528c65715 fix(client): move new stuffs to new pages location (#44545) 2021-12-22 11:01:39 -06:00
fd63bb6f85 feat: mvp features for soft launch (#44539)
* refactor: use enum

* feat: create links between legacy and new

* refactor: pull out legacy-links component

* fix: import order

* fix: provide icon for new superblock

* feat: only show the copy on the new superblock

* fix: use the proper i18n keys correctly

* feat: put the new superblock at the end of the map

* feat: update the new superblock title

* test: update for soft launch order

* fix: show original project links on /settings

Soft launch only.

* test: use SHOW_NEW_CURRICULUM in tests

* fix: rename the remaining rwd-22s

* feat: make the messge prettier

* fix: message copy

* refactor: make comment make sense

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-12-22 16:53:40 +00:00
10f0d3c07a fix: new practice project tests (#44554)
* fix accessibility-quiz and reg-form tests

(cherry picked from commit 467f0b3e78)

* fix: registration-form tests

* fix: ferris wheel tests

* fix: photo-gallery tests

* fix: magazine tests

(cherry picked from commit 5831c2345d)

* fix: picasso tests

* fix: piano tests

* fix: magazine and nutrition tests

* fix: again magazine...I am doing this in sill order

* chore: resolve discrepancies with tests

(cherry picked from commit a7b5e031df)

* fix: the stuffs...I am tired

* fix: oops

(cherry picked from commit 05ff55a036)

* fix: add missing solutions

(cherry picked from commit 61fa23fc70)

Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com>
2021-12-22 08:16:59 -08:00
17b2f03eac chore(i18n,docs): update translations (#44551) 2021-12-22 15:09:56 +01:00
4ced66a1fa chore(i18n,curriculum): update translations (#44553) 2021-12-22 15:06:34 +01:00
52dc01760e chore(i18n,client): processed translations (#44552) 2021-12-22 19:19:02 +05:30
3e4a5212a3 chore(i18n,docs): update translations (#44537) 2021-12-22 11:59:30 +01:00
65293f0716 feat: add intro text (#44547)
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2021-12-21 22:29:31 -06:00
be36e1e7d0 chore(deps): update codesee to v0.154.0 2021-12-22 02:13:01 +00:00
Tom
e52990eb1c fix(curriculum): add missing solutions to last step of practice projects (#44544) 2021-12-21 23:03:09 +00:00
449c37fb33 feat(client): add donate faq (#44380)
* feat: add donate faq

* Apply suggestions from code review

Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>

* clean up

* Apply suggestions from code review

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

* Update client/src/components/Donation/donation-text-components.tsx

Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-12-21 14:42:10 -08:00
e878b3ee57 feat: add CSS Color Markers project (#44459)
* feat: first draft of CSS Color Markers project

* Update client/i18n/locales/english/intro.json

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

* Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-007.md

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

* Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-046.md

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

* Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-079.md

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

* feat: begin adding tests

* feat: add more tests, fix wording and some CSS values

* feat: add more steps, fix wording

* Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-014.md

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

* feat: add more tests, simplify some regex tests, fix wording

* fix: preformatted block names and help category map

* feat: finish first draft of color marker tests

* fix: simplify text involving classes

* Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-004.md

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

* Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-008.md

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

* Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-009.md

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

* Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-010.md

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

* Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-011.md

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

* Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-013.md

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

* Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-014.md

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

* Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-014.md

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

* Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-054.md

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

* Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-089.md

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

* Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-094.md

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

* fix: add outro message to final CSS color markers step

* fix: make most regex tests case insensitive, add note about casing for filename

* correct double key from rebase

* remove jQuery for betterness

* move project to new superblock

* adjust meta to match others

* fix: add new to helper call

* regex-ise funny lessons

* unnecessary: add -22 superblock

* fix: make linter happy

* regex-ise missed challenges...oops

* Revert "fix: make linter happy"

This reverts commit 6e6e3cf503.

* Revert "unnecessary: add -22 superblock"

This reverts commit a58045607e.

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-005.md

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-010.md

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-052.md

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-053.md

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-054.md

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-055.md

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-056.md

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-057.md

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-058.md

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-059.md

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-062.md

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-063.md

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-064.md

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-065.md

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-068.md

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-069.md

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-082.md

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

* fix: rename project to "Learn CSS Colors by Building a Set of Colored Markers"

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-set-of-colored-markers/step-010.md

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

* adjust superblock to include `2022/`

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2021-12-21 11:45:08 -08:00
ff566d441a fix: rename superblock to use /2022/ (#44535)
* chore: update superblock properties

* refactor: remove isAudited from certs

It was always defaulting to English, anyway.

* refactor: get superblock from metas, not dirs

* fix: rename responsive-web-design-22

This converts the slugs to /2022/responsive-web-design

* refactor: remove unused export

* test: update test with new curriculum config

* refactor: use key not [key]

* refactor: remove directory reference from test
2021-12-21 12:35:51 -06:00
198150217a docs: update guidelines for reporting security issues (#44541) 2021-12-21 08:41:53 -08:00