Skip to content

Commit a295715

Browse files
Merge pull request #723 from freeCodeCamp/main
Create a new pull request by comparing changes across two branches
2 parents ca90161 + d34a9c0 commit a295715

File tree

75 files changed

+302
-4153
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+302
-4153
lines changed

api/src/plugins/error-handling.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import { getRedirectParams } from '../utils/redirection';
1515
const errorHandling: FastifyPluginCallback = (fastify, _options, done) => {
1616
void fastify.register(fastifySentry, {
1717
dsn: SENTRY_DSN,
18+
maxValueLength: 8192, // the default is 250, which is too small.
1819
// No need to initialize if DSN is not provided (e.g. in development and
1920
// test environments)
2021
skipInit: !SENTRY_DSN,

client/config/cert-and-project-map.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -831,8 +831,8 @@ const allStandardCerts = [
831831
projects: [
832832
{
833833
id: '651dd3e06ffb500e3f2ce478',
834-
title: 'Challenge 1',
835-
link: `${a2EnglishBase}/learn-greetings-in-your-first-day-at-the-office/challenge-1`,
834+
title: 'A2 English for Developers Certification Exam',
835+
link: `${a2EnglishBase}/a2-english-for-developers-certification-exam/a2-english-for-developers-certification-exam`,
836836
certSlug: Certification.A2English
837837
}
838838
]

client/i18n/locales/english/intro.json

Lines changed: 8 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1572,6 +1572,12 @@
15721572
"intro": [
15731573
"This course will provide you with ways to explain things to other people while assisting them."
15741574
]
1575+
},
1576+
"a2-english-for-developers-certification-exam": {
1577+
"title": "A2 English for Developers Certification Exam",
1578+
"intro": [
1579+
"This exam is required to claim the A2 English for Developers Certification."
1580+
]
15751581
}
15761582
}
15771583
},
@@ -2301,9 +2307,9 @@
23012307
]
23022308
},
23032309
"review-css-animations": {
2304-
"title": "CSS Amimations Review",
2310+
"title": "CSS Animations Review",
23052311
"intro": [
2306-
"Review the CSS Amimations concepts to prepare for the upcoming quiz."
2312+
"Review the CSS Animations concepts to prepare for the upcoming quiz."
23072313
]
23082314
},
23092315
"quiz-css-animations": {
@@ -3193,62 +3199,12 @@
31933199
]
31943200
},
31953201
"qjov": { "title": "368", "intro": [] },
3196-
"workshop-npm-packages": {
3197-
"title": "Managing Packages with npm",
3198-
"intro": [
3199-
"npm (Node Package Manager), is a command line tool to install, create, and share packages of JavaScript code written for Node.js. There are many open source packages available on npm, so before starting a project, take some time to explore so you don't end up recreating the wheel for things like working with dates or fetching data from an API.",
3200-
"In this workshop, you'll learn the basics of using npm, including how to work with the <code>package.json</code> file and how to manage your installed dependencies."
3201-
]
3202-
},
32033202
"hjku": { "title": "370", "intro": [] },
3204-
"workshop-node-and-express": {
3205-
"title": "Basic Node and Express",
3206-
"intro": [
3207-
"Node.js is a JavaScript runtime that allows developers to write backend (server-side) programs in JavaScript. Node.js comes with a handful of built-in modules — small, independent programs — that help with this. Some of the core modules include HTTP, which acts like a server, and File System, a module to read and modify files.",
3208-
"In the last set of courses you learned to install and manage packages from npm, which are collections of smaller modules. These packages can help you build larger, more complex applications.",
3209-
"Express is a lightweight web application framework, and is one of the most popular packages on npm. Express makes it much easier to create a server and handle routing for your application, which handles things like directing people to the correct page when they visit a certain endpoint like <pre>/blog</pre>.",
3210-
"In this course, you'll learn the basics of Node and Express including how to create a server, serve different files, and handle different requests from the browser."
3211-
]
3212-
},
3213-
"lab-timestamp-microservice": {
3214-
"title": "Build a Timestamp Microservice",
3215-
"intro": ["In this lab you will build a timestamp microservice"]
3216-
},
3217-
"lab-request-header-parser-microservice": {
3218-
"title": "Build a Request Header Parser Microservice",
3219-
"intro": [
3220-
"In this lab, you will build a request header parser microservice"
3221-
]
3222-
},
3223-
"lab-url-shortener-microservice": {
3224-
"title": "Build a URL Shortener Microservice",
3225-
"intro": ["In this lab, you will build a URL Shortener Microservice"]
3226-
},
3227-
"lab-exercise-tracker": {
3228-
"title": "Build an Exercise Tracker",
3229-
"intro": ["In this lab, you will build an exercise tracker"]
3230-
},
3231-
"lab-file-metadata-microservice": {
3232-
"title": "Build a File Metadata Microservice",
3233-
"intro": ["For this lab you will build a file metadata microservice"]
3234-
},
32353203
"kegi": { "title": "377", "intro": [] },
3236-
"quiz-backend-javascript": {
3237-
"title": "Backend JavaScript Quiz",
3238-
"intro": [
3239-
"Test what you've learned in this quiz on Backend JavaScript."
3240-
]
3241-
},
32423204
"vnfu": { "title": "379", "intro": [] },
32433205
"rlli": { "title": "380", "intro": [] },
32443206
"rjpv": { "title": "381", "intro": [] },
32453207
"xbri": { "title": "382", "intro": [] },
3246-
"quiz-tooling-and-deployment": {
3247-
"title": "Tooling and Deployment Quiz",
3248-
"intro": [
3249-
"Test what you've learned in this quiz of tooling and deployment"
3250-
]
3251-
},
32523208
"nkjt": { "title": "384", "intro": [] },
32533209
"pgjj": { "title": "385", "intro": [] },
32543210
"exom": { "title": "386", "intro": [] },

client/src/components/search/redux/index.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,16 @@ export const reducer = handleActions(
3232
isSearchDropdownEnabled:
3333
typeof payload === 'boolean' ? payload : !state.isSearchDropdownEnabled
3434
}),
35-
[types.toggleSearchFocused]: (state, { payload }) => ({
35+
[types.toggleSearchFocused]: (state, { payload }) => {
36+
const focussed = state.isSearchBarFocused;
37+
return focussed === payload
38+
? state
39+
: { ...state, isSearchBarFocused: payload };
40+
},
41+
[types.updateSearchQuery]: (state, { payload }) => ({
3642
...state,
37-
isSearchBarFocused: payload
38-
}),
39-
[types.updateSearchQuery]: (state, { payload }) => {
40-
return {
41-
...state,
42-
query: payload
43-
};
44-
}
43+
query: payload
44+
})
4545
},
4646
initialState
4747
);
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: A2 English for Developers Certification Exam
3+
block: a2-english-for-developers-certification-exam
4+
superBlock: a2-english-for-developers
5+
---
6+
7+
## Introduction to A2 English for Developers Certification Exam
8+
9+
This is a stub.

client/src/pages/learn/full-stack-developer/lab-exercise-tracker/index.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

client/src/pages/learn/full-stack-developer/lab-file-metadata-microservice/index.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

client/src/pages/learn/full-stack-developer/lab-request-header-parser-microservice/index.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

client/src/pages/learn/full-stack-developer/lab-timestamp-microservice/index.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

client/src/pages/learn/full-stack-developer/lab-url-shortener-microservice/index.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)