Skip to content

feat(auth): Enhance AuthModal with password confirmation and visibility#72

Open
Jonniie wants to merge 5 commits into
DhanushNehru:mainfrom
Jonniie:main
Open

feat(auth): Enhance AuthModal with password confirmation and visibility#72
Jonniie wants to merge 5 commits into
DhanushNehru:mainfrom
Jonniie:main

Conversation

@Jonniie

@Jonniie Jonniie commented Oct 11, 2025

Copy link
Copy Markdown

closes #70

@vercel

vercel Bot commented Oct 11, 2025

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the Dhanush Nehru's projects Team on Vercel.

A member of the Team first needs to authorize it.

@Jonniie

Jonniie commented Oct 15, 2025

Copy link
Copy Markdown
Author

@DhanushNehru Kindly review this as well, thanks

@vercel

vercel Bot commented Oct 17, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
scratchpad-scribe Ready Ready Preview Comment Oct 23, 2025 2:31pm

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 enhances the authentication modal by adding password confirmation for signup and visibility toggles for both password fields. The changes improve user experience by allowing users to verify their password entries and toggle visibility when needed.

Key changes:

  • Added password confirmation field for signup flow with validation
  • Implemented password visibility toggles using Eye/EyeOff icons for both password fields
  • Fixed formatting and removed duplicate closing div tags

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread src/components/ui/AuthModal.tsx
Comment thread src/components/ui/AuthModal.tsx
@Jonniie

Jonniie commented Oct 17, 2025

Copy link
Copy Markdown
Author

@DhanushNehru All reviewed, kindly merge

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

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment on lines +151 to +158
<button
type="button"
onClick={() => setShowPassword(!showPassword)}
className="absolute right-3 top-1/2 transform -translate-y-1/2 text-gray-400 hover:text-gray-600 dark:text-gray-300 dark:hover:text-gray-100"
aria-label={showPassword ? "Hide password" : "Show password"}
>
{showPassword ? <EyeOff size={16} /> : <Eye size={16} />}
</button>

Copilot AI Oct 19, 2025

Copy link

Choose a reason for hiding this comment

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

The password visibility toggle button lacks keyboard focus styling. Add focus-visible styles to ensure keyboard users can see which element is focused, for example: 'focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-orange-500'.

Copilot uses AI. Check for mistakes.
Comment on lines +171 to +178
<button
type="button"
onClick={() => setShowConfirmPassword(!showConfirmPassword)}
className="absolute right-3 top-1/2 transform -translate-y-1/2 text-gray-400 hover:text-gray-600 dark:text-gray-300 dark:hover:text-gray-100"
aria-label={showConfirmPassword ? "Hide confirm password" : "Show confirm password"}
>
{showConfirmPassword ? <EyeOff size={16} /> : <Eye size={16} />}
</button>

Copilot AI Oct 19, 2025

Copy link

Choose a reason for hiding this comment

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

The confirm password visibility toggle button lacks keyboard focus styling. Add focus-visible styles to ensure keyboard users can see which element is focused, for example: 'focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-orange-500'.

Copilot uses AI. Check for mistakes.

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

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread src/components/ui/AuthModal.tsx Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@DhanushNehru DhanushNehru requested a review from Copilot October 22, 2025 17:01
@DhanushNehru

Copy link
Copy Markdown
Owner

Resolve merge conflicts @Jonniie

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

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@Jonniie

Jonniie commented Oct 22, 2025

Copy link
Copy Markdown
Author

@DhanushNehru conflict resolved

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

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UI Enhancement - Add a view (eye) button for password field

3 participants