Skip to content

[Bug]: Add real-time password strength indicator and validation hints on login/signup#232

Open
Rojimijar1 wants to merge 1 commit into
chthonn:mainfrom
Rojimijar1:feature/password-validation-feedback
Open

[Bug]: Add real-time password strength indicator and validation hints on login/signup#232
Rojimijar1 wants to merge 1 commit into
chthonn:mainfrom
Rojimijar1:feature/password-validation-feedback

Conversation

@Rojimijar1

Copy link
Copy Markdown

Description

Adds a real-time password validation checklist on the signup page. As the user types their password, it shows live feedback on which requirements are met (length, uppercase letter, number, special character) along with a password strength indicator.

Changes

  • Added PasswordChecklist component in Register.jsx
  • Shows live checklist + strength bar when the password field has input
  • Falls back to the existing hint text when the field is empty

Related Issue

Fixes #191

Screenshots

Password_validation

Copilot AI review requested due to automatic review settings June 12, 2026 14:46
@vercel

vercel Bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

@Rojimijar1 is attempting to deploy a commit to the Sunil Kumar's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds an animated password strength/checklist UI to the registration form to guide users toward meeting password requirements.

Changes:

  • Introduced PasswordChecklist component with rule checks and a strength meter.
  • Replaced the static “Minimum 7 characters.” hint with an AnimatePresence-animated hint/checklist swap.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +508 to +520
<AnimatePresence mode="wait">
{user_values.password.length > 0 ? (
<PasswordChecklist password={user_values.password} />
) : (
<motion.p
key="hint"
className="mt-1 text-[11px]"
style={{ color: "rgba(255,255,255,0.3)" }}
>
Minimum 7 characters.
</motion.p>
)}
</AnimatePresence>
Comment on lines +199 to +208
<div className="grid grid-cols-2 gap-1">
{checks.map((c, idx) => (
<div
key={idx}
className="flex items-center gap-1.5 text-[10px]"
style={{ color: c.valid ? "#4ade80" : "rgba(255,255,255,0.4)" }}>
<span>{c.valid ? "✓" : "○"}</span>
<span>{c.label}</span>
</div>
))}
Comment on lines +201 to +207
<div
key={idx}
className="flex items-center gap-1.5 text-[10px]"
style={{ color: c.valid ? "#4ade80" : "rgba(255,255,255,0.4)" }}>
<span>{c.valid ? "✓" : "○"}</span>
<span>{c.label}</span>
</div>
@Rojimijar1 Rojimijar1 changed the title Add real-time password validation feedback on signup [Bug]: Add real-time password strength indicator and validation hints on login/signup Jun 13, 2026
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]: Add real-time password strength indicator and validation hints on login/signup

2 participants