Commit Graph

2948 Commits (13aa7bd99d20fd12e1e4b406d97e01e1514fb0ea)

Author SHA1 Message Date
camperbot 81cf5a37c1
chore(i18n,curriculum): update translations (#44586) 2021-12-28 10:54:36 +05:30
Renovate Bot ad5e5d698e chore(deps): update dependency acorn to v8.7.0 2021-12-27 23:38:02 +00:00
camperbot 7c6c8bfd35
chore(i18n,curriculum): update translations (#44573) 2021-12-23 10:05:44 -08: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
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 4ced66a1fa
chore(i18n,curriculum): update translations (#44553) 2021-12-22 15:06:34 +01:00
Tom e52990eb1c
fix(curriculum): add missing solutions to last step of practice projects (#44544) 2021-12-21 23:03:09 +00: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
camperbot a93940abc0
chore(i18n,curriculum): processed translations (#44540) 2021-12-21 21:07:31 +05:30
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
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
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
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
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
camperbot 755f27093c
chore(i18n,curriculum): update translations (#44498) 2021-12-14 09:04:33 -08:00
Oliver Eyton-Williams 1642c631de
refactor: drop superorder from metas (#44422)
* refactor: create superOrder from superblock

* chore: drop superOrders from meta

* fix: return null for 'certifications'

* fix: only set superOrder if it is needed

* fix(tests): remove filter from order tests

* test: use getSuperOrder, since superOrder has gone

* test: ignore certificates

* fix: getSuperOrder throw for 'certifications'

* test: remove certificate special case

It wasn't necessary, anyway (it had never been working because I put
certificate not certification)

Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com>
2021-12-14 08:16:23 -08:00
Renovate Bot 5a1414e247 chore(deps): update babel monorepo to v7.16.5 2021-12-14 02:42:46 +00:00
Najmieh Sadat Safarabadi b4b3ecd5ce
fix(curriculum): remove unnecessary quotation marks (#44486) 2021-12-13 13:32:34 -08:00
camperbot fc3756656a
chore(i18n,curriculum): update translations (#44484) 2021-12-13 16:41:12 +00:00
Nicholas Carrigan (he/him) 010e09ffb7
chore: migrate untranslated files (#44462) 2021-12-10 21:28:00 +05:30
camperbot ecc964996b
chore(i18n,curriculum): processed translations (#44457) 2021-12-10 06:45:49 -08:00
camperbot 0473dedf47
chore(i18n,curriculum): processed translations - new ukrainian (#44447) 2021-12-10 11:14:24 +05:30
Oliver Eyton-Williams 9ad29e03d5
refactor: handle certs separately (#44434)
* refactor: split createChallenge into two functions

* refactor: remove certification metas

* fix: remove the metas I missed
2021-12-09 11:53:12 -08:00
Tom 1c5d136add
feat(client): add notes tab to project based curriculum (#44247)
* feat: add notes tab to project based curriculum

* feat: add console key to i18n

* feat: add reset to i18n

* fix: use translations in action-row

* fix: use hasEditableBoundaries as check for when to display instructions/editor-tabs

* fix: clean up notes components and use prism formatting

* feat: add notes to docs/how-to-work-on-challenges

* revert: unused code

* fix: lint errors?

* fix: lint errors

* fix: add notes to graphql schema

* fix: add notes to challenge schema

* fix: only display notes on project based

* fix: add env data back to mobile layout

* fix: prettify

* revert: notes

* fix: hide notes on mobile for non project based

* rename: switchDisplayTab -> togglePane

* revert: hasEditableBoundaries check back to projectBasedChallenge check
2021-12-09 18:42:03 +00:00
Nicholas Carrigan (he/him) c19bf504b8
Revert "fix: only include frame-runner when running tests (#44337)" (#44419)
This reverts commit a23a47750b.
2021-12-08 22:10:41 +05:30
sanberkzulfikar 50b554470d
fix(curriculum): wording consistency in counting-cards.md (#44390) 2021-12-08 07:32:56 -08:00
camperbot 792ec8917c
chore(i18n,curriculum): processed translations (#44416) 2021-12-08 06:49:11 -08:00
justinrobinson1020 cd9be3c291
fix(curriculum): improve regex for advanced-node (#44407)
* Modify set-up-passport challenge test regex to accept space after secret

* Accept any number of spaces

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

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>
2021-12-07 22:09:57 +00:00
Shaun Hamilton 86cc757945
fix(client): remove normalize.css from globals (#44403) 2021-12-07 23:08:51 +05:30
camperbot e2651ba552
chore(i18n,curriculum): processed translations (#44402) 2021-12-07 08:08:10 -08:00
Oliver Eyton-Williams a23a47750b
fix: only include frame-runner when running tests (#44337)
* fix: only include frame-runner when running tests

* fix: handle missing options

* test: use test runner for curriculum tests
2021-12-06 13:02:49 -06:00
Nicholas Carrigan (he/him) 8372623f69
chore(curriculum): fix + test curriculum order (#44366)
* chore(tools): test curriculum order

* chore: update orders

* fix(tests): temporarily ignore cert super

The Relational Databases cert being 'upcomingChanges' is breaking
the tests.

* fix: graphql query here

* fix: use only one meta

* chore: remove unnecessary superOrders

* chore: zero-based indexing

* fix: update mock

* refactor: remove unused fixture

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-12-06 16:55:13 +00:00
camperbot 2411385e3d
chore(i18n,curriculum): processed translations (#44388) 2021-12-06 09:27:54 +05:30
Arjun Yadav a5528b8638
fix(curriculum): add missing spaces (#44381) 2021-12-05 09:35:22 +05:30
Shaun Hamilton 393aeabc8f
feat(curriculum): add css-penguin practice project (#44214)
* feat: add css-penguin practice project

* rename block name

* rename meta block

* rename necessary properties

* rename page

* add to step 25

* adjust prototype with better structure/naming

* add step adjusting .ground z-index

* fix: add position: absolute to .ground

* add to step 37

* add to step 103

* remove erm from solution

* add tests to 001-020

* add tests 021-030

* test: update 012 to use dynamic hints

* test: improve tests with dynamic hints

* fix: add position:relative to .penguin

* add tests 032-055

* add tests 056 - 103

* fix some tests

* code blocks and test fixes

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

* allow 0% 0px 0

* fix: add width and height step for silly firefox

* add instruction to add html element

* Tom's good suggestions, and his American suggestions

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

* adjust wording for - you guessed it - firefox

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

* add missing calc keyword

* just fix it with regex :(

* apply Nich's probably bogus suggestions

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

* remove duplicate

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-12-03 17:59:32 -06:00
Nicholas Carrigan (he/him) 536a689d34
feat(curriculum): balance sheet project (#44189)
* feat: initial infra

* feat: create steps

* chore: apply sem's review suggestions

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

* feat: write tests

* chore: optional?.chaining?.

* chore: gikf's suggestion

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

* chore: rename

* chore: *

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

* chore: apply shaun's review suggestions

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

* chore: manual review suggestions

* chore: ?????

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

Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
Co-authored-by: Krzysztof <60067306+gikf@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-12-03 16:20:34 -06:00
Oliver Eyton-Williams f613a1e5fd
fix: index.css/js to styles/script (#44356)
* fix: replace index with script/styles as needed

* fix: remove redundant fileKey

It's overwritten by createPoly, so the parser does not need to create it

* fix: curriculum test suite

* Update client/src/templates/Challenges/classic/MultifileEditor.js

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

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-12-03 12:32:29 -08:00
camperbot 56ca9320da
chore(i18n,curriculum): processed translations (#44372) 2021-12-03 15:44:33 +00:00
camperbot cd4d53f4c0
chore(i18n,curriculum): update translations (#44346) 2021-12-03 10:21:50 +01:00
Oliver Eyton-Williams 6af8ee6528
fix: hide file tabs on legacy challenges (#44291)
* fix: hide tabs for legacy challenges (desktop)

* fix: hide tabs for legacy challenges (mobile)

* fix: remove editor tabs (desktop)

* refactor: update comment

* fix: add missing usesMultifileEditor flags
2021-12-02 12:05:54 -08:00
renovate[bot] 0921e5e135
chore(deps): update dependency joi to v17.5.0 (#44344)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-02 23:15:54 +05:30
Oliver Eyton-Williams 03309bea9e chore: remove old package-locks 2021-12-02 19:57:47 +05:30
Timur b34bbe48d7
fix(curriculum): Made `Timestamp Microservice` project tests sort of "timezone aware" (#43939) 2021-12-01 11:17:18 +01:00
Shashank Rai bc9ade6a7d
bd (#44298) 2021-11-30 22:16:03 -06:00
camperbot f65a7a53bf
chore(i18n,curriculum): processed translations (#44319) 2021-11-30 15:06:52 +01:00
Prathamesh Gawas 25865cc9bb
fix(curriculum): add better test case for insert-an-element-into-a-max-heap challenge (#44285)
* fix(cirriculum): add better testcase for insert-an-element-into-a-max-heap challenge

* fix(cirriculum): fix testcase for insert-an-element-into-a-max-heap challenge

* Update insert-an-element-into-a-max-heap.md

* Update insert-an-element-into-a-max-heap.md
2021-11-29 12:43:40 -08:00
Alan Luo a10d49b75a
Fix a typo (#44309) 2021-11-29 12:05:13 -08:00
Dhananjay Mahajan 1b8f006669
fix(curriculum): separate tag into two (#44281) 2021-11-29 11:57:41 -08:00
Alan Luo ad730dc84b
fix(curriculum): missing backticks (#44308) 2021-11-29 11:50:38 -08:00
camperbot a8b0332720
chore(i18n,curriculum): update translations (#44283) 2021-11-29 08:32:04 -08:00
Najmieh Sadat Safarabadi aa9215b111
fix(curriculum): Edit the title of Project Euler Problem 283 (#44305)
* Edited the title following the issue

* Edited the title in the JSON file as well
2021-11-29 08:26:24 -08:00
Alessia Vanni 0deac73642
chore(curriculum): add instructions 08 (#44160)
Co-authored-by: Krzysztof <60067306+gikf@users.noreply.github.com>
2021-11-29 10:54:18 +05:30
Steven 118d5aa59d
fix(curriculum): added whitespace after MathJax tag (#44304) 2021-11-29 10:52:36 +05:30
Alessia Vanni 56e394eb0e
chore(curriculum): add instructions for certificate 09 (#44241) 2021-11-25 11:22:06 +01:00
David Rivera Morales cf9f06918a
fix(curriculum): typo in the description in Problem 29: Distinct powers (#44243)
* Typo fixed in problem 29 Distinct

* Typo fixed using MathJax

* Update curriculum/challenges/english/10-coding-interview-prep/project-euler/problem-29-distinct-powers.md

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

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>
2021-11-24 10:10:54 -08:00
Vinay Kumar Uppala 35b55f071a
fix: typo in back end instructions #44231 (#44232) 2021-11-24 09:32:34 -08:00
camperbot 9cf0d9fc3c
chore(i18n,curriculum): update translations (#44272) 2021-11-24 15:29:35 +00:00
camperbot ccfe21afb5
chore(i18n,curriculum): update translations (#44255) 2021-11-23 19:06:14 +00:00
camperbot 2ef9ecfb4d
chore(i18n,curriculum): update translations (#44227) 2021-11-22 18:25:21 +01:00
Nicholas Carrigan (he/him) 2cfa1d3bcd
chore: rename css skyline (#44211)
* chore: rename files

* chore: update codebase

* chore: proper title case

* chore: block name

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

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-11-20 08:34:21 -06:00
Nicholas Carrigan (he/him) fbb9f657b1
chore: rename accessibility quiz (#44206)
* chore: rename files

* chore: update codebase

* chore: proper title case

* chore: preformatted block name
2021-11-20 07:43:42 -06:00
Nicholas Carrigan (he/him) a73cffdc63
chore: rename photo gallery (#44204)
* chore: rename files

* chore: update codebase

* chore: proper title case

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2021-11-20 00:05:22 -06:00
Nicholas Carrigan (he/him) ff0fc1bdbf
chore: rename picasso painting (#44209)
* chore: rename files

* chore: update codebase

* chore: proper title case

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2021-11-19 23:30:57 -06:00
Nicholas Carrigan (he/him) 57d303826c
chore: rename nutrition label (#44205)
* chore: rename files

* chore: update codebase

* chore: proper title case

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2021-11-19 23:10:09 -06:00
Nicholas Carrigan (he/him) 59c24bd4be
chore: rename cafe menu (#44201)
* chore: rename files

* chore: update codebase

* chore: proper title case

* chore: missed block name

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

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2021-11-19 22:22:24 -06:00
Shaun Hamilton 0676506f00
fix(curriculum): adjust test euler-227 (#44180)
Correct test to match test-text.
2021-11-19 22:11:00 -06:00
Nicholas Carrigan (he/him) 0e66904272
chore: rename css piano (#44210)
* chore: rename files

* chore: update codebase

* chore: proper title case
2021-11-19 21:49:10 -06:00
Nicholas Carrigan (he/him) 06651d7043
chore: rename ferris wheel (#44213)
* chore: rename files

* chore: update codebase

* chore: proper title case
2021-11-19 21:38:19 -06:00
Nicholas Carrigan (he/him) 2ca67a6c23
chore: rename magazine (#44212)
* chore: rename files

* chore: update codebase

* chore: proper title case
2021-11-19 21:33:29 -06:00
Nicholas Carrigan (he/him) 1958eb2acd
chore: rename rothko painting (#44203)
* chore: rename files

* chore: update codebase

* chore: missed one

* chore: use proper title case
2021-11-19 21:23:04 -06:00
Nicholas Carrigan (he/him) ca6f5dbbcd
chore: rename registration form (#44202)
* chore: rename files

* chore: update codebase

* chore: proper title case
2021-11-19 21:18:01 -06:00
Nicholas Carrigan (he/him) 48550a582e
chore: rename cat photo project (#44200)
* chore: move files

* chore: update names in code

* chore: use correct name oops

* chore: proper title case
2021-11-19 21:11:31 -06:00
camperbot fecb10e611
chore(i18n,curriculum): processed translations (#44221) 2021-11-20 00:01:54 +05:30
Emiliano 67cac9ac42
definition change of :: before :: after pseudo elements (#44188) 2021-11-19 15:24:36 +01:00
camperbot bcc61f2ab3
chore(i18n,curriculum): update translations (#44199) 2021-11-18 22:52:12 +00:00
HiddenOgre28 a0d3f22dfc
fix(curriculum): correct grammar in description (#44194) 2021-11-18 16:07:12 +00:00
renovate[bot] 54cea8af21
chore(deps): update babel monorepo to v7.16.4 (#44190)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-18 10:44:13 +05:30
camperbot 9f9fb63caa
chore(i18n,curriculum): processed translations (#44193) 2021-11-17 19:50:53 +05:30
camperbot 383bafa064
chore(i18n,curriculum): update translations (#44186) 2021-11-17 12:53:39 +01:00
Tom 21be9df82a
feat: add/rename md files for new RDBMS tutorials (#44132)
* feat: split RDBMS tutorial into two parts

* fix: update challenges across the rest of the languages
2021-11-16 21:35:59 +00:00
camperbot e56c75ba68
chore(i18n,curriculum): update translations (#44177) 2021-11-15 20:10:48 +05:30
renovate[bot] 9dc35e4397
chore(deps): pin dependency @types/node to 16.11.7 (#44173)
* chore(deps): pin dependency @types/node to 16.11.7

* chore: install @types/node in tools

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-11-15 15:26:55 +05:30
camperbot dceb27236e
chore(i18n,curriculum): processed translations (#44171) 2021-11-12 16:35:39 +01:00
camperbot 85359ed00a
chore(i18n,curriculum): update translations (#44159) 2021-11-11 21:32:39 +05:30
Alessia Vanni 9cd5f5f00e
chore(curriculum): add instructions 07 (#44152)
* Update polygon-area-calculator.md

* Update probability-calculator.md

* Update time-calculator.md

* Apply suggestions from code review

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

* Apply suggestions from code review

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

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-11-10 23:02:33 +01:00
camperbot 385ed3a695
chore(i18n,curriculum): update translations (#44154) 2021-11-10 08:27:30 -08:00
renovate[bot] 6feeaa289b
fix(deps): update dependency @types/react-dom to v17.0.11 (#44107)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-10 20:17:39 +05:30
Alan Luo 419b3b3719
fix(curriculum): Fix a typo in 10-coding-interview-prep/rosetta-code/subleq (#44133)
* Fix a typo

* Fix more new line issues
2021-11-09 12:52:37 -06:00
camperbot b0165ad25d
chore(i18n,curriculum): update translations (#44140) 2021-11-09 18:15:00 +00:00
Nicholas Carrigan (he/him) 229fa686ca
feat(curriculum): css ferris wheel (#43460)
* feat: initial infra

* feat: initial step breakdown

* feat: expand instructions

* feat: write tests!

* chore: apply shaun's review suggestions

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

* chore: more tweaks

* chore: ferris → Ferris

* chore: apply shaun's review suggestions

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

* fix: no lang

* chore: fix lint issues

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

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-11-09 18:03:21 +00:00
camperbot 4c88fcdc69
chore(i18n,curriculum): update translations (#44139) 2021-11-07 07:23:44 -08:00
camperbot 9385d7997b
chore(i18n,curriculum): update translations (#44138) 2021-11-06 08:56:52 -07:00
Alessia Vanni 19259d76d4
chore(curriculum): add instructions (#44125)
* Update budget-app.md

Branch to address the issue [ i18n: Python projects' instructions are not translatable #43836](https://github.com/freeCodeCamp/freeCodeCamp/issues/43836)

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* Apply suggestions from code review

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

Co-authored-by: Ilenia <nethleen@gmail.com>
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-11-05 19:12:38 +01:00
camperbot 3dc810ffb8
chore(i18n,curriculum): update translations (#44122) 2021-11-04 15:53:18 +01:00
Kolja Markwardt a961b2c032
fix(curriculum): use CSSHelper for grid-template-columns (#43982) 2021-11-04 09:24:18 +01:00