Commit Graph

29536 Commits (1e74017dc3fbd2c97d90f894fd5a7615140cc93e)

Author SHA1 Message Date
Renovate Bot c52f5d6aa3 chore(deps): update dependency eslint-plugin-jest-dom to v3.9.4 2021-12-26 10:23:44 +00:00
camperbot e8d4dbc67e
chore(i18n,docs): update translations (#44584) 2021-12-24 21:02:06 +01:00
Renovate Bot b6aa6dc1ae chore(deps): update dependency rollup to v2.62.0 2021-12-24 17:20:04 +00:00
Renovate Bot 96ef7088e1 chore(deps): update dependency lint-staged to v12.1.4 2021-12-24 15:08:22 +00:00
Renovate Bot f1c509ca1d chore(deps): update dependency @types/validator to v13.7.1 2021-12-24 13:35:45 +00:00
Renovate Bot 3bcccfbcb1 chore(deps): update dependency @types/sanitize-html to v2.6.1 2021-12-24 11:38:36 +00:00
Renovate Bot a95aaa47f4 chore(deps): update dependency @types/react-helmet to v6.1.5 2021-12-24 09:27:22 +00:00
Renovate Bot 074fcccb5d chore(deps): update dependency @types/reach__router to v1.3.10 2021-12-24 05:15:54 +00:00
Renovate Bot b8829bf722 chore(deps): update dependency @types/jquery to v3.5.11 2021-12-24 03:42:25 +00:00
Renovate Bot 083a583a8e chore(deps): update dependency @types/react to v17.0.38 2021-12-23 21:19:50 +00:00
camperbot 7c6c8bfd35
chore(i18n,curriculum): update translations (#44573) 2021-12-23 10:05:44 -08:00
Ahmad Abdolsaheb 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
renovate[bot] 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
Oliver Eyton-Williams 05089c535a
fix(client): enlarges console pane for project steps (#44567) 2021-12-23 17:39:06 +03:00
Oliver Eyton-Williams 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
renovate[bot] 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
camperbot 8584dfab1d
chore(i18n,docs): processed translations (#44571) 2021-12-23 18:41:58 +05:30
camperbot 2890970937
chore(i18n,client): processed translations (#44572) 2021-12-23 18:41:21 +05:30
Oliver Eyton-Williams 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
Mrugesh Mohapatra 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
Renovate Bot 99795a5edc chore(deps): update dependency eslint-plugin-react to v7.28.0 2021-12-23 03:22:31 +00:00
Renovate Bot b5dc0dbee9 chore(deps): update codesee to v0.156.0 2021-12-23 01:06:30 +00:00
Oliver Eyton-Williams 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
Jeremy L Thompson 4be4bf3624
fix(curriculum): update euler-50 solution with prime sieve (#44556) 2021-12-22 23:29:16 +05:30
Shaun Hamilton 4528c65715
fix(client): move new stuffs to new pages location (#44545) 2021-12-22 11:01:39 -06:00
Oliver Eyton-Williams 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
Shaun Hamilton 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
camperbot 17b2f03eac
chore(i18n,docs): update translations (#44551) 2021-12-22 15:09:56 +01:00
camperbot 4ced66a1fa
chore(i18n,curriculum): update translations (#44553) 2021-12-22 15:06:34 +01:00
camperbot 52dc01760e
chore(i18n,client): processed translations (#44552) 2021-12-22 19:19:02 +05:30
camperbot 3e4a5212a3
chore(i18n,docs): update translations (#44537) 2021-12-22 11:59:30 +01:00
Nicholas Carrigan (he/him) 65293f0716
feat: add intro text (#44547)
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2021-12-21 22:29:31 -06:00
Renovate Bot 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
Ahmad Abdolsaheb 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
Kristofer Koishigawa 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
Oliver Eyton-Williams 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
Mrugesh Mohapatra 198150217a
docs: update guidelines for reporting security issues (#44541) 2021-12-21 08:41:53 -08:00
camperbot 9b806c4eec
chore(i18n,client): processed translations (#44538) 2021-12-21 21:08:22 +05:30
camperbot a93940abc0
chore(i18n,curriculum): processed translations (#44540) 2021-12-21 21:07:31 +05:30
Renovate Bot ce2122925a chore(deps): update typescript-eslint monorepo to v5.8.0 2021-12-21 05:51:27 +00:00
Lasse Jørgensen a6990c7d9c
docs: update link in Moderator Handbook (#44529)
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2021-12-21 09:38:32 +05:30
Renovate Bot 2d1a1f26c1 chore(deps): update dependency @types/node to v16.11.15 2021-12-21 04:05:46 +00:00
Tom b0872abd86
fix: hide editor tabs on desktop (#44534) 2021-12-20 15:11:09 -08:00
Nicholas Carrigan (he/him) 0073a15455
fix: duplicate i18n keys (#44533) 2021-12-20 21:55:49 +00:00
Nicholas Carrigan (he/him) 8614db7a32
feat: enable new curriculum (#44183)
* feat: use legacy flag

chore: reorder challenges

fix: linter

revert: server change

feat: unblock new editor

fix: proper order

fix: 0-based order

fix: broke the order

feat: move tribute certification to its own block

feat: split the old projects block into 4

fix: put all blocks in order

chore: add intro text

refactor: use block, not blockName in query

fix: project progress indicator

* fix: reorder new challenges/certs

* fix: reorder legacy challenges

* fix: reintroduce legacy certs

* feat: add showNewCurriculum flag to env

* chore: forgot sample.env

* feat: use feature flag for display

* fix: rename meta + dirs to match new blocks

* fix: add new blocks to help-category-map

* fix: update completion-modal for new GQL schema

* test: duplicate title/id errors ->  warnings

* fix: update completion-modal to new GQL schema Mk2

* chore: re-order metas (again)

* fix: revert super-block-intro changes

The intro needs to show both legacy and new content.  We need to decide
which pages are created, rather than than what a page shows when
rendered.

* feat: move upcoming curriculum into own superblock

* fix: handle one certification with two superBlocks

* fix: remove duplicated intros

* fix: remove duplicate projects from /settings

* fix: drop 'two' from Responsive Web Design Two

* chore: rename slug suffix from two to v2

* feat: control display of new curriculum

* feat: control project paths shown on /settings

* fix: use new project order for /settings

This does mean that /settings will change before the release, but I
don't think it's serious.  All the projects are there, just not in the
legacy order.

* fix: claim/show cert button

* chore: remove isLegacy

Since we have legacy superblocks, we don't currently need individual
blocks to be legacy

* test: fix utils.test

* fix: verifyCanClaim needs certification

If Shaun removes the cert claim cards, maybe we can remove this entirely

* fix: add hasEditableBoundaries flags where needed

* chore: remove isUpcomingChange

* chore: v2 -> 22

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-12-20 12:36:31 -06:00