Commit Graph

3761 Commits (6848caf9f1513a7dbee21e1dd89f1c5243bda6c5)

Author SHA1 Message Date
Renovate Bot 0898c15255 fix(deps): update dependency react-i18next to v11.15.4 2022-02-08 13:04:55 +00:00
Bruce B 7d817cb237
fix(a11y): add title attribute to iframes (#45014)
* fix:add title attribute to iframes
2022-02-08 11:22:54 +01:00
Renovate Bot 37c41cdcf7 chore(deps): update dependency ts-node to v10.5.0 2022-02-07 19:06:10 +00:00
camperbot 6d659c9d90
chore(i18n,client): processed translations (#45025) 2022-02-05 08:59:51 -08:00
Renovate Bot 018f73e518 fix(deps): update dependency sanitize-html to v2.7.0 2022-02-04 18:59:16 +00:00
Renovate Bot 1d76032484 fix(deps): update dependency @babel/standalone to v7.17.1 2022-02-03 21:56:49 +00:00
Renovate Bot a3732facc3 chore(deps): update dependency @testing-library/jest-dom to v5.16.2 2022-02-03 05:35:38 +00:00
Renovate Bot bb36d04b37 chore(deps): update babel monorepo to v7.17.0 2022-02-03 03:08:35 +00:00
Renovate Bot e3184acd2a fix(deps): update dependency babel-plugin-preval to v5.1.0 2022-02-03 00:33:54 +00:00
Renovate Bot efaa3b497b chore(deps): update codesee to v0.177.1 2022-02-02 22:12:54 +00:00
Ahmad Abdolsaheb 3cee5509e6
chore(client): add view_type meta to analytics (#44999) 2022-02-02 17:34:24 +01:00
Ismail Tlemcani 09d30d2d14
fix(client): console output for sets and maps (#44966)
Co-authored-by: IsmailTlemcani <ismail.tlemcani@gmail.com>
2022-02-02 11:53:49 +00:00
Renovate Bot 634a39eebf fix(deps): update dependency react-instantsearch-dom to v6.22.0 2022-02-02 11:42:37 +00:00
Renovate Bot a84f578a82 chore(deps): update codesee to v0.177.0 2022-02-02 03:11:19 +00:00
Renovate Bot 343258bdd9 chore(deps): update dependency postcss to v8.4.6 2022-02-01 18:29:07 +00:00
Oliver Eyton-Williams c541baf179
fix(client): update invalid stored code (#44437)
* fix: repair invalid stored code
2022-02-01 10:09:08 -06:00
Renovate Bot ca6efe041a chore(deps): update dependency webpack to v5.68.0 2022-01-31 19:12:23 +00:00
Renovate Bot b2caef3d18 fix(deps): update dependency react-final-form to v6.5.8 2022-01-31 15:26:49 +00:00
sidemt 42384803ed
fix(learn, i18n): fix help tags to create help post in Japanese subforum (#44959) 2022-01-31 09:52:26 +00:00
Renovate Bot c998eee75c chore(deps): update codesee to v0.176.1 2022-01-28 23:36:36 +00:00
camperbot a176000798
chore(i18n,client): processed translations (#44952) 2022-01-28 10:38:49 -08:00
Renovate Bot 52a3f79284 fix(deps): update dependency algoliasearch to v4.12.1 2022-01-28 17:11:34 +00:00
Sem Bauke 7ab1e98a7f
fix(editor): remove reference tool-tips (#44949)
* fix(editor): remove MDN refrence tooltips

* fix: init in constructor
2022-01-28 15:11:05 +00:00
Renovate Bot 7df61af92a chore(deps): update codesee to v0.176.0 2022-01-28 13:06:54 +00:00
Oliver Eyton-Williams fff1d833b9
fix: prevent scroll jumping on /settings (#44937) 2022-01-28 09:02:07 +01:00
sidemt 47d27412fa
feat(learn, i18n): enable japanese certifications (#44869)
* feat(learn, i18n): enable japanese certifications

* feat(learn, i18n): update links for japanese pages

* Revert "feat(learn, i18n): update links for japanese pages"

This reverts commit 8e16f4dd22.

* feat(learn, i18n): update links for japanese pages

* feat(learn, i18n): update algoliaIndices for japanese

* feat(learn, i18n): update meta tags for japanese
2022-01-27 09:57:33 -08:00
camperbot 4b9c3dd0dd
chore(i18n,client): processed translations (#44935) 2022-01-27 19:00:07 +05:30
Renovate Bot fd777f5145 chore(deps): update codesee to v0.175.0 2022-01-27 04:01:45 +00:00
Renovate Bot 6da8d634cc chore(deps): update codesee to v0.174.0 2022-01-27 01:51:35 +00:00
Renovate Bot 232624c658 chore(deps): update dependency chai to v4.3.6 2022-01-26 17:35:46 +00:00
Renovate Bot fedf4d1bbb fix(deps): update dependency react-instantsearch-dom to v6.21.1 2022-01-26 15:14:50 +00:00
Renovate Bot 122cebdd97 chore(deps): update codesee to v0.172.0 2022-01-26 11:17:18 +00:00
Renovate Bot 879e73881b chore(deps): update dependency chai to v4.3.5 2022-01-26 08:11:39 +00:00
Krzysztof G 6db9bbbd6e
fix: include labels in editor tabs buttons (#44918) 2022-01-25 13:57:17 -08:00
Oliver Eyton-Williams f63a650c01
fix: show-cert... Cypress tests (#44911)
* fix: scroll to certification section

* test: refactor and update show-cert

Pulls out the flaky code from the before hook (where a single failure
kills the suite) into the test.  Also, the visit to settings to view the
certification only needed to happen once.
2022-01-25 14:23:01 -06:00
Renovate Bot 1a5b3c0ebb chore(deps): pin dependencies 2022-01-25 12:16:01 +00:00
Oliver Eyton-Williams 7216ca55cc
refactor: organise TypeScript config and migrate helpers (#44747)
* feat: allow more 1000 steps to be created at once

* refactor: start migrating to typescript

* refactor: delete-step to ts

* refactor: migrated some helpers

* refactor: migrate create-empty-steps

* refactor: migrate create-step-between

* refactor: finish migrating to TS

* refactor: migrate tests

* fix: ensure mock.restore is done after each test

* fix: prevent double-tscing

* fix: repair the tests

* chore: use ts-node for scripts

We don't need the performance boost of incremental compilation and
ts-node is easier to work with

* refactor: consolidate tsconfigs

* refactor: replace gulp

* fix: use ts-node for build-curriculum

* fix: allow ts compilation of config

* feat: create and use create:config script

* fix: add /config to eslint projects

* fix: remove gulp script
2022-01-25 11:34:16 +01:00
renovate[bot] 82ca6d8441
fix(deps): update dependency nanoid to v3.2.0 (#44899)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-25 10:41:39 +01:00
renovate[bot] 4f049bf407
fix(deps): update dependency react-instantsearch-dom to v6.21.0 (#44887)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-25 12:22:56 +05:30
Renovate Bot dd0a073356 chore(deps): update dependency webpack-cli to v4.9.2 2022-01-25 04:18:09 +00:00
Oliver Eyton-Williams cacc4eacd7
fix: handle the sorting of transformed files (#44724)
* fix: handle the sorting of transformed files

We can't use the ext property, since that is transformed, but the
history is maintained.

* test: make solutions polyVinyls for sorting

* refactor: inline prepareChallenge

* refactor: make solutions polys in getChallenges

* fix: convert each solution to a poly

* fix: skip empty solutions

* fix: get challenge file history in client

* refactor: stop calling isPoly from the client

* fix: remove debug console.log

* refactor: remove unnecessary sorting step
2022-01-24 10:42:27 -08:00
Oliver Eyton-Williams b1fb6adc39
fix: insert user html more consistently (#42195)
* fix: use an iframe to preserve head and body

* fix: remove unnecessary parsing of html

The contents gets inserted into the DOM during transformHtml, which
is always part of the build pipeline

* fix: pipe contents through iframe

* refactor: use the same code for both transforms

* fix: try to handle test errors better

Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2022-01-24 18:02:25 +00:00
Bruce B 76529a17ba
feat(client): JAWS 2022 bugfix for monaco editor (#44784)
* feat: JAWS 2021 bugfix for monaco editor

* update menu label and toggle announcement

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

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

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

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

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

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

* clarify visibility hack for live region

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

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

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2022-01-24 17:45:01 +00:00
renovate[bot] e61668833a
chore(deps): update dependency nanoid to v3.1.31 [security] (#44873)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-24 22:14:14 +05:30
Renovate Bot 5e60c14a4d chore(deps): update babel monorepo to v7.16.12 2022-01-22 20:52:45 +00:00
camperbot 9cf0a935aa
chore(i18n,client): processed translations (#44876) 2022-01-23 00:01:07 +09:00
Renovate Bot 8715578440 chore(deps): update codesee to v0.169.0 2022-01-22 02:43:35 +00:00
Renovate Bot 4f03e9f8c8 chore(deps): update dependency webpack to v5.67.0 2022-01-21 21:19:32 +00:00
camperbot b2b5a1967a
chore(i18n,client): processed translations (#44865) 2022-01-22 00:54:58 +09:00
Renovate Bot 188ea02fe1 fix(deps): update dependency typescript to v4.5.5 2022-01-21 02:54:40 +00:00
Renovate Bot c223116c33 chore(deps): update codesee to v0.168.0 2022-01-21 00:14:53 +00:00
renovate[bot] 92517202bd
chore(deps): update babel monorepo (#44846)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-20 22:47:05 +05:30
camperbot c4033f63da
chore(i18n,client): processed translations (#44850) 2022-01-20 08:14:35 -08:00
Oliver Eyton-Williams f88473f994
fix(client): handle missing document in preview frame (#44833) 2022-01-20 13:22:25 +00:00
Oliver Eyton-Williams d091bd3b8f
fix: make sure a11y help widget is not obscured (#44822) 2022-01-20 10:06:22 +05:30
Renovate Bot a895056997 chore(deps): update codesee to v0.167.0 2022-01-20 01:03:44 +00:00
camperbot 9a14bcbeb4
chore(i18n,client): processed translations (#44834) 2022-01-19 09:18:46 -08:00
Renovate Bot c301364278 chore(deps): update codesee to v0.166.0 2022-01-19 02:41:46 +00:00
Renovate Bot 050452c1c6 fix(deps): update dependency react-instantsearch-dom to v6.20.0 2022-01-19 00:46:15 +00:00
Bruce B 4577b392f8
fix: keyboard accessibility on curriculum map (#44786) 2022-01-19 00:19:05 +05:30
Shaun Hamilton 9cb87d0257
chore: remove verify-can-claim-cert logic (#44574)
* chore: remove verify-can-claim-cert logic

* remove extraneous

* remove console log before Nich wakes up

* add api route back with flash

* remove unnecessary logic in completion-epic

* change tests for new layout

* dynamically use api location

* rename file

* fix Cypress api location

* fix(test): anchor does not have disabled class

* fix(tests): change js test to claim from /settings

* chore: change status to 410 (gone)

* update testing again

* oliver is nitpicky

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

* make oliver happy

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-01-18 08:52:49 -06:00
Renovate Bot 41cde630b6 chore(deps): update dependency chokidar to v3.5.3 2022-01-18 13:49:28 +00:00
camperbot 319dda294a
chore(i18n,client): processed translations (#44792) 2022-01-15 11:55:17 -08:00
Renovate Bot 13aa7bd99d chore(deps): update codesee to v0.163.0 2022-01-14 20:23:04 +00:00
camperbot f733a49a24
chore(i18n,client): processed translations (#44776) 2022-01-14 09:41:57 -08:00
Mrugesh Mohapatra 685344ae45
refactor: apply fixed from codefactor (#3) (#44780)
Co-authored-by: codefactor-io <support@codefactor.io>

Co-authored-by: codefactor-io <support@codefactor.io>
2022-01-14 08:53:34 -08:00
Oliver Eyton-Williams a00788417a
fix(client): stop injecting extra comments into preview (#44723) 2022-01-13 13:25:55 -08:00
Ahmad Abdolsaheb e97920ae9c
feat: increate minimum challenge requirement AB test (#44764)
* feat: increate minimum challenge requirement AB test

* fix: adjust tests

Co-authored-by: ahmad abdolsaheb <home@mac-16.local>
2022-01-13 12:51:55 -08:00
camperbot 12efe5b398
chore(i18n,client): processed translations (#44763) 2022-01-12 06:40:31 -08:00
Ahmad Abdolsaheb 47e1d2b7df
feat: update footer January 22 (#44749)
* update footer jan22

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

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

Co-authored-by: ahmad abdolsaheb <home@mac-16.local>
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2022-01-12 06:21:48 -08:00
Renovate Bot dd91905a59 chore(deps): update dependency webpack to v5.66.0 2022-01-12 14:05:30 +00:00
Renovate Bot e3aad41cef chore(deps): update babel monorepo to v7.16.9 2022-01-12 02:13:59 +00:00
Renovate Bot a7ff54c1f6 chore(deps): update codesee to v0.162.0 2022-01-11 21:18:23 +00:00
camperbot e26e503efc
chore(i18n,client): processed translations (#44748) 2022-01-11 12:42:12 +00:00
Ahmad Abdolsaheb f30b45955e
chore(client): remove holiday donation banner (#44742)
Co-authored-by: ahmad abdolsaheb <home@mac-16.local>
2022-01-11 09:41:01 +00:00
Renovate Bot 057f8bdd21 chore(deps): update babel monorepo to v7.16.8 2022-01-11 02:37:34 +00:00
Oliver Eyton-Williams 2952f9399d
fix(client): keep challengeFile order on update (#44722)
* fix: keep challengeFile order on update

* refactor: name variable challengeFile, not file

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

* fix: prettify

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2022-01-10 14:02:30 -08:00
Tom 4e59659a00
fix(dx): make gatsby id static for hot reloading (#44542)
* fix: make gatsby id static for hot reloading

* fix: catch duplication of challenge.id

* fix: handle CertificateNodes

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-01-10 11:03:20 +02:00
Jacob O'Reilly 0009100f71
fix(client): show error messages instead of timeout (#43744)
* Fixed Error message update not displaying when timeout happens when there was an error in the code. Working on fixing the timeout it self.

* refactor: remove comment + log changes

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-01-08 07:25:38 -08:00
Oliver Eyton-Williams 01a03f2961
fix: prevent timeout errors (#44714) 2022-01-08 11:42:16 +05:30
Renovate Bot 8d22f86ef6 chore(deps): update dependency autoprefixer to v10.4.2 2022-01-07 22:09:11 +00:00
Renovate Bot c242c6495d fix(deps): update dependency algoliasearch to v4.12.0 2022-01-07 15:05:58 +00:00
Vinay e904d9c871
chore(client): typescript migrate _mocks_/challenge-nodes.js (#44439)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2022-01-07 16:33:44 +05:30
Oliver Eyton-Williams 87f5cff3cd
fix(client): get jquery from cdn (#44421)
* fix: ensures jquery exists for those challenges

For tests frame-runner.js imports jquery, but jquery challenges always
need it

* Revert "Revert "fix: only include frame-runner when running tests (#44337)" (#44419)"

This reverts commit c19bf504b8.
2022-01-07 10:42:27 +00:00
Renovate Bot 80e097e7a5 chore(deps): update codesee to v0.161.0 2022-01-07 02:47:32 +00:00
Renovate Bot e92b86c47b chore(deps): update dependency prismjs to v1.26.0 2022-01-07 00:37:45 +00:00
Tom b061a760c1
feat: add framework for rwd cert projects (#44505)
* feat: add rwd cert projects

feat: save projects with flag

revert: not needed things

revert: empty line

revert: empty line

fix: it

fix: remove log

* fix: snapshot tests

* fix: show bread crumbs by default

* revert: snapshot fix

* Update curriculum/challenges/_meta/responsive-web-design-projects/meta.json

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

* fix: manuallyApproved -> isManuallyApproved

* fix: add review suggestions

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-01-06 13:26:54 +00:00
Nicholas Carrigan (he/him) ff09b2ee43
fix: lint error (#44695) 2022-01-06 11:42:14 +05:30
Oliver Eyton-Williams 60258d40c9
fix: order import (again) (#44670)
* refactor: reenable import ordering

* refactor: require alphabetic ordered imports
2022-01-05 16:05:50 -06:00
Renovate Bot 1e74017dc3 fix(deps): update dependency react-instantsearch-dom to v6.19.0 2022-01-05 13:37:54 +00:00
Renovate Bot 071295aa03 chore(deps): update codesee to v0.159.0 2022-01-05 09:33:20 +00:00
Renovate Bot 1bb0c46656 fix(deps): update dependency prop-types to v15.8.1 2022-01-05 05:06:58 +00:00
Aleksa Kis 34a76659c1
chore(client): ts-migrate Challenges/utils test (#44672)
* chore(challenges-utils): Change test util file extension

* chore(challenges-utils): typescript migration of Challenges util test
2022-01-04 16:59:50 +01:00
renovate[bot] 51c2969555
fix(deps): update dependency react-youtube to v7.14.0 (#44667)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-04 20:57:14 +05:30
Oliver Eyton-Williams e5e7f89f4b
refactor(client): remove redundant code (#44669) 2022-01-04 20:38:52 +05:30
Aleksa Kis cc86654048
chore(challenges-utils): Typescript migration of Challenges util (#44663) 2022-01-04 16:49:31 +05:30
Oliver Eyton-Williams a726dd381f
fix(client): prevent data url render (#44658)
* fix: only render profile urls

* feat: warn user when submitting data url

* fix: prevent dataurls being saved to db

* fix: tests and imports

Not sure why jest didn't like the es imports, but they aren't necessary
so I dropped them.

* fix: check for url protocol
2022-01-04 11:05:40 +05:30
Oliver Eyton-Williams 795316b1d4
fix(client): always render bottom jaw in correct position (#44657) 2022-01-03 17:27:58 +05:30
Renovate Bot 90795f6dd4 fix(deps): update dependency react-i18next to v11.15.3 2022-01-02 17:54:44 +00:00
Renovate Bot 5f14e43454 chore(deps): update babel monorepo to v7.16.7 2021-12-31 02:17:09 +00:00
Renovate Bot adc6d96e8b chore(deps): update codesee to v0.158.0 2021-12-29 21:21:12 +00:00
Renovate Bot c3b542b78d chore(deps): update dependency autoprefixer to v10.4.1 2021-12-29 19:24:59 +00:00
Renovate Bot 5d908130ae chore(deps): update codesee to v0.157.0 2021-12-28 22:12:13 +00:00
Renovate Bot a8c33e8fcd fix(deps): update dependency react-i18next to v11.15.2 2021-12-28 10:38:32 +00:00
camperbot 8a8b9b574b
chore(i18n,learn): update translations (#44585) 2021-12-28 12:38:11 +05:30
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
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
Renovate Bot b5dc0dbee9 chore(deps): update codesee to v0.156.0 2021-12-23 01:06:30 +00:00
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
camperbot 52dc01760e
chore(i18n,client): processed translations (#44552) 2021-12-22 19:19:02 +05:30
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
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
camperbot 9b806c4eec
chore(i18n,client): processed translations (#44538) 2021-12-21 21:08:22 +05:30
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
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
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
camperbot 3e9230724a
chore(i18n,learn): update translations (#44520) 2021-12-17 10:33:29 -03:00
Renovate Bot 4d1ceb3f74 fix(deps): update dependency react-instantsearch-dom to v6.18.0 2021-12-17 09:02:21 +00: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
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
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
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
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
Tom 5c4233a39a
remove: unused dispatches from multifile editor (#44493) 2021-12-14 10:18:37 -08:00
Oliver Eyton-Williams 3b560deab6
refactor: stop spreading challenge over the node (#44499)
* refactor: stop spreading challenge over the node

Instead of creating a Gatsby node with id of challenge.id, we create a
single node field that has all the challenge data.

While this makes the GraphQL queries more verbose, it means we're free
to create multiple nodes with the same challenge.id.

* test: update time-line test for new GQL schema

* test: update mocks with new GQL schema
2021-12-14 12:11:20 -06:00
camperbot d4f490419f
chore(i18n,learn): update translations (#44497) 2021-12-14 14:43:29 +00:00
sidemt 34f19bd698
fix(i18n): include period in translatable string (#44474)
* fix: include period in translatable string

* chore: update snapshot

* fix: combine 2 strings into 1

* fix: add placeholder

* fix: update snapshot

Co-authored-by: Mrugesh Mohapatra <hi@mrugesh.dev>
2021-12-14 14:42:57 +00:00
Renovate Bot 73c1ca1b4a fix(deps): update dependency typescript to v4.5.4 2021-12-14 04:46:42 +00:00
Renovate Bot 5a1414e247 chore(deps): update babel monorepo to v7.16.5 2021-12-14 02:42:46 +00:00