feat: add show/hide password toggle to login page#5241
Merged
Conversation
- Add eye icon toggle button to password input field on login page - Uses existing faEye/faEyeSlash icons from FontAwesome - Follows existing pattern from PasswordSetupPage Fixes #5095 Co-Authored-By: Vlad Matsiiako <vm265@cornell.edu>
Contributor
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Collaborator
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
Contributor
Greptile SummaryAdded show/hide password toggle button to the login page password field. The implementation follows the pattern used in
Confidence Score: 4/5
Important Files Changed
|
frontend/src/pages/auth/LoginPage/components/InitialStep/InitialStep.tsx
Show resolved
Hide resolved
Co-Authored-By: Vlad Matsiiako <vm265@cornell.edu>
vmatsiiako
approved these changes
Jan 22, 2026
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.
Context
Adds a show/hide password toggle (eye icon) to the password input field on the Login page. This allows users to verify their password input before submitting, which helps prevent typos.
Fixes #5095
Note: The Signup page (UserInfoStep component) already has this functionality built into the
InputFieldcomponent it uses, which automatically shows the toggle when the label includes "Password".Screenshots
N/A - Unable to run the frontend locally, but the implementation follows the exact same pattern used in
PasswordSetupPage.tsx.Steps to verify the change
/login)Updates since last revision
aria-labelattribute to the toggle button for screen reader accessibility (addresses Greptile review feedback)Human review checklist
Type
Checklist
type(scope): short description(scope is optional, e.g.,fix: prevent crash on syncorfix(api): handle null response).Link to Devin run: https://app.devin.ai/sessions/52879d760ed54741beff622404de9e19
Requested by: Vlad Matsiiako (@vmatsiiako)