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>
This commit is contained in:
Nicholas Carrigan (he/him)
2021-12-20 10:36:31 -08:00
committed by GitHub
parent 304773d62b
commit 8614db7a32
999 changed files with 767 additions and 113 deletions

View File

@@ -0,0 +1,14 @@
{
"name": "Build a Personal Portfolio Webpage Project",
"isUpcomingChange": false,
"order": 19,
"time": "30 hours",
"template": "",
"required": [],
"superBlock": "responsive-web-design",
"challengeOrder": [
[
"bd7158d8c242eddfaeb5bd13",
"Build a Personal Portfolio Webpage"
]
]}

View File

@@ -0,0 +1,14 @@
{
"name": "Build a Product Landing Page Project",
"isUpcomingChange": false,
"order": 16,
"time": "30 hours",
"template": "",
"required": [],
"superBlock": "responsive-web-design",
"challengeOrder": [
[
"587d78af367417b2b2512b04",
"Build a Product Landing Page"
]
]}

View File

@@ -0,0 +1,14 @@
{
"name": "Build a Survey Form Project",
"isUpcomingChange": false,
"order": 4,
"time": "30 hours",
"template": "",
"required": [],
"superBlock": "responsive-web-design",
"challengeOrder": [
[
"587d78af367417b2b2512b03",
"Build a Survey Form"
]
]}

View File

@@ -0,0 +1,14 @@
{
"name": "Build a Technical Documentation Page Project",
"isUpcomingChange": false,
"order": 13,
"time": "30 hours",
"template": "",
"required": [],
"superBlock": "responsive-web-design",
"challengeOrder": [
[
"587d78b0367417b2b2512b05",
"Build a Technical Documentation Page"
]
]}

View File

@@ -0,0 +1,14 @@
{
"name": "Build a Tribute Page Project",
"isUpcomingChange": false,
"order": 9,
"time": "30 hours",
"template": "",
"required": [],
"superBlock": "responsive-web-design",
"challengeOrder": [
[
"bd7158d8c442eddfaeb5bd18",
"Build a Tribute Page"
]
]}

View File

