Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added reset password page #217

Merged
merged 6 commits into from
Feb 26, 2025
Merged

added reset password page #217

merged 6 commits into from
Feb 26, 2025

Conversation

Wan-Weng
Copy link
Collaborator

Copy link

vercel bot commented Feb 12, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
uf-sase-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 26, 2025 5:10am

Copy link
Collaborator

@T-Joseph-Kim T-Joseph-Kim left a comment

Choose a reason for hiding this comment

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

Hi Wan! Here are some small changes to make on ur PR:

  • I see some styling differences between ur component and the login/signup form (blue shadow color and sizing and spacing)
  • Email icon is off centered.
    Your forgot password component:
    image

Current Log in component:
image


const Password = () => {
const {
formState: { errors },
Copy link
Collaborator

Choose a reason for hiding this comment

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

You should add isSubmitting to the form / button so only clickable if not submitted

"hover:bg-saseBlueLight hover:text-white",
errors.email && "cursor-not-allowed opacity-50",
)}
disabled={!!errors.email}
Copy link
Collaborator

Choose a reason for hiding this comment

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

This can be set to isSubmitting

@T-Joseph-Kim
Copy link
Collaborator

Hi Wan! I know that u said u were busy this week but for creating your reset password page, you can call AuthForm.tsx like the login.tsx and signup.tsx so the styling can be applied in the same way (look at login.tsx and signup.tsx to see what I mean). This would require you to edit the AuthForm.tsx as well. Let me know with any questions.

@T-Joseph-Kim
Copy link
Collaborator

looks good to me, nice job Wan!

@T-Joseph-Kim T-Joseph-Kim merged commit 12ef157 into main Feb 26, 2025
6 checks passed
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.

3 participants