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>
This commit is contained in:
Tom
2021-12-15 07:52:44 -06:00
committed by GitHub
parent 62071589d3
commit 580a51f7a7
25 changed files with 60 additions and 52 deletions

View File

@@ -2,6 +2,7 @@
"name": "Basic JavaScript RPG Game",
"isUpcomingChange": true,
"usesMultifileEditor": true,
"hasEditableBoundaries": true,
"dashedName": "basic-javascript-rpg-game",
"order": 10,
"time": "2 hours",

View File

@@ -2,6 +2,7 @@
"name": "D3 Dashboard",
"isUpcomingChange": true,
"usesMultifileEditor": true,
"hasEditableBoundaries": true,
"dashedName": "d3-dashboard",
"order": 3,
"time": "5 hours",

View File

@@ -2,6 +2,7 @@
"name": "Functional Programming Spreadsheet",
"isUpcomingChange": true,
"usesMultifileEditor": true,
"hasEditableBoundaries": true,
"dashedName": "functional-programming-spreadsheet",
"order": 12,
"time": "2 hours",

View File

@@ -2,6 +2,7 @@
"name": "Intermediate JavaScript Calorie Counter",
"isUpcomingChange": true,
"usesMultifileEditor": true,
"hasEditableBoundaries": true,
"dashedName": "intermediate-javascript-calorie-counter",
"order": 11,
"time": "2 hours",

View File

@@ -2,6 +2,7 @@
"name": "Learn Accessibility by Building a Quiz",
"isUpcomingChange": true,
"usesMultifileEditor": true,
"hasEditableBoundaries": true,
"dashedName": "learn-accessibility-by-building-a-quiz",
"order": 42,
"time": "5 hours",

View File

@@ -2,6 +2,7 @@
"name": "Learn Basic CSS by Building a Cafe Menu",
"isUpcomingChange": true,
"usesMultifileEditor": true,
"hasEditableBoundaries": true,
"dashedName": "learn-basic-css-by-building-a-cafe-menu",
"order": 10,
"time": "5 hours",

View File

@@ -2,6 +2,7 @@
"name": "Learn CSS Animation by Building a Ferris Wheel",
"isUpcomingChange": true,
"usesMultifileEditor": true,
"hasEditableBoundaries": true,
"dashedName": "learn-css-animation-by-building-a-ferris-wheel",
"order": 15,
"time": "5 hours",

View File

@@ -2,6 +2,7 @@
"name": "Learn CSS Flexbox by Building a Photo Gallery",
"isUpcomingChange": true,
"usesMultifileEditor": true,
"hasEditableBoundaries": true,
"dashedName": "learn-css-flexbox-by-building-a-photo-gallery",
"order": 20,
"time": "5 hours",

View File

@@ -2,6 +2,7 @@
"name": "Learn CSS Grid by Building a Magazine",
"isUpcomingChange": true,
"usesMultifileEditor": true,
"hasEditableBoundaries": true,
"dashedName": "learn-css-grid-by-building-a-magazine",
"order": 16,
"time": "5 hours",

View File

@@ -2,6 +2,7 @@
"name": "Learn CSS Variables by Building a City Skyline",
"isUpcomingChange": true,
"usesMultifileEditor": true,
"hasEditableBoundaries": true,
"dashedName": "learn-css-variables-by-building-a-city-skyline",
"order": 8,
"time": "5 hours",

View File

@@ -2,6 +2,7 @@
"name": "Learn HTML by Building a Cat Photo App",
"isUpcomingChange": true,
"usesMultifileEditor": true,
"hasEditableBoundaries": true,
"dashedName": "learn-html-by-building-a-cat-photo-app",
"order": 9,
"time": "5 hours",

View File

@@ -2,6 +2,7 @@
"name": "Learn HTML Forms by Building a Registration Form",
"isUpcomingChange": true,
"usesMultifileEditor": true,
"hasEditableBoundaries": true,
"dashedName": "learn-html-forms-by-building-a-registration-form",
"order": 23,
"time": "5 hours",

View File

@@ -2,6 +2,7 @@
"name": "Learn Intermediate CSS by Building a Picasso Painting",
"isUpcomingChange": true,
"usesMultifileEditor": true,
"hasEditableBoundaries": true,
"dashedName": "learn-intermediate-css-by-building-a-picasso-painting",
"order": 11,
"time": "5 hours",

View File

@@ -2,6 +2,7 @@
"name": "Learn Responsive Web Design by Building a Piano",
"isUpcomingChange": true,
"usesMultifileEditor": true,
"hasEditableBoundaries": true,
"dashedName": "learn-responsive-web-design-by-building-a-piano",
"order": 13,
"time": "5 hours",

View File

@@ -2,6 +2,7 @@
"name": "Learn the CSS Box Model by Building a Rothko Painting",
"isUpcomingChange": true,
"usesMultifileEditor": true,
"hasEditableBoundaries": true,
"dashedName": "learn-the-css-box-model-by-building-a-rothko-painting",
"order": 12,
"time": "5 hours",

View File

@@ -2,6 +2,7 @@
"name": "Learn Typography by Building a Nutrition Label",
"isUpcomingChange": true,
"usesMultifileEditor": true,
"hasEditableBoundaries": true,
"dashedName": "learn-typography-by-building-a-nutrition-label",
"order": 25,
"time": "5 hours",

View File

@@ -296,6 +296,7 @@ ${getFullPath('english')}
);
const {
name: blockName,
hasEditableBoundaries,
order,
isPrivate,
required = [],
@@ -304,6 +305,7 @@ ${getFullPath('english')}
usesMultifileEditor
} = meta;
challenge.block = dasherize(blockName);
challenge.hasEditableBoundaries = !!hasEditableBoundaries;
challenge.order = order;
const superOrder = getSuperOrder(superBlock);
if (superOrder !== null) challenge.superOrder = superOrder;

View File

@@ -39,6 +39,7 @@ const schema = Joi.object()
}),
challengeFiles: Joi.array().items(fileJoi),
guideUrl: Joi.string().uri({ scheme: 'https' }),
hasEditableBoundaries: Joi.boolean(),
helpCategory: Joi.valid(
'JavaScript',
'HTML-CSS',