@@ -1,15 +1,14 @@
{
"name": "Learn Accessibility by Building a Quiz",
"isUpcomingChange": true,
"isUpcomingChange": false,
"usesMultifileEditor": true,
"hasEditableBoundaries": true,
"dashedName": "learn-accessibility-by-building-a-quiz",
"order": 42,
"order": 8,
"time": "5 hours",
"template": "",
"required": [],
"superBlock": "responsive-web-design",
"isBeta": true,
"challengeOrder": [
[
"614ccc21ea91ef1736b9b578",

View File

@@ -1,10 +1,10 @@
{
"name": "Learn Basic CSS by Building a Cafe Menu",
"isUpcomingChange": true,
"isUpcomingChange": false,
"usesMultifileEditor": true,
"hasEditableBoundaries": true,
"dashedName": "learn-basic-css-by-building-a-cafe-menu",
"order": 10,
"order": 1,
"time": "5 hours",
"template": "",
"required": [],

View File

@@ -1,15 +1,14 @@
{
"name": "Learn CSS Animation by Building a Ferris Wheel",
"isUpcomingChange": true,
"isUpcomingChange": false,
"usesMultifileEditor": true,
"hasEditableBoundaries": true,
"dashedName": "learn-css-animation-by-building-a-ferris-wheel",
"order": 15,
"order": 18,
"time": "5 hours",
"template": "",
"required": [],
"superBlock": "responsive-web-design",
"isBeta": true,
"challengeOrder": [
[
"6140c7e645d8e905819f1dd4",

View File

@@ -1,15 +1,14 @@
{
"name": "Learn CSS Flexbox by Building a Photo Gallery",
"isUpcomingChange": true,
"isUpcomingChange": false,
"usesMultifileEditor": true,
"hasEditableBoundaries": true,
"dashedName": "learn-css-flexbox-by-building-a-photo-gallery",
"order": 20,
"order": 6,
"time": "5 hours",
"template": "",
"required": [],
"superBlock": "responsive-web-design",
"isBeta": true,
"challengeOrder": [
[
"61537485c4f2a624f18d7794",

View File

@@ -1,15 +1,14 @@
{
"name": "Learn CSS Grid by Building a Magazine",
"isUpcomingChange": true,
"isUpcomingChange": false,
"usesMultifileEditor": true,
"hasEditableBoundaries": true,
"dashedName": "learn-css-grid-by-building-a-magazine",
"order": 16,
"order": 15,
"time": "5 hours",
"template": "",
"required": [],
"superBlock": "responsive-web-design",
"isBeta": true,
"challengeOrder": [
[
"61437d575fb98f57fa8f7f36",

View File

@@ -1,14 +1,14 @@
{
"name": "Learn CSS Transforms by Building a Penguin",
"isUpcomingChange": true,
"isUpcomingChange": false,
"usesMultifileEditor": true,
"hasEditableBoundaries": true,
"dashedName": "learn-css-transforms-by-building-a-penguin",
"order": 47,
"order": 17,
"time": "5 hours",
"template": "",
"required": [],
"superBlock": "responsive-web-design",
"isBeta": true,
"challengeOrder": [
[
"619665c9abd72906f3ad30f9",

View File

@@ -1,10 +1,10 @@
{
"name": "Learn CSS Variables by Building a City Skyline",
"isUpcomingChange": true,
"isUpcomingChange": false,
"usesMultifileEditor": true,
"hasEditableBoundaries": true,
"dashedName": "learn-css-variables-by-building-a-city-skyline",
"order": 8,
"order": 14,
"time": "5 hours",
"template": "",
"required": [],

View File

@@ -1,15 +1,14 @@
{
"name": "Learn HTML by Building a Cat Photo App",
"isUpcomingChange": true,
"isUpcomingChange": false,
"usesMultifileEditor": true,
"hasEditableBoundaries": true,
"dashedName": "learn-html-by-building-a-cat-photo-app",
"order": 9,
"order": 0,
"time": "5 hours",
"template": "",
"required": [],
"superBlock": "responsive-web-design",
"isBeta": true,
"challengeOrder": [
[
"5dc174fcf86c76b9248c6eb2",

View File

@@ -1,15 +1,14 @@
{
"name": "Learn HTML Forms by Building a Registration Form",
"isUpcomingChange": true,
"isUpcomingChange": false,
"usesMultifileEditor": true,
"hasEditableBoundaries": true,
"dashedName": "learn-html-forms-by-building-a-registration-form",
"order": 23,
"order": 3,
"time": "5 hours",
"template": "",
"required": [],
"superBlock": "responsive-web-design",
"isBeta": true,
"challengeOrder": [
[
"60eebd07ea685b0e777b5583",

View File

@@ -1,6 +1,6 @@
{
"name": "Learn Intermediate CSS by Building a Picasso Painting",
"isUpcomingChange": true,
"isUpcomingChange": false,
"usesMultifileEditor": true,
"hasEditableBoundaries": true,
"dashedName": "learn-intermediate-css-by-building-a-picasso-painting",
@@ -9,7 +9,6 @@
"template": "",
"required": [],
"superBlock": "responsive-web-design",
"isBeta": true,
"challengeOrder": [
[
"60b69a66b6ddb80858c51578",

View File

@@ -1,14 +1,14 @@
{
"name": "Learn More About CSS Pseudo Selectors By Building A Balance Sheet",
"isUpcomingChange": true,
"isUpcomingChange": false,
"usesMultifileEditor": true,
"hasEditableBoundaries": true,
"dashedName": "learn-more-about-css-pseudo-selectors-by-building-a-balance-sheet",
"order": 43,
"order": 10,
"time": "5 hours",
"template": "",
"required": [],
"superBlock": "responsive-web-design",
"isBeta": true,
"challengeOrder": [
[
"6193d8081ec2531581ea7b98",

View File

@@ -1,15 +1,14 @@
{
"name": "Learn Responsive Web Design by Building a Piano",
"isUpcomingChange": true,
"isUpcomingChange": false,
"usesMultifileEditor": true,
"hasEditableBoundaries": true,
"dashedName": "learn-responsive-web-design-by-building-a-piano",
"order": 13,
"order": 12,
"time": "5 hours",
"template": "",
"required": [],
"superBlock": "responsive-web-design",
"isBeta": true,
"challengeOrder": [
[
"612e6afc009b450a437940a1",

View File

@@ -1,15 +1,14 @@
{
"name": "Learn the CSS Box Model by Building a Rothko Painting",
"isUpcomingChange": true,
"isUpcomingChange": false,
"usesMultifileEditor": true,
"hasEditableBoundaries": true,
"dashedName": "learn-the-css-box-model-by-building-a-rothko-painting",
"order": 12,
"order": 5,
"time": "5 hours",
"template": "",
"required": [],
"superBlock": "responsive-web-design",
"isBeta": true,
"challengeOrder": [
[
"60a3e3396c7b40068ad6996a",

View File

@@ -1,15 +1,14 @@
{
"name": "Learn Typography by Building a Nutrition Label",
"isUpcomingChange": true,
"isUpcomingChange": false,
"usesMultifileEditor": true,
"hasEditableBoundaries": true,
"dashedName": "learn-typography-by-building-a-nutrition-label",
"order": 25,
"order": 7,
"time": "5 hours",
"template": "",
"required": [],
"superBlock": "responsive-web-design",
"isBeta": true,
"challengeOrder": [
[
"615f2abbe7d18d49a1e0e1c8",