mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
chore(curriculum): remove beta label from superblock titles (#57546)
This commit is contained in:
@@ -98,7 +98,7 @@ const allStandardCerts = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: '658180220947283cdc0689ce',
|
id: '658180220947283cdc0689ce',
|
||||||
title: 'JavaScript Algorithms and Data Structures (Beta)',
|
title: 'JavaScript Algorithms and Data Structures',
|
||||||
certSlug: Certification.JsAlgoDataStructNew,
|
certSlug: Certification.JsAlgoDataStructNew,
|
||||||
projects: [
|
projects: [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -300,7 +300,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"javascript-algorithms-and-data-structures-v8": {
|
"javascript-algorithms-and-data-structures-v8": {
|
||||||
"title": "JavaScript Algorithms and Data Structures (Beta)",
|
"title": "JavaScript Algorithms and Data Structures",
|
||||||
"intro": [
|
"intro": [
|
||||||
"Developers use HTML and CSS to control the content and styling of a page. And they use JavaScript to make that page interactive.",
|
"Developers use HTML and CSS to control the content and styling of a page. And they use JavaScript to make that page interactive.",
|
||||||
"In this JavaScript Algorithm and Data Structures Certification, you'll learn the JavaScript fundamentals like variables, arrays, objects, loops, functions, the DOM and more.",
|
"In this JavaScript Algorithm and Data Structures Certification, you'll learn the JavaScript fundamentals like variables, arrays, objects, loops, functions, the DOM and more.",
|
||||||
@@ -772,9 +772,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"scientific-computing-with-python": {
|
"scientific-computing-with-python": {
|
||||||
"title": "Scientific Computing with Python (Beta)",
|
"title": "Scientific Computing with Python",
|
||||||
"intro": [
|
"intro": [
|
||||||
"The Scientific Computing with Python (Beta) curriculum will equip you with the skills to analyze and manipulate data using Python, a powerful and versatile programming language. You'll learn key concepts like data structures, algorithm, Object Oriented Programming, and how to perform complex calculations using a variety of tools.",
|
"The Scientific Computing with Python curriculum will equip you with the skills to analyze and manipulate data using Python, a powerful and versatile programming language. You'll learn key concepts like data structures, algorithm, Object Oriented Programming, and how to perform complex calculations using a variety of tools.",
|
||||||
"This comprehensive course will guide you through the fundamentals of scientific computing, including data structures, and algorithms."
|
"This comprehensive course will guide you through the fundamentals of scientific computing, including data structures, and algorithms."
|
||||||
],
|
],
|
||||||
"note": "",
|
"note": "",
|
||||||
@@ -1187,7 +1187,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"the-odin-project": {
|
"the-odin-project": {
|
||||||
"title": "The Odin Project - freeCodeCamp Remix (Beta)",
|
"title": "The Odin Project - freeCodeCamp Remix",
|
||||||
"intro": [
|
"intro": [
|
||||||
"The Odin Project was created in 2013 by a lone developer, Erik Trautman. Over the years, an open source community has sprung up to maintain and expand the project.",
|
"The Odin Project was created in 2013 by a lone developer, Erik Trautman. Over the years, an open source community has sprung up to maintain and expand the project.",
|
||||||
"freeCodeCamp has expanded upon the open source curriculum to make it run interactively in the browser, with tests to evaluate your code and ensure you've understood key concepts.",
|
"freeCodeCamp has expanded upon the open source curriculum to make it run interactively in the browser, with tests to evaluate your code and ensure you've understood key concepts.",
|
||||||
|
|||||||
@@ -1059,8 +1059,8 @@
|
|||||||
"responsive-web-design-cert": "Responsive Web Design Certification",
|
"responsive-web-design-cert": "Responsive Web Design Certification",
|
||||||
"javascript-algorithms-and-data-structures": "Legacy JavaScript Algorithms and Data Structures",
|
"javascript-algorithms-and-data-structures": "Legacy JavaScript Algorithms and Data Structures",
|
||||||
"javascript-algorithms-and-data-structures-cert": "Legacy JavaScript Algorithms and Data Structures Certification",
|
"javascript-algorithms-and-data-structures-cert": "Legacy JavaScript Algorithms and Data Structures Certification",
|
||||||
"javascript-algorithms-and-data-structures-v8": "JavaScript Algorithms and Data Structures (Beta)",
|
"javascript-algorithms-and-data-structures-v8": "JavaScript Algorithms and Data Structures",
|
||||||
"javascript-algorithms-and-data-structures-v8-cert": "JavaScript Algorithms and Data Structures (Beta) Certification",
|
"javascript-algorithms-and-data-structures-v8-cert": "JavaScript Algorithms and Data Structures Certification",
|
||||||
"front-end-development-libraries": "Front End Development Libraries",
|
"front-end-development-libraries": "Front End Development Libraries",
|
||||||
"front-end-development-libraries-cert": "Front End Development Libraries Certification",
|
"front-end-development-libraries-cert": "Front End Development Libraries Certification",
|
||||||
"data-visualization": "Data Visualization",
|
"data-visualization": "Data Visualization",
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
title: JavaScript Algorithms and Data Structures (Beta)
|
title: JavaScript Algorithms and Data Structures
|
||||||
superBlock: javascript-algorithms-and-data-structures-v8
|
superBlock: javascript-algorithms-and-data-structures-v8
|
||||||
certification: javascript-algorithms-and-data-structures
|
certification: javascript-algorithms-and-data-structures
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ certification: scientific-computing-with-python
|
|||||||
|
|
||||||
## Introduction to Scientific Computing with Python
|
## Introduction to Scientific Computing with Python
|
||||||
|
|
||||||
The Scientific Computing with Python (Beta) curriculum will equip you with the fundamentals of scientific computing, including data structures and algorithms to solidify your understanding of Python programming.
|
The Scientific Computing with Python curriculum will equip you with the fundamentals of scientific computing, including data structures and algorithms to solidify your understanding of Python programming.
|
||||||
|
|
||||||
Among the projects, you'll learn Python list comprehensions by building a case converter program, and master string manipulation by developing a cipher. The course also includes lessons on working with numbers and strings through implementing the Luhn algorithm and using lambda functions by creating an expense tracker.
|
Among the projects, you'll learn Python list comprehensions by building a case converter program, and master string manipulation by developing a cipher. The course also includes lessons on working with numbers and strings through implementing the Luhn algorithm and using lambda functions by creating an expense tracker.
|
||||||
The curriculum also covers algorithm design with the shortest path algorithm, recursion with the Tower of Hanoi puzzle, and data structures with the merge sort algorithm.
|
The curriculum also covers algorithm design with the shortest path algorithm, recursion with the Tower of Hanoi puzzle, and data structures with the merge sort algorithm.
|
||||||
|
|||||||
@@ -157,7 +157,7 @@ export const certificatesByNameSelector = username => state => {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
show: isJsAlgoDataStructCertV8,
|
show: isJsAlgoDataStructCertV8,
|
||||||
title: 'JavaScript Algorithms and Data Structures (Beta) Certification',
|
title: 'JavaScript Algorithms and Data Structures Certification',
|
||||||
certSlug: Certification.JsAlgoDataStructNew
|
certSlug: Certification.JsAlgoDataStructNew
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -18,10 +18,7 @@ export const ConditionalDonationAlert = ({
|
|||||||
}: SuperBlockIntroProps): JSX.Element => {
|
}: SuperBlockIntroProps): JSX.Element => {
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
|
|
||||||
const betaCertifications = [
|
const betaCertifications: SuperBlocks[] = [];
|
||||||
SuperBlocks.JsAlgoDataStructNew,
|
|
||||||
SuperBlocks.SciCompPy
|
|
||||||
];
|
|
||||||
|
|
||||||
const unfinishedCertifications = [
|
const unfinishedCertifications = [
|
||||||
SuperBlocks.A2English,
|
SuperBlocks.A2English,
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ enum SuperBlockI18nKeys {
|
|||||||
// the key above is used to create the last word for superBlock titles used on
|
// the key above is used to create the last word for superBlock titles used on
|
||||||
// the map and window. e.g. 'Certification' in Responsive Web Design
|
// the map and window. e.g. 'Certification' in Responsive Web Design
|
||||||
// Certification
|
// Certification
|
||||||
const superBlocksWithoutLastWord = [
|
export const superBlocksWithoutLastWord = [
|
||||||
SuperBlocks.RespWebDesign,
|
SuperBlocks.RespWebDesign,
|
||||||
SuperBlocks.CodingInterviewPrep,
|
SuperBlocks.CodingInterviewPrep,
|
||||||
SuperBlocks.TheOdinProject,
|
SuperBlocks.TheOdinProject,
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
id: 561abd10cb81ac38a17513bc
|
id: 561abd10cb81ac38a17513bc
|
||||||
title: JavaScript Algorithms and Data Structures Certification
|
title: Legacy JavaScript Algorithms and Data Structures Certification
|
||||||
certification: javascript-algorithms-and-data-structures
|
certification: javascript-algorithms-and-data-structures
|
||||||
challengeType: 7
|
challengeType: 7
|
||||||
isPrivate: true
|
isPrivate: true
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
id: 658180220947283cdc0689ce
|
id: 658180220947283cdc0689ce
|
||||||
title: JavaScript Algorithms and Data Structures (Beta) Certification
|
title: JavaScript Algorithms and Data Structures Certification
|
||||||
certification: javascript-algorithms-and-data-structures-v8
|
certification: javascript-algorithms-and-data-structures-v8
|
||||||
challengeType: 7
|
challengeType: 7
|
||||||
isPrivate: true
|
isPrivate: true
|
||||||
|
|||||||
+11
-8
@@ -3,6 +3,7 @@ import translations from '../client/i18n/locales/english/translations.json';
|
|||||||
import intro from '../client/i18n/locales/english/intro.json';
|
import intro from '../client/i18n/locales/english/intro.json';
|
||||||
|
|
||||||
import { SuperBlockStage, superBlockStages } from '../shared/config/curriculum';
|
import { SuperBlockStage, superBlockStages } from '../shared/config/curriculum';
|
||||||
|
import { superBlocksWithoutLastWord } from '../client/src/utils/superblock-map-titles';
|
||||||
|
|
||||||
test.beforeEach(async ({ page }) => {
|
test.beforeEach(async ({ page }) => {
|
||||||
await page.goto('/learn');
|
await page.goto('/learn');
|
||||||
@@ -18,10 +19,6 @@ const superBlocksWithLinks = [
|
|||||||
...superBlockStages[SuperBlockStage.Legacy]
|
...superBlockStages[SuperBlockStage.Legacy]
|
||||||
];
|
];
|
||||||
|
|
||||||
const superBlockTitleOverride: Record<string, string> = {
|
|
||||||
'Responsive Web Design': 'Responsive Web Design Certification'
|
|
||||||
};
|
|
||||||
|
|
||||||
test.describe('Map Component', () => {
|
test.describe('Map Component', () => {
|
||||||
test('should render correctly', async ({ page }) => {
|
test('should render correctly', async ({ page }) => {
|
||||||
await expect(
|
await expect(
|
||||||
@@ -37,11 +34,17 @@ test.describe('Map Component', () => {
|
|||||||
await expect(curriculumBtns).toHaveCount(superBlocksWithLinks.length);
|
await expect(curriculumBtns).toHaveCount(superBlocksWithLinks.length);
|
||||||
|
|
||||||
for (let i = 0; i < superBlocksWithLinks.length; i++) {
|
for (let i = 0; i < superBlocksWithLinks.length; i++) {
|
||||||
|
const addLastWord = !Object.values(superBlocksWithoutLastWord).includes(
|
||||||
|
superBlocksWithLinks[i]
|
||||||
|
);
|
||||||
|
|
||||||
|
const name = addLastWord
|
||||||
|
? `${intro[superBlocksWithLinks[i]].title} Certification`
|
||||||
|
: intro[superBlocksWithLinks[i]].title;
|
||||||
|
|
||||||
const superblockLink = page.getByRole('link', {
|
const superblockLink = page.getByRole('link', {
|
||||||
// This is a hacky bypass because `Responsive Web Design` hits both links.
|
exact: true,
|
||||||
name:
|
name
|
||||||
superBlockTitleOverride[intro[superBlocksWithLinks[i]].title] ??
|
|
||||||
intro[superBlocksWithLinks[i]].title
|
|
||||||
});
|
});
|
||||||
|
|
||||||
await expect(superblockLink).toBeVisible();
|
await expect(superblockLink).toBeVisible();
|
||||||
|
|||||||
+1
-1
@@ -8,7 +8,7 @@ const certs = [
|
|||||||
url: '/certification/certifieduser/responsive-web-design'
|
url: '/certification/certifieduser/responsive-web-design'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'JavaScript Algorithms and Data Structures (Beta)',
|
name: 'JavaScript Algorithms and Data Structures',
|
||||||
url: '/certification/certifieduser/javascript-algorithms-and-data-structures-v8'
|
url: '/certification/certifieduser/javascript-algorithms-and-data-structures-v8'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -246,8 +246,7 @@ export const certTypeTitleMap = {
|
|||||||
[certTypes.relationalDatabaseV8]: 'Relational Database',
|
[certTypes.relationalDatabaseV8]: 'Relational Database',
|
||||||
[certTypes.collegeAlgebraPyV8]: 'College Algebra with Python',
|
[certTypes.collegeAlgebraPyV8]: 'College Algebra with Python',
|
||||||
[certTypes.foundationalCSharpV8]: 'Foundational C# with Microsoft',
|
[certTypes.foundationalCSharpV8]: 'Foundational C# with Microsoft',
|
||||||
[certTypes.jsAlgoDataStructV8]:
|
[certTypes.jsAlgoDataStructV8]: 'JavaScript Algorithms and Data Structures'
|
||||||
'JavaScript Algorithms and Data Structures (Beta)'
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export const superBlockToCertMap: {
|
export const superBlockToCertMap: {
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ export const superBlockList = [
|
|||||||
path: '01-responsive-web-design'
|
path: '01-responsive-web-design'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'JavaScript Algorithms and Data Structures',
|
name: 'Legacy JavaScript Algorithms and Data Structures',
|
||||||
path: '02-javascript-algorithms-and-data-structures'
|
path: '02-javascript-algorithms-and-data-structures'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -52,7 +52,7 @@ export const superBlockList = [
|
|||||||
path: '14-responsive-web-design-22'
|
path: '14-responsive-web-design-22'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'JavaScript Algorithms and Data Structures (Beta)',
|
name: 'JavaScript Algorithms and Data Structures',
|
||||||
path: '15-javascript-algorithms-and-data-structures-22'
|
path: '15-javascript-algorithms-and-data-structures-22'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user