Commit Graph

29464 Commits

Author SHA1 Message Date
Shaun Hamilton
05b180a288 Merge branch 'main' of upstream into feat/add-css-color-markers-project 2021-12-20 18:55:22 +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
Prashant
304773d62b fix(i18n): Expand/Collapse Courses Button text (#44528)
* fix(i18n): Expand/Collapse Courses Button text

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

Co-authored-by: Ilenia <nethleen@gmail.com>

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

Co-authored-by: Ilenia <nethleen@gmail.com>

Co-authored-by: Ilenia <nethleen@gmail.com>
2021-12-20 18:24:09 +01:00
Kris Koishigawa
12e923e76a fix: make most regex tests case insensitive, add note about casing for filename 2021-12-20 17:46:41 +09:00
Kris Koishigawa
33b528b225 fix: add outro message to final CSS color markers step 2021-12-20 16:38:43 +09:00
Kristofer Koishigawa
7fc58e2137 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>
2021-12-20 16:30:07 +09:00
Kristofer Koishigawa
2f1682f677 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>
2021-12-20 16:28:20 +09:00
Kristofer Koishigawa
28055d9d99 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>
2021-12-20 16:27:09 +09:00
Kristofer Koishigawa
6178cadc2c 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>
2021-12-20 16:26:47 +09:00
Kristofer Koishigawa
b52b5b4a1a 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>
2021-12-20 16:26:37 +09:00
Kristofer Koishigawa
0c49defd3f 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>
2021-12-20 16:26:23 +09:00
Kristofer Koishigawa
7b5e6bb129 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>
2021-12-20 16:25:59 +09:00
Kristofer Koishigawa
a9fe8a7e8d 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>
2021-12-20 16:25:50 +09:00
Kristofer Koishigawa
b8653e8259 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>
2021-12-20 16:24:42 +09:00
Kristofer Koishigawa
8924fd8810 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>
2021-12-20 16:24:24 +09:00
Kristofer Koishigawa
307b35317b 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>
2021-12-20 16:24:07 +09:00
camperbot
63a53ee382 chore(i18n,curriculum): update translations (#44527) 2021-12-19 15:32:25 +00:00
camperbot
14fe1fe653 chore(i18n,curriculum): update translations (#44524) 2021-12-18 14:30:08 +00:00
Renovate Bot
f1bb7b9091 chore(deps): update dependency lint-staged to v12.1.3 2021-12-18 14:21:22 +00:00
Ahmad Abdolsaheb
ee73042c84 feat(client): add background animation for description of first challenge (#44519)
* initial

* Apply suggestions from code review

* Update client/src/templates/Challenges/classic/editor.css
2021-12-17 21:21:17 +01:00
Renovate Bot
54a94528c7 chore(deps): update codesee to v0.153.0 2021-12-17 20:14:07 +00:00
Kris Koishigawa
45168d1834 fix: simplify text involving classes 2021-12-18 00:51:37 +09:00
Kris Koishigawa
8f4d3febad feat: finish first draft of color marker tests 2021-12-17 23:06:39 +09:00
camperbot
3e9230724a chore(i18n,learn): update translations (#44520) 2021-12-17 10:33:29 -03:00
Kris Koishigawa
d48f3bad70 fix: preformatted block names and help category map 2021-12-17 20:58:46 +09:00
Renovate Bot
4d1ceb3f74 fix(deps): update dependency react-instantsearch-dom to v6.18.0 2021-12-17 09:02:21 +00:00
Kris Koishigawa
6ef6960da9 feat: add more tests, simplify some regex tests, fix wording 2021-12-17 16:05:53 +09:00
Kristofer Koishigawa
b9ed936fab 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>
2021-12-17 14:29:18 +09:00
Kris Koishigawa
2b5018324c feat: add more steps, fix wording 2021-12-17 02:38:33 +09:00
camperbot
d12ab79798 chore(i18n,curriculum): update translations (#44507) 2021-12-16 14:58:18 +00:00
Luca
b3f1c85d54 fix(curriculum): remove random single quote (#44516) 2021-12-16 15:45:32 +01:00
camperbot
88b6b8a8f5 chore(i18n,learn): update translations (#44515) 2021-12-16 14:04:55 +00:00
Tom
c2aa8ce3e5 fix: make completion modal a little more accessible (#44508)
* fix: make completion modal a little more accessible

* remove: unneeded aria attribute

* fix: update snapshots
2021-12-16 11:17:12 +01:00
Kris Koishigawa
9cabc1db5c feat: add more tests, fix wording and some CSS values 2021-12-16 16:26:53 +09:00
Renovate Bot
3355487dcb chore(deps): update codesee to v0.152.0 2021-12-16 04:25:26 +00:00
Tom
1605dbb21f fix: grammar in private profile flash message (#44510) 2021-12-15 17:14:21 -08:00
Renovate Bot
4051b76c60 chore(deps): update dependency @types/node to v16.11.14 2021-12-16 00:27:17 +00:00
Ahmad Abdolsaheb
5a8efaf4a4 feat: show card to signed in users (#44509) 2021-12-15 22:43:26 +03:00
Tom
580a51f7a7 fix: simplify mobile layout tabs (#44431)
* fix: simplify mobile layout tabs

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


Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-12-15 13:52:44 +00:00
Kris Koishigawa
2c98805208 feat: begin adding tests 2021-12-15 22:07:25 +09:00
Kristofer Koishigawa
1bf57a8218 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>
2021-12-15 22:01:19 +09:00
Kristofer Koishigawa
471e64dc6a 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>
2021-12-15 21:59:30 +09:00
Kristofer Koishigawa
c42d44face 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>
2021-12-15 21:57:13 +09:00
Kristofer Koishigawa
2b5e0c6b5c Update client/i18n/locales/english/intro.json
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-12-15 21:56:35 +09:00
camperbot
62071589d3 chore(i18n,learn): update translations (#44506) 2021-12-15 12:44:14 +00:00
Renovate Bot
5e0ebe1b57 fix(deps): update dependency @stripe/react-stripe-js to v1.7.0 2021-12-15 10:21:08 +00:00
Renovate Bot
5e66a30ac1 chore(deps): update codesee to v0.151.0 2021-12-15 08:20:13 +00:00
Scott
d06d976be4 feat(learn): add Implement Binary Search - Coding Interview Prep - Algorithms Challenges (#44386)
* basic challenge create, with two tests

* updated test

* minor update

* rewrote tests, making many out of one test func

* completed coding challenge and ran tests local

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search-method.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search-method.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search-method.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search-method.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search-method.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search-method.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search-method.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search-method.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search-method.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search-method.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

Co-authored-by: Ilenia <nethleen@gmail.com>

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

Co-authored-by: Ilenia <nethleen@gmail.com>

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

Co-authored-by: Ilenia <nethleen@gmail.com>

* renamed doc, fixed typo, made testing consistent

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

Co-authored-by: Ilenia <nethleen@gmail.com>

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>
Co-authored-by: Eric Cheng <ericcheng9316@gmail.com>
Co-authored-by: Ilenia <nethleen@gmail.com>
2021-12-14 21:16:22 -06:00
Renovate Bot
483010b87b fix(deps): update dependency @babel/standalone to v7.16.6 2021-12-15 02:25:05 +00:00
Oliver Eyton-Williams
b57cf4ffa7 fix: store completed js projects in redux (#44496)
* fix: store completed js projects in redux

These were missed when we migrated from files to challengeFiles

* test: put the data-cy on the correct button

Rather than the fallback. The tests were only passing because the
fallback was kicking in and, since that was fixed, the tests started to
fail!
2021-12-14 17:59:53 -06:00