Skip to content

fix(client): adjust cert heading - #65552

Merged
ShaunSHamilton merged 3 commits into
freeCodeCamp:mainfrom
garyeung:enhance-cert
Feb 26, 2026
Merged

ShaunSHamilton merged 3 commits into
freeCodeCamp:mainfrom
garyeung:enhance-cert

Conversation

@garyeung

Copy link
Copy Markdown
Contributor

Checklist:

Closes #65368

@garyeung
garyeung requested review from a team as code owners January 29, 2026 03:01
@github-actions github-actions Bot added the platform: learn UI side of the client application that needs familiarity with React, Gatsby etc. label Jan 29, 2026
@huyenltnguyen
huyenltnguyen requested a review from Copilot January 29, 2026 12:00

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a bug where new v9 certification pages (like Python V9) were displaying an incorrect heading that mentioned "built the following projects" instead of the correct exam-based heading "passed the following exam".

Changes:

  • Updated the getCertHeading function to return the exam heading for all certifications in the currentCertifications array (A2English, B1English, FoundationalCSharp, JsV9, PythonV9, RelationalDbV9, RespWebDesignV9)
  • Added import for currentCertifications from the shared certification-settings module

@huyenltnguyen huyenltnguyen changed the title feat(client): adjust cert heading fix(client): adjust cert heading Jan 29, 2026
@huyenltnguyen huyenltnguyen added the status: waiting update Is awaiting update, after feedback or request for changes label Jan 29, 2026
@github-actions github-actions Bot added the scope: tools/scripts Scripts for supporting dev work, generating config and build artifacts, etc. label Jan 29, 2026
@raisedadead raisedadead added status: waiting review To be applied to PR's that are ready for QA, especially when additional review is pending. and removed status: waiting update Is awaiting update, after feedback or request for changes labels Jan 30, 2026

@ShaunSHamilton ShaunSHamilton left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for taking the time to contribute.

This LGTM 👍


One improvement I would make in a future PR is refactoring the test. As it stands, the e2e test is acting as a snapshot, but with worse behaviour. Either, this should be replaced with a snapshot test. Or, the certifications should be imported from certification-settings instead of hard-coded.

@ShaunSHamilton
ShaunSHamilton merged commit 0e8c6d5 into freeCodeCamp:main Feb 26, 2026
11 checks passed
LGH831 pushed a commit to LGH831/freeCodeCamp that referenced this pull request Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

platform: learn UI side of the client application that needs familiarity with React, Gatsby etc. scope: tools/scripts Scripts for supporting dev work, generating config and build artifacts, etc. status: waiting review To be applied to PR's that are ready for QA, especially when additional review is pending.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Certificate Page - no project links

5 participants