mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-30 16:01:14 -04:00
chore(curriculum): remove beta label from superblock titles (#57546)
This commit is contained in:
@@ -98,7 +98,7 @@ const allStandardCerts = [
|
||||
},
|
||||
{
|
||||
id: '658180220947283cdc0689ce',
|
||||
title: 'JavaScript Algorithms and Data Structures (Beta)',
|
||||
title: 'JavaScript Algorithms and Data Structures',
|
||||
certSlug: Certification.JsAlgoDataStructNew,
|
||||
projects: [
|
||||
{
|
||||
|
||||
@@ -300,7 +300,7 @@
|
||||
}
|
||||
},
|
||||
"javascript-algorithms-and-data-structures-v8": {
|
||||
"title": "JavaScript Algorithms and Data Structures (Beta)",
|
||||
"title": "JavaScript Algorithms and Data Structures",
|
||||
"intro": [
|
||||
"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.",
|
||||
@@ -772,9 +772,9 @@
|
||||
}
|
||||
},
|
||||
"scientific-computing-with-python": {
|
||||
"title": "Scientific Computing with Python (Beta)",
|
||||
"title": "Scientific Computing with Python",
|
||||
"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."
|
||||
],
|
||||
"note": "",
|
||||
@@ -1187,7 +1187,7 @@
|
||||
}
|
||||
},
|
||||
"the-odin-project": {
|
||||
"title": "The Odin Project - freeCodeCamp Remix (Beta)",
|
||||
"title": "The Odin Project - freeCodeCamp Remix",
|
||||
"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.",
|
||||
"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",
|
||||
"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-v8": "JavaScript Algorithms and Data Structures (Beta)",
|
||||
"javascript-algorithms-and-data-structures-v8-cert": "JavaScript Algorithms and Data Structures (Beta) Certification",
|
||||
"javascript-algorithms-and-data-structures-v8": "JavaScript Algorithms and Data Structures",
|
||||
"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-cert": "Front End Development Libraries Certification",
|
||||
"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
|
||||
certification: javascript-algorithms-and-data-structures
|
||||
---
|
||||
|
||||
@@ -6,7 +6,7 @@ certification: 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.
|
||||
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,
|
||||
title: 'JavaScript Algorithms and Data Structures (Beta) Certification',
|
||||
title: 'JavaScript Algorithms and Data Structures Certification',
|
||||
certSlug: Certification.JsAlgoDataStructNew
|
||||
},
|
||||
{
|
||||
|
||||
@@ -18,10 +18,7 @@ export const ConditionalDonationAlert = ({
|
||||
}: SuperBlockIntroProps): JSX.Element => {
|
||||
const { t } = useTranslation();
|
||||
|
||||
const betaCertifications = [
|
||||
SuperBlocks.JsAlgoDataStructNew,
|
||||
SuperBlocks.SciCompPy
|
||||
];
|
||||
const betaCertifications: SuperBlocks[] = [];
|
||||
|
||||
const unfinishedCertifications = [
|
||||
SuperBlocks.A2English,
|
||||
|
||||
@@ -9,7 +9,7 @@ enum SuperBlockI18nKeys {
|
||||
// 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
|
||||
// Certification
|
||||
const superBlocksWithoutLastWord = [
|
||||
export const superBlocksWithoutLastWord = [
|
||||
SuperBlocks.RespWebDesign,
|
||||
SuperBlocks.CodingInterviewPrep,
|
||||
SuperBlocks.TheOdinProject,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
id: 561abd10cb81ac38a17513bc
|
||||
title: JavaScript Algorithms and Data Structures Certification
|
||||
title: Legacy JavaScript Algorithms and Data Structures Certification
|
||||
certification: javascript-algorithms-and-data-structures
|
||||
challengeType: 7
|
||||
isPrivate: true
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
id: 658180220947283cdc0689ce
|
||||
title: JavaScript Algorithms and Data Structures (Beta) Certification
|
||||
title: JavaScript Algorithms and Data Structures Certification
|
||||
certification: javascript-algorithms-and-data-structures-v8
|
||||
challengeType: 7
|
||||
isPrivate: true
|
||||
|
||||
@@ -3,6 +3,7 @@ import translations from '../client/i18n/locales/english/translations.json';
|
||||
import intro from '../client/i18n/locales/english/intro.json';
|
||||
|
||||
import { SuperBlockStage, superBlockStages } from '../shared/config/curriculum';
|
||||
import { superBlocksWithoutLastWord } from '../client/src/utils/superblock-map-titles';
|
||||
|
||||
test.beforeEach(async ({ page }) => {
|
||||
await page.goto('/learn');
|
||||
@@ -18,10 +19,6 @@ const superBlocksWithLinks = [
|
||||
...superBlockStages[SuperBlockStage.Legacy]
|
||||
];
|
||||
|
||||
const superBlockTitleOverride: Record<string, string> = {
|
||||
'Responsive Web Design': 'Responsive Web Design Certification'
|
||||
};
|
||||
|
||||
test.describe('Map Component', () => {
|
||||
test('should render correctly', async ({ page }) => {
|
||||
await expect(
|
||||
@@ -37,11 +34,17 @@ test.describe('Map Component', () => {
|
||||
await expect(curriculumBtns).toHaveCount(superBlocksWithLinks.length);
|
||||
|
||||
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', {
|
||||
// This is a hacky bypass because `Responsive Web Design` hits both links.
|
||||
name:
|
||||
superBlockTitleOverride[intro[superBlocksWithLinks[i]].title] ??
|
||||
intro[superBlocksWithLinks[i]].title
|
||||
exact: true,
|
||||
name
|
||||
});
|
||||
|
||||
await expect(superblockLink).toBeVisible();
|
||||
|
||||
@@ -8,7 +8,7 @@ const certs = [
|
||||
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'
|
||||
},
|
||||
{
|
||||
|
||||
@@ -246,8 +246,7 @@ export const certTypeTitleMap = {
|
||||
[certTypes.relationalDatabaseV8]: 'Relational Database',
|
||||
[certTypes.collegeAlgebraPyV8]: 'College Algebra with Python',
|
||||
[certTypes.foundationalCSharpV8]: 'Foundational C# with Microsoft',
|
||||
[certTypes.jsAlgoDataStructV8]:
|
||||
'JavaScript Algorithms and Data Structures (Beta)'
|
||||
[certTypes.jsAlgoDataStructV8]: 'JavaScript Algorithms and Data Structures'
|
||||
};
|
||||
|
||||
export const superBlockToCertMap: {
|
||||
|
||||
@@ -4,7 +4,7 @@ export const superBlockList = [
|
||||
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'
|
||||
},
|
||||
{
|
||||
@@ -52,7 +52,7 @@ export const superBlockList = [
|
||||
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'
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user