Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The development sign-in page now explains that it is for local use and lets contributors choose a seeded admin, teacher, or student account. Selecting a role fills the editable email field; entering a different email clears the role selection. Teacher remains the default.
The layout uses freeCodeCamp's existing colors, typography, and form controls. Native radio buttons provide keyboard navigation, the role choices stack on phones, and the email field has its own label and help text. Native POST submission, callback handling, production gating, and the Auth0 redirect/retry flow are preserved. The README describes the new account picker.
Phone screenshots
Validation:
pnpm run lintpassed (existing repository warnings remain).pnpm test: 332 tests passed, including component coverage for role selection, custom emails, errors, callbacks, and Auth0 behavior.pnpm run buildpassed.Related to #640, section 4: redesign the development sign-in page. This PR addresses that item only.
Checklist:
main.pnpm run lintandpnpm testlocally.pnpm run develop.AI assistance was used for implementation and review; all checks listed above were run locally.