Skip to content

fix: require certification before creating class - #611

Open
TsaH0 wants to merge 1 commit into
freeCodeCamp:mainfrom
TsaH0:fix/require-certification-for-class
Open

fix: require certification before creating class#611
TsaH0 wants to merge 1 commit into
freeCodeCamp:mainfrom
TsaH0:fix/require-certification-for-class

Conversation

@TsaH0

@TsaH0 TsaH0 commented Aug 8, 2026

Copy link
Copy Markdown

Summary

  • disable the Create button until a certification is selected
  • show guidance explaining that a certification is required
  • add a regression test for the disabled state

Testing

  • npm test -- --runInBand
  • npm run lint:code
  • npx prettier --check components/modal.js __tests__/components/modal.test.jsx

Closes #551

@TsaH0
TsaH0 requested a review from a team as a code owner August 8, 2026 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Classrooms can be created with no certifications

1 participant