feat: update help categories (#52621)

pull/52624/head
Naomi Carrigan 2023-12-19 14:00:25 -08:00 committed by GitHub
parent 08b01d1499
commit 5a5a05428b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
21 changed files with 36 additions and 21 deletions

View File

@ -30,6 +30,9 @@
"Python": "Python",
"Backend Development": "Backend Development",
"C-Sharp": "C-Sharp",
"English": "English"
"English": "English",
"Odin": "The Odin Project",
"Euler": "Project Euler",
"Rosetta": "Rosetta Code"
}
}

View File

@ -2,7 +2,7 @@
"name": "project euler problems 1 to 100",
"isUpcomingChange": false,
"dashedName": "project-euler-problems-1-to-100",
"helpCategory": "JavaScript",
"helpCategory": "Euler",
"order": 0,
"time": "",
"template": "",

View File

@ -2,7 +2,7 @@
"name": "project euler problems 101 to 200",
"isUpcomingChange": false,
"dashedName": "project-euler-problems-101-to-200",
"helpCategory": "JavaScript",
"helpCategory": "Euler",
"order": 1,
"time": "",
"template": "",

View File

@ -2,7 +2,7 @@
"name": "project euler problems 201 to 300",
"isUpcomingChange": false,
"dashedName": "project-euler-problems-201-to-300",
"helpCategory": "JavaScript",
"helpCategory": "Euler",
"order": 2,
"time": "",
"template": "",

View File

@ -2,7 +2,7 @@
"name": "project euler problems 301 to 400",
"isUpcomingChange": false,
"dashedName": "project-euler-problems-301-to-400",
"helpCategory": "JavaScript",
"helpCategory": "Euler",
"order": 3,
"time": "",
"template": "",

View File

@ -2,7 +2,7 @@
"name": "project euler problems 401 to 480",
"isUpcomingChange": false,
"dashedName": "project-euler-problems-401-to-480",
"helpCategory": "JavaScript",
"helpCategory": "Euler",
"order": 4,
"time": "",
"template": "",

View File

@ -2,7 +2,7 @@
"name": "Rosetta Code",
"isUpcomingChange": false,
"dashedName": "rosetta-code",
"helpCategory": "JavaScript",
"helpCategory": "Rosetta",
"order": 3,
"time": "",
"template": "",

View File

@ -2,7 +2,7 @@
"name": "TOP build a recipe project",
"isUpcomingChange": true,
"dashedName": "top-build-a-recipe-project",
"helpCategory": "HTML-CSS",
"helpCategory": "Odin",
"order": 3,
"time": "",
"template": "",

View File

@ -2,7 +2,7 @@
"name": "TOP Introudction to Flexbox",
"isUpcomingChange": true,
"dashedName": "top-introduction-to-flexbox",
"helpCategory": "HTML-CSS",
"helpCategory": "Odin",
"order": 9,
"time": "",
"template": "",

View File

@ -2,7 +2,7 @@
"name": "TOP Learn Block and Inline",
"isUpcomingChange": true,
"dashedName": "top-learn-block-and-inline",
"helpCategory": "HTML-CSS",
"helpCategory": "Odin",
"order": 8,
"time": "",
"template": "",

View File

@ -2,7 +2,7 @@
"name": "TOP Learn CSS Foundations Projects",
"isUpcomingChange": true,
"dashedName": "top-learn-css-foundations-projects",
"helpCategory": "HTML-CSS",
"helpCategory": "Odin",
"order": 5,
"time": "",
"template": "",

View File

@ -2,7 +2,7 @@
"name": "TOP Learn CSS Foundations",
"isUpcomingChange": true,
"dashedName": "top-learn-css-foundations",
"helpCategory": "HTML-CSS",
"helpCategory": "Odin",
"order": 4,
"time": "",
"template": "",

View File

@ -2,7 +2,7 @@
"name": "TOP Learn CSS Specificity",
"dashedName": "top-learn-css-specificity",
"isUpcomingChange": true,
"helpCategory": "HTML-CSS",
"helpCategory": "Odin",
"order": 6,
"time": "",
"template": "",

View File

@ -2,7 +2,7 @@
"name": "TOP Learn HTML Foundations",
"isUpcomingChange": true,
"dashedName": "top-learn-html-foundations",
"helpCategory": "HTML-CSS",
"helpCategory": "Odin",
"order": 0,
"time": "",
"template": "",

View File

@ -2,7 +2,7 @@
"name": "TOP Links and Images",
"isUpcomingChange": true,
"dashedName": "top-links-and-images",
"helpCategory": "HTML-CSS",
"helpCategory": "Odin",
"order": 2,
"time": "",
"template": "",

View File

@ -2,7 +2,7 @@
"name": "TOP Learn Box Model",
"isUpcomingChange": true,
"dashedName": "top-the-box-model",
"helpCategory": "HTML-CSS",
"helpCategory": "Odin",
"order": 7,
"time": "",
"template": "",

View File

@ -2,7 +2,7 @@
"name": "TOP Working with Text",
"isUpcomingChange": true,
"dashedName": "top-working-with-text",
"helpCategory": "HTML-CSS",
"helpCategory": "Odin",
"order": 1,
"time": "",
"template": "",

View File

@ -115,7 +115,10 @@ const schema = Joi.object()
'Python',
'Backend Development',
'C-Sharp',
'English'
'English',
'Odin',
'Euler',
'Rosetta'
),
videoUrl: Joi.string().allow(''),
fillInTheBlank: Joi.object().keys({

View File

@ -112,7 +112,10 @@ const schema = Joi.object()
'Python',
'Backend Development',
'C-Sharp',
'English'
'English',
'Odin',
'Euler',
'Rosetta'
),
videoUrl: Joi.string().allow(''),
fillInTheBlank: Joi.object().keys({

View File

@ -15,7 +15,10 @@ const helpCategories = [
'JavaScript',
'Backend Development',
'Python',
'English'
'English',
'Odin',
'Euler',
'Rosetta'
] as const;
type BlockInfo = {

View File

@ -15,7 +15,10 @@ const blockSchema = Joi.object({}).keys({
'Python',
'Backend Development',
'C-Sharp',
'English'
'English',
'Odin',
'Euler',
'Rosetta'
),
order: Joi.number(),
time: Joi.string().allow(''),